commit: 0a85809819a3a67d678a56c0dc8fdc58e1d1f475
parent d434f1cf38a19ce91adaac11055ae762b6c00437
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 24 Aug 2024 02:22:49 +0200
common.sh: put linux-headers-*.apk behind EXCLUDE_EXTRAS
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/common.sh b/common.sh
@@ -2,7 +2,6 @@ APKS_main="
musl-1.2.5-r2.apk
musl-dev-1.2.5-r2.apk
musl-libintl-1.2.5-r2.apk
- linux-headers-6.6-r0.apk
"
APKS_testing="
tcc-0.9.27_git20240117-r0.apk
@@ -16,6 +15,11 @@ ALPINE_BRANCH="edge"
# Architectures which alpine supports for tcc (+musl of course)
ALPINE_ARCHES="x86 x86_64 aarch64 armhf armv7 riscv64"
+if ! test "${EXCLUDE_EXTRAS:+y}" = "y"; then
+ APKS_main="${APKS_main}
+linux-headers-6.6-r0.apk"
+fi
+
die() {
echo "[Error] die: ${*}"
exit 1