From 43e4d0b3d7441611a58ba89dfa3ae69269c16e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A9ri?= Date: Sat, 2 May 2020 22:02:51 +0000 Subject: setup-disk: don't add syslinux package for mounted root install unless requested --- setup-disk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $? -- cgit v1.2.3