File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ # #
2+ # # Plug-in for installing Hippo.
3+ # #
4+
5+ DISTRO_NAME=" hippo"
6+ DISTRO_COMMENT=" [Testing] A ubuntu 21.04 port with some tweaks"
7+
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=" "
31+ sha256=" a35d4fb115da45f866d0b41544f99587eba979dad584bf9c9982f6242cc002ed"
32+ ;;
33+ esac
34+
35+ echo " ${sha256} |${rootfs} "
36+ }
37+
38+
39+ distro_setup () {
40+ # Hint: $PWD is the distribution rootfs directory.
41+ # echo "hello world" > ./etc/motd
42+
43+ # Run command within proot'ed environment with
44+ # run_proot_cmd function.
45+ # Uncomment this to do system upgrade during installation.
46+ # run_proot_cmd apt update
47+ # run_proot_cmd apt upgrade -yq
48+ :
49+ }
You can’t perform that action at this time.
0 commit comments