Commit baeba3f7 authored by Jeff Bilyk's avatar Jeff Bilyk

setup-alpine: only run setup-apklub if sys disk mode wasnt selected

parent 8a611e2b
...@@ -80,4 +80,6 @@ $PREFIX/sbin/setup-ntp ...@@ -80,4 +80,6 @@ $PREFIX/sbin/setup-ntp
DEFAULT_DISK=none \ DEFAULT_DISK=none \
$PREFIX/sbin/setup-disk -q $PREFIX/sbin/setup-disk -q
$PREFIX/sbin/setup-apklbu -i if ![ "`cat /tmp/alpine-install-diskmode.out`" = "sys" ]; then
$PREFIX/sbin/setup-apklbu -i
fi
...@@ -941,3 +941,4 @@ none) exit 0;; ...@@ -941,3 +941,4 @@ none) exit 0;;
*) echo "Not a valid install mode: $DISK_MODE" >&2; exit 1;; *) echo "Not a valid install mode: $DISK_MODE" >&2; exit 1;;
esac esac
echo "$DISK_MODE" > /tmp/alpine-install-diskmode.out
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment