Commit 7058a538 authored by Natanael Copa's avatar Natanael Copa

initramfs-init: use new apk option --initdb

parent 204df011
...@@ -152,8 +152,8 @@ fi ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment