aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.netboot.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-02-12 14:33:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-02-18 09:11:44 +0000
commit6a730b7c1b59db6b2a0a68e682bb426ca7fabd64 (patch)
tree517d9c442583a1d96406cadb341cde3bd279fe69 /scripts/mkimg.netboot.sh
parentdeee69fba9073d95c5cf32aafb7ec4a5bd4c2e1e (diff)
downloadaports-6a730b7c1b59db6b2a0a68e682bb426ca7fabd64.tar.gz
aports-6a730b7c1b59db6b2a0a68e682bb426ca7fabd64.tar.bz2
aports-6a730b7c1b59db6b2a0a68e682bb426ca7fabd64.tar.xz
scripts/mkimg.netboot.sh: readability cleanup
Make code more readable. No functional changes
Diffstat (limited to 'scripts/mkimg.netboot.sh')
-rwxr-xr-xscripts/mkimg.netboot.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh
index a95d283ce4..fbf795507c 100755
--- a/scripts/mkimg.netboot.sh
+++ b/scripts/mkimg.netboot.sh
@@ -15,19 +15,19 @@ profile_netboot() {
arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline="nomodeset"
case "$ARCH" in
- armhf) kernel_flavors= ;;
+ aarch64) kernel_flavors="lts rpi";;
+ armhf) kernel_flavors="rpi rpi2";;
+ armv7) kernel_flavors="lts rpi rpi2";;
+ x86_64) kernel_flavors="lts virt";;
*) kernel_flavors="lts";;
esac
+ case "$ARCH" in
+ s390x) initfs_features="base network squashfs usb dasd_mod qeth zfcp";;
+ *) initfs_features="base network squashfs usb virtio"
+ esac
modloop_sign=yes
apks=""
- initfs_features="base network squashfs usb virtio"
output_format="netboot"
image_ext="tar.gz"
- case "$ARCH" in
- x86_64) kernel_flavors="$kernel_flavors virt";;
- s390x) initfs_features="$initfs_features dasd_mod qeth zfcp";;
- aarch64) kernel_flavors="$kernel_flavors rpi";;
- armhf|armv7) kernel_flavors="$kernel_flavors rpi rpi2";;
- esac
}