Skip to content
Snippets Groups Projects
Commit 6a730b7c authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimg.netboot.sh: readability cleanup

Make code more readable. No functional changes
parent deee69fb
No related merge requests found
...@@ -15,19 +15,19 @@ profile_netboot() { ...@@ -15,19 +15,19 @@ profile_netboot() {
arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x" arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline="nomodeset" kernel_cmdline="nomodeset"
case "$ARCH" in 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";; *) kernel_flavors="lts";;
esac 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 modloop_sign=yes
apks="" apks=""
initfs_features="base network squashfs usb virtio"
output_format="netboot" output_format="netboot"
image_ext="tar.gz" 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
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment