forked from rpms/leapp-repository
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
From 2fb6beaec3e2f9badf5bf2956e4523c1b588b657 Mon Sep 17 00:00:00 2001
|
|
From: Michal Hecko <mhecko@redhat.com>
|
|
Date: Thu, 27 Nov 2025 22:30:31 +0100
|
|
Subject: [PATCH 078/111] 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.
|
|
---
|
|
.../mount_units_generator/files/bundled_units/boot.mount | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units/boot.mount b/repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units/boot.mount
|
|
index 869c5e4c..531f6c75 100644
|
|
--- a/repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units/boot.mount
|
|
+++ b/repos/system_upgrade/common/actors/initramfs/mount_units_generator/files/bundled_units/boot.mount
|
|
@@ -1,8 +1,8 @@
|
|
[Unit]
|
|
DefaultDependencies=no
|
|
Before=local-fs.target
|
|
-After=sysroot-boot.target
|
|
-Requires=sysroot-boot.target
|
|
+After=sysroot-boot.mount
|
|
+Requires=sysroot-boot.mount
|
|
|
|
[Mount]
|
|
What=/sysroot/boot
|
|
--
|
|
2.52.0
|
|
|