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

scripts/mkimage.sh: warn if no repo is set

parent bcc6d4c6
No related branches found
No related tags found
No related merge requests found
......@@ -217,6 +217,9 @@ for ARCH in $req_arch; do
cp -Pr /etc/apk/keys "$APKROOT/etc/apk/"
abuild-apk --arch "$ARCH" --root "$APKROOT" add --initdb
if [ -z "$REPODIR" ]; then
warning "no repository set"
fi
echo "$REPODIR" > "$APKROOT/etc/apk/repositories"
fi
abuild-apk update --root "$APKROOT"
......
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