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

View File

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