From 4ed79f37dbe5cd3d7b420058dae9f6bc0f6ebab0 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 16 Dec 2019 20:36:04 +0000
Subject: [PATCH] scripts/mkimg.netboot.sh: fix kernels for armhf

there are no linux-lts kernel for armhf
---
 scripts/mkimg.netboot.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh
index 7fd065916b3a..d0ad723fd2a5 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"
-- 
GitLab