aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.netboot.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-12-16 20:36:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-16 20:36:04 +0000
commit4ed79f37dbe5cd3d7b420058dae9f6bc0f6ebab0 (patch)
treed54b256b70c97e87b31c7b9250eafeef282ddad3 /scripts/mkimg.netboot.sh
parent34dd24095d3e29fc225d455bfa4634b945ab4055 (diff)
downloadaports-4ed79f37dbe5cd3d7b420058dae9f6bc0f6ebab0.tar.gz
aports-4ed79f37dbe5cd3d7b420058dae9f6bc0f6ebab0.tar.bz2
aports-4ed79f37dbe5cd3d7b420058dae9f6bc0f6ebab0.tar.xz
scripts/mkimg.netboot.sh: fix kernels for armhf
there are no linux-lts kernel for armhf
Diffstat (limited to 'scripts/mkimg.netboot.sh')
-rwxr-xr-xscripts/mkimg.netboot.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh
index 7fd065916b..d0ad723fd2 100755
--- a/scripts/mkimg.netboot.sh
+++ b/scripts/mkimg.netboot.sh
@@ -12,7 +12,10 @@ profile_netboot() {
"
arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline="nomodeset"
- kernel_flavors="lts"
+ case "$ARCH" in
+ armhf) kernel_flavors= ;;
+ *) kernel_flavors="lts";;
+ esac
modloop_sign=yes
apks=""
initfs_features="base network squashfs usb virtio"