Nix flake of prebuilt Genode binaries
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

gen-list.sh 578B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # TODO: git clone shallow, fhs environment, make -f depot/whatever
  3. if [ -z "$1"]; then
  4. echo "the root of the genode directory must be passed as an argument"
  5. exit 1
  6. fi
  7. echo "/* DO NOT EDIT - this file generated by gen-list.sh */ ["
  8. cd $1
  9. find public/genodelabs/bin -name '*.tar.xz' -print \
  10. | sort \
  11. | awk --field-separator / '{print $5" "$6" "$0}' \
  12. | while read NAME VERSION LOCAL
  13. do
  14. TAR_PATH=`realpath $LOCAL`
  15. SHA256=`nix-prefetch-url file://$TAR_PATH`
  16. echo "{name=\"$NAME\";value={sha256=\"$SHA256\";version=\"${VERSION%%.tar.xz}\";};}"
  17. done
  18. echo ']'