initram: ignore non-repositories in packages/ subdir

This commit is contained in:
Natanael Copa 2009-04-02 09:41:32 +00:00
parent d48b86e8a2
commit 0dff05bda2
1 changed files with 2 additions and 2 deletions

View File

@ -226,8 +226,8 @@ fi
# install new root # install new root
ebegin "Installing packages to root filesystem" ebegin "Installing packages to root filesystem"
mkdir -p /etc/apk mkdir -p /etc/apk
for i in $ALPINE_MNT/packages/*; do for i in $ALPINE_MNT/packages/* $ALPINE_MNT/apks; do
echo $i >> /etc/apk/repositories [ -r "$i/APK_INDEX.gz" ] && echo $i >> /etc/apk/repositories
done done
if [ -n "$KOPT_chart" ]; then if [ -n "$KOPT_chart" ]; then
pkgs="$pkgs acct" pkgs="$pkgs acct"