From 05bfe8059e221e009bf4a172eaa1e66cfa8b43b3 Mon Sep 17 00:00:00 2001 From: saypaul Date: Thu, 5 Sep 2024 21:21:40 +0530 Subject: [PATCH] fix: remove bootupd Signed-off-by: saypaul --- greenboot.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/greenboot.spec b/greenboot.spec index 92a3d08..a9f425e 100644 --- a/greenboot.spec +++ b/greenboot.spec @@ -2,7 +2,7 @@ Name: greenboot Version: 0.15.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Generic Health Check Framework for systemd License: LGPL-2.1-or-later @@ -19,7 +19,6 @@ BuildRequires: systemd-rpm-macros Requires: systemd >= 240 Requires: grub2-tools-minimal Requires: rpm-ostree -Requires: bootupd # PAM is required to programatically read motd messages from /etc/motd.d/* # This causes issues with RHEL-8 as the fix isn't there an el8 is on pam-1.3.x Requires: pam >= 1.4.0 @@ -66,7 +65,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/%{name}/check/required.d mkdir %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d mkdir %{buildroot}%{_prefix}/lib/%{name}/green.d mkdir %{buildroot}%{_prefix}/lib/%{name}/red.d -install -D -t %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d grub2/greenboot.cfg +install -D -t %{buildroot}%{_prefix}/%{_sysconfdir}/grub.d grub2/greenboot.cfg mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_unitdir}/greenboot-healthcheck.service.d mkdir -p %{buildroot}%{_tmpfilesdir} @@ -143,7 +142,7 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam %dir %{_prefix}/lib/%{name}/red.d %{_exec_prefix}/lib/motd.d/boot-status %{_tmpfilesdir}/greenboot-status-motd.conf -%{_prefix}/lib/bootupd/grub2-static/configs.d/*.cfg +%{_prefix}/etc/grub.d/*.cfg %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/%{name} %{_libexecdir}/%{name}/greenboot-grub2-set-success