From f3593147622eab4605c9573f5a6a9c876c56a179 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 25 Aug 2023 17:18:02 +0000 Subject: txz: Copy static QEMU user binaries to rootfs for triggers. This tool is "deprecated" anyway, and we need usable media. --- adelie-build-txz | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adelie-build-txz b/adelie-build-txz index db9fccd..71b2d1b 100755 --- a/adelie-build-txz +++ b/adelie-build-txz @@ -141,11 +141,14 @@ install_pkgs() { mkdir -p rootfs-$ARCH/dev mknod rootfs-$ARCH/dev/urandom c 1 9 mkdir -p rootfs-$ARCH/usr/sbin + mkdir -p rootfs-$ARCH/root + cp -r bin rootfs-$ARCH/root/bin apk --arch $ARCH \ ${CACHE:+--cache-dir "${CACHE}"} \ -X "$URL/system/$EXTRA_MIRROR" \ -X "$URL/user/$EXTRA_MIRROR" \ -U --root rootfs-$ARCH --initdb add $PACKAGES $ARCH_PKGS + rm -fr rootfs-$ARCH/root/bin } make_structure() { -- cgit v1.2.3-70-g09d2