summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup-disk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 7a3a2a3..86136de 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1212,7 +1212,7 @@ shift $(( $OPTIND - 1))
if [ -d "$1" ]; then
# install to given mounted root
- apk add --quiet syslinux
+ [ "$BOOTLOADER" = "syslinux" ] && apk add --quiet syslinux
install_mounted_root "${1%/}" \
&& echo "You might need fix the MBR to be able to boot" >&2
exit $?