Commit 43e4d0b3 authored by Daniel Néri's avatar Daniel Néri Committed by Daniel Néri

setup-disk: don't add syslinux package for mounted root install unless requested

parent 5d90f33f
......@@ -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 $?
......
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