summaryrefslogtreecommitdiff
path: root/adelie-build-txz
diff options
context:
space:
mode:
Diffstat (limited to 'adelie-build-txz')
-rwxr-xr-xadelie-build-txz3
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() {