diff options
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-x | initramfs-init.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index fa629d2..2bc8439 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -689,9 +689,7 @@ apkflags="--initdb --progress --force" if [ -z "$ALPINE_REPO" ]; then apkflags="$apkflags --no-network" else - # HTTP: convince apk to behave - apk add --root $sysroot $repo_opt $apkflags - apk update --root $sysroot $repo_opt + apkflags="$apkflags --update-cache" fi if [ -n "$KOPT_quiet" ]; then |