diff options
Diffstat (limited to 'initramfs-init')
-rwxr-xr-x | initramfs-init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs-init b/initramfs-init index 6e2c998..ce819f1 100755 --- a/initramfs-init +++ b/initramfs-init @@ -226,8 +226,8 @@ fi # install new root ebegin "Installing packages to root filesystem" mkdir -p /etc/apk -for i in $ALPINE_MNT/packages/*; do - echo $i >> /etc/apk/repositories +for i in $ALPINE_MNT/packages/* $ALPINE_MNT/apks; do + [ -r "$i/APK_INDEX.gz" ] && echo $i >> /etc/apk/repositories done if [ -n "$KOPT_chart" ]; then pkgs="$pkgs acct" |