1
0
Ana Guerrero 2024-11-08 10:56:22 +00:00 committed by Git OBS Bridge
commit 0f2e9f80d0
5 changed files with 21 additions and 12 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/aplanas/dracut-pcr-signature.git</param>
<param name="changesrevision">a92010648c3aa7469928ecc7fff29d99d388ff6a</param></service></servicedata>
<param name="changesrevision">1ae9b3570a9fdfe9882c3800e2c486ed12f02e69</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8981075a7fdbf011e50511a1247598dc6362f5abc806fb1e1d4d366cae364df3
size 8348

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13afef632a38aa91c5cd2ef765f3e4a1b02052ad371689b7da1a52e91b327d0f
size 8620

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Oct 31 09:37:56 UTC 2024 - aplanas@suse.com
- Update to version 0.5+0:
* Normalize spec file
* Use a generator to mount ESP
* Avoid race condition when multiple disks are encrypted
-------------------------------------------------------------------
Mon Oct 07 14:52:41 UTC 2024 - aplanas@suse.com

View File

@ -17,12 +17,13 @@
Name: dracut-pcr-signature
Version: 0.4+2
Version: 0.5+0
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
BuildRequires: pkgconfig
BuildRequires: rpm-config-SUSE
BuildRequires: pkgconfig(dracut)
BuildArch: noarch
@ -39,10 +40,10 @@ unlock the LUKS2 device via systemd-cryptsetup.
%build
%install
mkdir -p %buildroot/usr/lib/dracut/modules.d/50pcr-signature
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
mkdir -p %{buildroot}%{_prefix}/lib/dracut/modules.d/50pcr-signature
for i in module-setup.sh boot-efi-generator.sh pcr-signature.sh pcr-signature.service; do
cp "$i" %{buildroot}%{_prefix}/lib/dracut/modules.d/50pcr-signature
done
%post
%{?regenerate_initrd_post}
@ -56,8 +57,8 @@ cp pcr-signature.conf %buildroot/usr/lib/dracut/modules.d/50pcr-signature
%files
%license LICENSE
%doc README.md
%dir /usr/lib/dracut
%dir /usr/lib/dracut/modules.d
/usr/lib/dracut/modules.d/50pcr-signature
%dir %{_prefix}/lib/dracut
%dir %{_prefix}/lib/dracut/modules.d
%{_prefix}/lib/dracut/modules.d/50pcr-signature
%changelog