commit dracut-pcr-signature for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dracut-pcr-signature for openSUSE:Factory checked in at 2024-10-08 17:23:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut-pcr-signature (Old) and /work/SRC/openSUSE:Factory/.dracut-pcr-signature.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dracut-pcr-signature" Tue Oct 8 17:23:00 2024 rev:10 rq:1206132 version:0.4+2 Changes: -------- --- /work/SRC/openSUSE:Factory/dracut-pcr-signature/dracut-pcr-signature.changes 2024-06-04 12:51:10.523922978 +0200 +++ /work/SRC/openSUSE:Factory/.dracut-pcr-signature.new.19354/dracut-pcr-signature.changes 2024-10-08 17:23:12.454020876 +0200 @@ -1,0 +2,7 @@ +Mon Oct 07 14:52:41 UTC 2024 - aplanas@suse.com + +- Update to version 0.4+2: + * Synchronize spec file + * Copy JSON file in /run to survive initrd + +------------------------------------------------------------------- Old: ---- dracut-pcr-signature-0.4+0.tar.xz New: ---- dracut-pcr-signature-0.4+2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut-pcr-signature.spec ++++++ --- /var/tmp/diff_new_pack.WwXLQT/_old 2024-10-08 17:23:13.222052930 +0200 +++ /var/tmp/diff_new_pack.WwXLQT/_new 2024-10-08 17:23:13.222052930 +0200 @@ -17,7 +17,7 @@ Name: dracut-pcr-signature -Version: 0.4+0 +Version: 0.4+2 Release: 0 Summary: Dracut module to import PCR signatures License: GPL-2.0-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.WwXLQT/_old 2024-10-08 17:23:13.270054933 +0200 +++ /var/tmp/diff_new_pack.WwXLQT/_new 2024-10-08 17:23:13.274055100 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/aplanas/dracut-pcr-signature.git</param> - <param name="changesrevision">9f5e5bc9f0e8d9cd4c6dfcca8f5505acce98d3dd</param></service></servicedata> + <param name="changesrevision">a92010648c3aa7469928ecc7fff29d99d388ff6a</param></service></servicedata> (No newline at EOF) ++++++ dracut-pcr-signature-0.4+0.tar.xz -> dracut-pcr-signature-0.4+2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-pcr-signature-0.4+0/dracut-pcr-signature.spec new/dracut-pcr-signature-0.4+2/dracut-pcr-signature.spec --- old/dracut-pcr-signature-0.4+0/dracut-pcr-signature.spec 2024-04-22 11:06:51.000000000 +0200 +++ new/dracut-pcr-signature-0.4+2/dracut-pcr-signature.spec 2024-10-07 16:51:59.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package dracut-pcr-signature # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,10 +23,9 @@ License: GPL-2.0-or-later URL: https://github.com/aplanas/dracut-pcr-signature Source: %{name}-%{version}.tar.xz -BuildRequires: pkgconfig(dracut) BuildRequires: rpm-config-SUSE +BuildRequires: pkgconfig(dracut) BuildArch: noarch -Conflicts: grub2 %description Dracut module to import PCR signatures. This will make possible the @@ -46,13 +45,13 @@ cp pcr-signature.conf %buildroot/usr/lib/dracut/modules.d/50pcr-signature %post -%regenerate_initrd_post +%{?regenerate_initrd_post} %posttrans -%regenerate_initrd_posttrans +%{?regenerate_initrd_posttrans} %postun -%regenerate_initrd_post +%{?regenerate_initrd_post} %files %license LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-pcr-signature-0.4+0/pcr-signature.sh new/dracut-pcr-signature-0.4+2/pcr-signature.sh --- old/dracut-pcr-signature-0.4+0/pcr-signature.sh 2024-04-22 11:06:51.000000000 +0200 +++ new/dracut-pcr-signature-0.4+2/pcr-signature.sh 2024-10-07 16:51:59.000000000 +0200 @@ -6,11 +6,6 @@ [ -e "$EFIVAR" ] || exit 0 -if [ -e "/var/lib/systemd/pcrlock.json" ] || [ -e "/etc/systemd/tpm2-pcr-signature.json" ]; then - echo "pcr-signature: signature file already present" - exit 0 -fi - # Read the value of the EFI variable, that contains a header and ends # with '\0' and make it lowercase ESP_UUID="$(dd "if=$EFIVAR" bs=2 skip=2 conv=lcase status=none | tr -d '\0')" @@ -36,13 +31,13 @@ for location in "${MNT}/EFI/systemd" "${MNT}/EFI/opensuse"; do if [ -e "${location}/pcrlock.json" ]; then - mkdir -p /var/lib/systemd - cp "${location}/pcrlock.json" /var/lib/systemd + mkdir -p /run/systemd + cp "${location}/pcrlock.json" /run/systemd break elif [ -e "${location}/tpm2-pcr-signature.json" ] && [ -e "${location}/tpm2-pcr-public-key.pem" ]; then - mkdir -p /etc/systemd - cp "${location}/tpm2-pcr-signature.json" /etc/systemd - cp "${location}/tpm2-pcr-public-key.pem" /etc/systemd + mkdir -p /run/systemd + cp "${location}/tpm2-pcr-signature.json" /run/systemd + cp "${location}/tpm2-pcr-public-key.pem" /run/systemd break fi done
participants (1)
-
Source-Sync