initramfs-init: use apk's --force
This commit is contained in:
parent
a0297a62b2
commit
b674605e6d
|
@ -185,11 +185,11 @@ done
|
|||
if [ -n "$KOPT_chart" ]; then
|
||||
pkgs="$pkgs acct"
|
||||
fi
|
||||
apkflags=""
|
||||
apkflags="--initdb --quiet --progress --force"
|
||||
if [ -z "$KOPT_keep_apk_new" ]; then
|
||||
apkflags="--clean-protected"
|
||||
apkflags=" --clean-protected"
|
||||
fi
|
||||
apk add --root /newroot --initdb --quiet --progress $apkflags $pkgs >/dev/null
|
||||
apk add --root /newroot $apkflags $pkgs >/dev/null
|
||||
eend $?
|
||||
|
||||
# copy alpine release info
|
||||
|
|
Loading…
Reference in New Issue