initramfs-init: use apk's --force

This commit is contained in:
Timo Teras 2009-03-04 08:37:51 +02:00
parent a0297a62b2
commit b674605e6d
1 changed files with 3 additions and 3 deletions

View File

@ -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