diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-02 09:41:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-02 09:41:32 +0000 |
commit | 0dff05bda23e79083c6a328e23765bab6c33a3b1 (patch) | |
tree | e8a24b5dbea470ec2eeb1c7c132af3b33d54154d /initramfs-init | |
parent | d48b86e8a2864c77ecb024589fe2d948adfa805e (diff) | |
download | abuild-0dff05bda23e79083c6a328e23765bab6c33a3b1.tar.bz2 abuild-0dff05bda23e79083c6a328e23765bab6c33a3b1.tar.xz |
initram: ignore non-repositories in packages/ subdir
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" |