Commit 0dff05bd authored by Natanael Copa's avatar Natanael Copa

initram: ignore non-repositories in packages/ subdir

parent d48b86e8
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment