initram: ignore non-repositories in packages/ subdir
This commit is contained in:
parent
d48b86e8a2
commit
0dff05bda2
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue