We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c4afff + 7a48e86 commit 02a2a87Copy full SHA for 02a2a87
1 file changed
systemd/bootloader-update.service
@@ -4,6 +4,9 @@ Documentation=https://github.com/coreos/bootupd
4
5
[Service]
6
Type=oneshot
7
+# It doesn't make sense to update bootloader in "Live" environments.
8
+# https://github.com/coreos/fedora-coreos-tracker/issues/2136
9
+ExecCondition=/bin/bash -c '[[ ! $(findmnt -n -o FSTYPE /sysroot) =~ ^(erofs|squashfs)$ ]]'
10
ExecStart=/usr/bin/bootupctl update
11
RemainAfterExit=yes
12
# Keep this stuff in sync with SYSTEMD_ARGS_BOOTUPD in general
0 commit comments