initramfs-init: use new apk option --initdb
This commit is contained in:
parent
204df011a7
commit
7058a53837
|
@ -152,8 +152,8 @@ fi
|
||||||
# install new root
|
# install new root
|
||||||
ebegin "Installing packages to root filesystem"
|
ebegin "Installing packages to root filesystem"
|
||||||
mount -t tmpfs -o size=50M tmpfs $NEWROOT
|
mount -t tmpfs -o size=50M tmpfs $NEWROOT
|
||||||
apk create --root /newroot
|
apk add --root /newroot --repository /media/cdrom/apks \
|
||||||
apk add --root /newroot --repository /media/cdrom/apks --quiet --progress $pkgs
|
--initdb --quiet --progress $pkgs
|
||||||
eend $?
|
eend $?
|
||||||
|
|
||||||
# switch over to new root
|
# switch over to new root
|
||||||
|
|
Loading…
Reference in New Issue