genode-dev.install 455 B

12345678910111213141516171819202122
  1. post_install() {
  2. echo "Building Tool-Chain for Genode"
  3. temp=$(uname -m)
  4. if [[ $temp = "i686" || $temp = "x86_64" ]]; then
  5. key=x86
  6. elif [[ $temp = "armv7h" ]]; then
  7. key=arm
  8. else
  9. key=aarch64
  10. fi
  11. cd /usr/local/genode/genode-21.11
  12. ./tool/tool_chain $key SUDO=doas
  13. ./tool/create_builddir $temp
  14. }
  15. post_upgrade() {
  16. echo "Upgrading isn't recommended for now."
  17. echo "Please uninstall and install from scratch after backing up your work."
  18. }