aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-xinitramfs-init.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 63d96e1..c5a6e84 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -379,11 +379,17 @@ if [ -n "$KOPT_root" ]; then
exec /bin/busybox sh
fi
+if [ -n "$ALPINE_REPO" ]; then
+ repoopts="-n"
+else
+ repoopts="-b $repofile"
+fi
+
# locate boot media and mount it
ebegin "Mounting boot media"
nlplug-findfs $cryptopts -p /sbin/mdev ${KOPT_debug_init:+-d} \
${KOPT_usbdelay:+-t $(( $KOPT_usbdelay * 1000 ))} \
- -b $repofile -a /tmp/apkovls
+ $repoopts -a /tmp/apkovls
eend $?
# early console?