From: Ralph Ronnquist Date: Wed, 18 Sep 2024 10:03:55 +0000 (+1000) Subject: Moved all building into a $TARGET_ARCH directory tree. X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=c362a1eb2f6062c726ba103e3bfb691e6b69bf5e;p=rrq%2Fbespoke-installer.git Moved all building into a $TARGET_ARCH directory tree. --- 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/