Skip to content

Commit 2fb6bea

Browse files
Michal Heckopirat89
authored andcommitted
boot: fix deps when bindmounting /boot to /sysroot/boot
When /boot is a separate partition, we bindmount what=/sysroot/boot to /boot, so that we can perform necessary checks when booting with FIPS enabled. However, the current solution contains incorrect unit dependencies: it requires sysroot-boot.target. There is no such target, and the correct value should be sysroot-boot.mount. This patch corrects the dependencies.
1 parent 3fe0ed2 commit 2fb6bea

File tree

1 file changed

+2
-2
lines changed
  • repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units

1 file changed

+2
-2
lines changed

repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units/boot.mount

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[Unit]
22
DefaultDependencies=no
33
Before=local-fs.target
4-
After=sysroot-boot.target
5-
Requires=sysroot-boot.target
4+
After=sysroot-boot.mount
5+
Requires=sysroot-boot.mount
66

77
[Mount]
88
What=/sysroot/boot

0 commit comments

Comments
 (0)