Commit b674605e authored by Timo Teräs's avatar Timo Teräs

initramfs-init: use apk's --force

parent a0297a62
...@@ -185,11 +185,11 @@ done ...@@ -185,11 +185,11 @@ done
if [ -n "$KOPT_chart" ]; then if [ -n "$KOPT_chart" ]; then
pkgs="$pkgs acct" pkgs="$pkgs acct"
fi fi
apkflags="" apkflags="--initdb --quiet --progress --force"
if [ -z "$KOPT_keep_apk_new" ]; then if [ -z "$KOPT_keep_apk_new" ]; then
apkflags="--clean-protected" apkflags=" --clean-protected"
fi fi
apk add --root /newroot --initdb --quiet --progress $apkflags $pkgs >/dev/null apk add --root /newroot $apkflags $pkgs >/dev/null
eend $? eend $?
# copy alpine release info # copy alpine release info
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