mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-11 00:59:41 +00:00
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user