commit: 8cc2769f2a299cd355ce18556a3fdee1b8b6ef74
parent 6106ac6e60bd2dfe36550ab5ba301d156d0db6c6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 25 Dec 2024 19:36:07 +0100
append +extras to output name containing extras
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/make-initrd.sh b/make-initrd.sh
@@ -13,6 +13,8 @@ WORKDIR="$(realpath "$WORKDIR")"
name_base="bootstrap-initrd"
out_base="${WORKDIR}/${name_base}/${ALPINE_ARCH}"
+test -z "${EXCLUDE_EXTRAS}" && out_base="${out_base}+extras"
+
set -ex
./make-root.sh || die "Failed: make-root"
diff --git a/make-root.sh b/make-root.sh
@@ -65,6 +65,8 @@ WORKDIR="$(realpath "$WORKDIR")"
name_base="bootstrap-initrd"
out_base="${WORKDIR}/${name_base}/${ALPINE_ARCH}"
+test -z "${EXCLUDE_EXTRAS}" && out_base="${out_base}+extras"
+
gen_loksh_tcc_h() {
cd loksh-*/ || die
printf 'char *loksh_tcc_cmd[] = {'