-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
## | ||
## Plug-in for installing Hippo. | ||
## | ||
|
||
DISTRO_NAME="hippo" | ||
DISTRO_COMMENT="[Testing] A ubuntu 21.04 port with some tweaks" | ||
|
||
# You can override a CPU architecture to let distribution | ||
# be executed by QEMU (user-mode). | ||
# | ||
# You can specify the following values here: | ||
# | ||
# * aarch64: AArch64 (ARM64, 64bit ARM) | ||
# * armv7l: ARM (32bit) | ||
# * i686: x86 (32bit) | ||
# * x86_64: x86 (64bit) | ||
# | ||
# Default value is set by proot-distro script and is equal | ||
# to the CPU architecture of your device (uname -m). | ||
#DISTRO_ARCH=$(uname -m) | ||
|
||
# Returns download URL and SHA-256 of file in this format: | ||
# SHA-256|FILE-NAME | ||
get_download_url() { | ||
local rootfs | ||
local sha256 | ||
|
||
case "$DISTRO_ARCH" in | ||
aarch64) | ||
rootfs="" | ||
sha256="a35d4fb115da45f866d0b41544f99587eba979dad584bf9c9982f6242cc002ed" | ||
;; | ||
esac | ||
|
||
echo "${sha256}|${rootfs}" | ||
} | ||
|
||
|
||
distro_setup() { | ||
# Hint: $PWD is the distribution rootfs directory. | ||
#echo "hello world" > ./etc/motd | ||
|
||
# Run command within proot'ed environment with | ||
# run_proot_cmd function. | ||
# Uncomment this to do system upgrade during installation. | ||
#run_proot_cmd apt update | ||
#run_proot_cmd apt upgrade -yq | ||
: | ||
} |