mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 07:22:53 +00:00
initram: ignore non-repositories in packages/ subdir
This commit is contained in:
parent
d48b86e8a2
commit
0dff05bda2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user