Skip to content
Snippets Groups Projects
Commit 0dff05bd authored by Natanael Copa's avatar Natanael Copa
Browse files

initram: ignore non-repositories in packages/ subdir

parent d48b86e8
No related branches found
No related tags found
No related merge requests found
...@@ -226,8 +226,8 @@ fi ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment