diff options
author | Zach van Rijn <me@zv.io> | 2023-08-25 17:18:02 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-08-25 17:18:02 +0000 |
commit | f3593147622eab4605c9573f5a6a9c876c56a179 (patch) | |
tree | 1a91ccbf2f4b8d01e1a50ab3941c8eb08e0a84fa | |
parent | 95818b2609b51cb5d552a6918a5e45f0892d041e (diff) | |
download | image-f3593147622eab4605c9573f5a6a9c876c56a179.tar.gz image-f3593147622eab4605c9573f5a6a9c876c56a179.tar.bz2 image-f3593147622eab4605c9573f5a6a9c876c56a179.tar.xz image-f3593147622eab4605c9573f5a6a9c876c56a179.zip |
txz: Copy static QEMU user binaries to rootfs for triggers.
This tool is "deprecated" anyway, and we need usable media.
-rwxr-xr-x | adelie-build-txz | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |