1- # #
2- # # Plug-in for installing Hippo.
3- # #
4-
51DISTRO_NAME=" hippo"
62DISTRO_COMMENT=" A ubuntu 21.04 port with some tweaks xfce4"
73
8- # You can override a CPU architecture to let distribution
9- # be executed by QEMU (user-mode).
10- #
11- # You can specify the following values here:
12- #
13- # * aarch64: AArch64 (ARM64, 64bit ARM)
14- # * armv7l: ARM (32bit)
15- # * i686: x86 (32bit)
16- # * x86_64: x86 (64bit)
17- #
18- # Default value is set by proot-distro script and is equal
19- # to the CPU architecture of your device (uname -m).
20- # DISTRO_ARCH=$(uname -m)
21-
22- # Returns download URL and SHA-256 of file in this format:
23- # SHA-256|FILE-NAME
24- get_download_url () {
25- local rootfs
26- local sha256
27-
28- case " $DISTRO_ARCH " in
29- aarch64)
30- rootfs=" https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-arm64-v02-xfce4.tar.gz"
31- sha256=" 282a7498046ef0e4f0a57265725d739e67048bb2b64ba2f4441ca4ce1a67ea40"
32- ;;
33- # armv7l|armv8l)
34- # rootfs="https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-armhf-v02-xfce4.tar.gz"
35- # sha256="e797c8590644ffd968dc1727474b533f7bc32e22f69a5f91e519614315baf211"
36- # ;;
37- esac
38-
39- echo " ${sha256} |${rootfs} "
40- }
41-
42-
43- distro_setup () {
44- # Hint: $PWD is the distribution rootfs directory.
45- # echo "hello world" > ./etc/motd
46-
47- # Run command within proot'ed environment with
48- # run_proot_cmd function.
49- # Uncomment this to do system upgrade during installation.
50- # run_proot_cmd apt update
51- # run_proot_cmd apt upgrade -yq
52- :
53- }
4+ TARBALL_URL[' aarch64' ]=" https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-arm64-v02-xfce4.tar.gz"
5+ TARBALL_SHA256[' aarch64' ]=" 282a7498046ef0e4f0a57265725d739e67048bb2b64ba2f4441ca4ce1a67ea40"
6+ TARBALL_SHA256[' armhf' ]=" https://github.com/RandomCoderOrg/ubuntu-on-android/releases/download/v02-xfce4/hippo-armhf-v02-xfce4.tar.gz"
7+ TARBALL_SHA256[' armhf' ]=" e797c8590644ffd968dc1727474b533f7bc32e22f69a5f91e519614315baf211"
0 commit comments