aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.standard.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:25:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-21 10:27:12 +0000
commit9efc0e6aa6e6951d4aa7e04014e7228b8e79e88d (patch)
tree98cde035f1e3f1209efbd1a9bfb0e0b65a566447 /scripts/mkimg.standard.sh
parent2eddc6374bc943cca8156607fb99406e3af56619 (diff)
downloadaports-9efc0e6aa6e6951d4aa7e04014e7228b8e79e88d.tar.bz2
aports-9efc0e6aa6e6951d4aa7e04014e7228b8e79e88d.tar.xz
scripts/mkimg.standard.sh: use `case ... in`
Diffstat (limited to 'scripts/mkimg.standard.sh')
-rwxr-xr-xscripts/mkimg.standard.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/mkimg.standard.sh b/scripts/mkimg.standard.sh
index 1f3db81395..b65790365f 100755
--- a/scripts/mkimg.standard.sh
+++ b/scripts/mkimg.standard.sh
@@ -10,13 +10,16 @@ profile_standard() {
output_format="iso"
kernel_cmdline="nomodeset"
kernel_addons="xtables-addons"
- if [ "$ARCH" = "s390x" ]; then
+ case "$ARCH" in
+ s390x)
apks="$apks s390-tools"
initfs_features="$initfs_features dasd_mod qeth"
initfs_cmdline="modules=loop,squashfs,dasd_mod,qeth quiet"
- fi
- if [ "$ARCH" = "ppc64le" ]; then
+ ;;
+ ppc64le)
initfs_cmdline="modules=loop,squashfs,sd-mod,usb-storage,ibmvscsi quiet"
+ ;;
+ esac
fi
}