From 172e15ad7068a97ef3b3f50c06cff2cd7ea69ab0bbb293be8a8eafd8885c01da Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Wed, 17 Apr 2024 02:36:47 +0000 Subject: [PATCH 1/2] Accepting request 1168443 from home:aplanas:branches:devel:microos - Update to version 0.3+2: * Do not hard fail when error in mount OBS-URL: https://build.opensuse.org/request/show/1168443 OBS-URL: https://build.opensuse.org/package/show/devel:microos/dracut-pcr-signature?expand=0&rev=13 --- _servicedata | 2 +- dracut-pcr-signature-0.3+1.tar.xz | 3 --- dracut-pcr-signature-0.3+2.tar.xz | 3 +++ dracut-pcr-signature.changes | 6 ++++++ dracut-pcr-signature.spec | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 dracut-pcr-signature-0.3+1.tar.xz create mode 100644 dracut-pcr-signature-0.3+2.tar.xz diff --git a/_servicedata b/_servicedata index fcd83f2..92573db 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/aplanas/dracut-pcr-signature.git - f12ad63e3322c8b82f9c27f1dd21f9a84c458cec \ No newline at end of file + ae07fc611de1884207614125533482477e9e2f8b \ No newline at end of file diff --git a/dracut-pcr-signature-0.3+1.tar.xz b/dracut-pcr-signature-0.3+1.tar.xz deleted file mode 100644 index 6a2f7b8..0000000 --- a/dracut-pcr-signature-0.3+1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cea94bacd3102b238fe52a7329d9d6c1e3bd47af5730bfb1d9b6de757f86690a -size 8288 diff --git a/dracut-pcr-signature-0.3+2.tar.xz b/dracut-pcr-signature-0.3+2.tar.xz new file mode 100644 index 0000000..2d4729a --- /dev/null +++ b/dracut-pcr-signature-0.3+2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eb1f11187e6fd607e9caa48915902bde567834285a030ca64c6b2893f2acadc +size 8328 diff --git a/dracut-pcr-signature.changes b/dracut-pcr-signature.changes index 690f7fb..6aae09d 100644 --- a/dracut-pcr-signature.changes +++ b/dracut-pcr-signature.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 16 17:19:57 UTC 2024 - aplanas@suse.com + +- Update to version 0.3+2: + * Do not hard fail when error in mount + ------------------------------------------------------------------- Fri Apr 12 18:01:58 UTC 2024 - aplanas@suse.com diff --git a/dracut-pcr-signature.spec b/dracut-pcr-signature.spec index 3fd8b02..c3dd767 100644 --- a/dracut-pcr-signature.spec +++ b/dracut-pcr-signature.spec @@ -17,7 +17,7 @@ Name: dracut-pcr-signature -Version: 0.3+1 +Version: 0.3+2 Release: 0 Summary: Dracut module to import PCR signatures License: GPL-2.0-or-later From 0274f41e5adb26987017924898c0e6b61f653061d09cef5b8b8a71c64e13dff8 Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Wed, 17 Apr 2024 12:31:55 +0000 Subject: [PATCH 2/2] Accepting request 1168534 from home:aplanas:branches:devel:microos - Update to version 0.3+5: * Generate the initrd after installation * Temporaly conflict with GRUB2 * Small fix for comment OBS-URL: https://build.opensuse.org/request/show/1168534 OBS-URL: https://build.opensuse.org/package/show/devel:microos/dracut-pcr-signature?expand=0&rev=14 --- _servicedata | 2 +- dracut-pcr-signature-0.3+2.tar.xz | 3 --- dracut-pcr-signature-0.3+5.tar.xz | 3 +++ dracut-pcr-signature.changes | 8 ++++++++ dracut-pcr-signature.spec | 15 +++++++++++++-- 5 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 dracut-pcr-signature-0.3+2.tar.xz create mode 100644 dracut-pcr-signature-0.3+5.tar.xz diff --git a/_servicedata b/_servicedata index 92573db..e6da365 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/aplanas/dracut-pcr-signature.git - ae07fc611de1884207614125533482477e9e2f8b \ No newline at end of file + da6c1262027a0814dcefb179f68aee7b2586c261 \ No newline at end of file diff --git a/dracut-pcr-signature-0.3+2.tar.xz b/dracut-pcr-signature-0.3+2.tar.xz deleted file mode 100644 index 2d4729a..0000000 --- a/dracut-pcr-signature-0.3+2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0eb1f11187e6fd607e9caa48915902bde567834285a030ca64c6b2893f2acadc -size 8328 diff --git a/dracut-pcr-signature-0.3+5.tar.xz b/dracut-pcr-signature-0.3+5.tar.xz new file mode 100644 index 0000000..fbbc6e4 --- /dev/null +++ b/dracut-pcr-signature-0.3+5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92e00f02807c28598e2d7d324103fb1a5357986438dfafd025e30668dd211100 +size 8392 diff --git a/dracut-pcr-signature.changes b/dracut-pcr-signature.changes index 6aae09d..1c7fe63 100644 --- a/dracut-pcr-signature.changes +++ b/dracut-pcr-signature.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Apr 17 12:29:01 UTC 2024 - aplanas@suse.com + +- Update to version 0.3+5: + * Generate the initrd after installation + * Temporaly conflict with GRUB2 + * Small fix for comment + ------------------------------------------------------------------- Tue Apr 16 17:19:57 UTC 2024 - aplanas@suse.com diff --git a/dracut-pcr-signature.spec b/dracut-pcr-signature.spec index c3dd767..3432113 100644 --- a/dracut-pcr-signature.spec +++ b/dracut-pcr-signature.spec @@ -17,14 +17,16 @@ Name: dracut-pcr-signature -Version: 0.3+2 +Version: 0.3+5 Release: 0 Summary: Dracut module to import PCR signatures License: GPL-2.0-or-later URL: https://github.com/aplanas/dracut-pcr-signature Source: %{name}-%{version}.tar.xz -Requires: dracut +BuildRequires: rpm-config-SUSE +BuildRequires: pkgconfig(dracut) BuildArch: noarch +Conflicts: grub2 %description Dracut module to import PCR signatures. This will make possible the @@ -43,6 +45,15 @@ cp module-setup.sh %buildroot/usr/lib/dracut/modules.d/50pcr-signature cp pcr-signature.sh %buildroot/usr/lib/dracut/modules.d/50pcr-signature cp pcr-signature.conf %buildroot/usr/lib/dracut/modules.d/50pcr-signature +%post +%regenerate_initrd_post + +%posttrans +%regenerate_initrd_posttrans + +%postun +%regenerate_initrd_post + %files %license LICENSE %doc README.md