Skip to content
Snippets Groups Projects
Commit 7058a538 authored by Natanael Copa's avatar Natanael Copa
Browse files

initramfs-init: use new apk option --initdb

parent 204df011
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment