drop old patch

This commit is contained in:
Peter Robinson 2022-11-29 15:51:50 +00:00
parent 059e49dd3e
commit 5d5d32108f

View File

@ -1,30 +0,0 @@
From 402c6b86eae2fce8c76afd744b7560a0f78e183e Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Thu, 22 Sep 2022 14:00:41 -0700
Subject: [PATCH] greenboot-grub2-set-counter.service: ensure /boot is mounted
See https://bugzilla.redhat.com/show_bug.cgi?id=2121944 . As it
stands, this service can actually race with the mounting of
/boot, and fail if it starts before /boot is mounted. Adding
this ensures that doesn't happen.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
usr/lib/systemd/system/greenboot-grub2-set-counter.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr/lib/systemd/system/greenboot-grub2-set-counter.service b/usr/lib/systemd/system/greenboot-grub2-set-counter.service
index 5b758c7..72837dc 100644
--- a/usr/lib/systemd/system/greenboot-grub2-set-counter.service
+++ b/usr/lib/systemd/system/greenboot-grub2-set-counter.service
@@ -12,6 +12,7 @@ Description=Set grub2 boot counter in preparation of upgrade
DefaultDependencies=no
Before=ostree-finalize-staged.service
Conflicts=greenboot-grub2-set-success.service
+RequiresMountsFor=/boot
[Service]
Type=oneshot
--
2.37.3