summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-05-06 15:20:31 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-05-06 15:20:31 +0200
commitdb0803fec80e24f978be283568f9aa3ada0b7f59 (patch)
treeceaae7e012b52398a8e5b3c6d215b6d404ae67a9
parent885c59451c6e1364846e5f4200560a90f69e953d (diff)
downloaddebvm-db0803fec80e24f978be283568f9aa3ada0b7f59.tar.gz
debefivm-create: drop nosymfollow for the EFI filesystem
On stretch, the nosymfollow mount option is not supported. Given that vfat does not do symlinks at all, the simple way forward is skipping it. Reported-by: Stefano Rivera <stefanor@debian.org>
-rwxr-xr-xbin/debefivm-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/debefivm-create b/bin/debefivm-create
index d68d647..d533f56 100755
--- a/bin/debefivm-create
+++ b/bin/debefivm-create
@@ -397,7 +397,7 @@ fi
# By default, Debian mounts the EFI System Partition to /boot/efi. Keep that
# default.
-BOOT_EFI_MOUNT_TEMPLATE='[Unit]\nDescription=EFI System Partition\n\n[Mount]\nWhat=LABEL=%s\nWhere=/boot/efi\nType=vfat\nOptions=umask=0077,rw,nodev,nosuid,noexec,nosymfollow\n\n[Install]\nWantedBy=local-fs.target\n'
+BOOT_EFI_MOUNT_TEMPLATE='[Unit]\nDescription=EFI System Partition\n\n[Mount]\nWhat=LABEL=%s\nWhere=/boot/efi\nType=vfat\nOptions=umask=0077,rw,nodev,nosuid,noexec\n\n[Install]\nWantedBy=local-fs.target\n'
set -- \
'--customize-hook=mkdir "$1/boot/efi"' \
"--customize-hook=printf '$BOOT_EFI_MOUNT_TEMPLATE' '$EFILABEL' >"'"$1/etc/systemd/system/boot-efi.mount"' \