Skip to content

Commit f23d7a2

Browse files
overlay.d/05core: disable bootloader-update.service on live ISO
When running from live-iso `bootupctl` fails with: error: Querying adoptable state: creation time is not available for the filesystem That happens because filesystem (erofs|squashfs) doesn't support statx.stc_btime field: $ stat /sysroot/.coreos-aleph-version.json Access: 2022-08-01 23:42:11.000000000 +0000 Modify: 2022-08-01 23:42:11.000000000 +0000 Change: 2022-08-01 23:42:11.000000000 +0000 Birth: -
1 parent 3d5a195 commit f23d7a2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# bootupd is enabled by default in CoreOS (F43+ / CentOS9+).
2+
# On live ISOs, it fails to read metadata from
3+
# "sysroot/.coreos-aleph-version.json" because the filesystem
4+
# does not support statx.stx_btime.
5+
# https://github.com/coreos/fedora-coreos-tracker/issues/2136
6+
7+
[Service]
8+
ExecCondition=/bin/bash -c '[[ ! $(findmnt -n -o FSTYPE /sysroot) =~ ^(erofs|squashfs)$ ]]'

0 commit comments

Comments
 (0)