initramfs-init: use new apk option --initdb
This commit is contained in:
parent
204df011a7
commit
7058a53837
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue