aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/mkimage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index b72b203338..8110982b03 100644
--- a/scripts/mkimage.sh
+++ b/scripts/mkimage.sh
@@ -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"