From 4bde19fb9636f5bc62fcf38d4a6f59fa054d50b1 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 23 Oct 2023 15:31:42 -0400 Subject: [PATCH] Install static configs --- rust-bootupd.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rust-bootupd.spec b/rust-bootupd.spec index cab6404..26d743b 100644 --- a/rust-bootupd.spec +++ b/rust-bootupd.spec @@ -4,7 +4,7 @@ Name: rust-%{crate} Version: 0.2.12 -Release: 2%{?dist} +Release: 4%{?dist} Summary: Bootloader updater License: Apache-2.0 @@ -50,6 +50,7 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) %{_bindir}/bootupctl %{_libexecdir}/bootupd %{_unitdir}/* +%{_prefix}/lib/bootupd/grub2-static/ %prep %autosetup -n %{crate}-%{version} -p1 -a1 @@ -63,6 +64,7 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) %install %make_install INSTALL="install -p -c" +%{__make} install-grub-static DESTDIR=%{?buildroot} INSTALL="%{__install} -p" %post -n %{crate} %systemd_post bootupd.service bootupd.socket @@ -74,6 +76,9 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) %systemd_postun bootupd.service bootupd.socket %changelog +* Mon Oct 23 2023 Colin Walters - 0.2.12-4 +- Install static configs + * Fri Oct 20 2023 Colin Walters - 0.2.12-2 - https://github.com/coreos/bootupd/releases/tag/v0.2.12