From 1717c63cd05123eaea293db8fca9a07490911b362d75c3ab3f013a4f6b50f22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 20 Dec 2024 16:06:58 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main libpulp revision 3fcd50b6c33c3ade58d4a0ea9c437a3d --- libpulp-0.3.7.tar.gz | 4 ++-- libpulp.changes | 10 ++++++++++ libpulp.spec | 3 +++ ulp-tmp.conf | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 ulp-tmp.conf diff --git a/libpulp-0.3.7.tar.gz b/libpulp-0.3.7.tar.gz index 52286c5..8b9ee10 100644 --- a/libpulp-0.3.7.tar.gz +++ b/libpulp-0.3.7.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2a727372edd943f647a65fe0ae2b246a763ba4e3c365f74efb5f5d4f54faa73f -size 639305 +oid sha256:aead1d4cd04fdde95108640262106e05c79f324df7aa9bc0982ec67dc538d1a2 +size 639555 diff --git a/libpulp.changes b/libpulp.changes index b9d03ed..095bd0c 100644 --- a/libpulp.changes +++ b/libpulp.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 12 19:41:51 UTC 2024 - Giuliano Belinassi + +- Cleanup /var/livepatches on boot time. + +------------------------------------------------------------------- +Sat Dec 7 00:59:13 UTC 2024 - Giuliano Belinassi + +- Add timestamps on each message. + ------------------------------------------------------------------- Wed Dec 4 18:58:38 UTC 2024 - Giuliano Belinassi diff --git a/libpulp.spec b/libpulp.spec index 042501e..a3e289e 100644 --- a/libpulp.spec +++ b/libpulp.spec @@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz Source1: rpm-helper Source2: macros.userspace-livepatch Source3: selinux-ulp.conf +Source4: ulp-tmp.conf Source99: libpulp.rpmlintrc # Required to hardlink identical files. BuildRequires: fdupes @@ -85,6 +86,7 @@ This package contains the tools to apply user-space live patches. install -D -m0755 %{SOURCE1} %{buildroot}%{_prefix}/lib/userspace-livepatch/rpm-helper install -D -m0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.userspace-livepatch install -D -m0644 %{SOURCE3} %{buildroot}%{_prefix}/etc/tukit.conf.d/selinux-ulp.conf +install -D -m0644 %{SOURCE4} %{buildroot}%{_prefix}/lib/tmpfiles.d/ulp-tmp.conf # Create /var/livepatches mkdir -p %{buildroot}/var/livepatches/ @@ -129,6 +131,7 @@ fi %dir %{_prefix}/lib/userspace-livepatch %{_prefix}/lib/userspace-livepatch/* %{_prefix}/lib/rpm/* +%{_prefix}/lib/tmpfiles.d/ulp-tmp.conf %{_prefix}/etc/tukit.conf.d/selinux-ulp.conf %{_prefix}/etc/tukit.conf.d %{_prefix}/etc diff --git a/ulp-tmp.conf b/ulp-tmp.conf new file mode 100644 index 0000000..5c7491a --- /dev/null +++ b/ulp-tmp.conf @@ -0,0 +1 @@ +R /var/livepatches/*