summaryrefslogtreecommitdiff
path: root/initramfs-init
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-init')
-rwxr-xr-xinitramfs-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs-init b/initramfs-init
index 8996f23..02444f8 100755
--- a/initramfs-init
+++ b/initramfs-init
@@ -152,8 +152,8 @@ fi
# install new root
ebegin "Installing packages to root filesystem"
mount -t tmpfs -o size=50M tmpfs $NEWROOT
-apk create --root /newroot
-apk add --root /newroot --repository /media/cdrom/apks --quiet --progress $pkgs
+apk add --root /newroot --repository /media/cdrom/apks \
+ --initdb --quiet --progress $pkgs
eend $?
# switch over to new root