From c362a1eb2f6062c726ba103e3bfb691e6b69bf5e Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 18 Sep 2024 20:03:55 +1000 Subject: [PATCH] Moved all building into a $TARGET_ARCH directory tree. --- build-installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-installer.sh b/build-installer.sh index 8dcfa78..ae627bb 100755 --- a/build-installer.sh +++ b/build-installer.sh @@ -11,7 +11,7 @@ export http_proxy=http://10.10.10.100:3142 : ${TARGET_ARCH:=arm64} : ${SOURCE_SERVER:=http://deb.devuan.org/merged} : ${SECTIONS:="main non-free-firmware main/debian-installer"} -: ${BUILD:=build} +: ${BUILD:=$TARGET_ARCH/build} : ${SOURCES:=$BUILD/sources} : ${MEDIA:=$BUILD/media} : ${INITRD:=$BUILD/initrd} @@ -206,5 +206,5 @@ mv $INITRD/{bin,sbin}/archdetect ###################################################################### # Pack up $INITRD into a top-level initrd.gz, and copy out vmlinuz find $INITRD -not -name udebs -printf '%P\n' | \ - fakeroot cpio -o -H newc -D $INITRD | gzip > initrd.gz -cp $INITRD/boot/vmlinuz . + fakeroot cpio -o -H newc -D $INITRD | gzip > $TARGET_ARCH/initrd.gz +cp $INITRD/boot/vmlinuz $TARGET_ARCH/ -- 2.39.2