initramfs-init: use new apk option --initdb

This commit is contained in:
Natanael Copa 2009-01-15 15:46:24 +00:00
parent 204df011a7
commit 7058a53837
1 changed files with 2 additions and 2 deletions

View File

@ -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