Sync from SUSE:SLFO:Main libpulp revision 3fcd50b6c33c3ade58d4a0ea9c437a3d

This commit is contained in:
Adrian Schröter 2024-12-20 16:06:58 +01:00
parent acb5d5d7c4
commit 1717c63cd0
4 changed files with 16 additions and 2 deletions

BIN
libpulp-0.3.7.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 12 19:41:51 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>
- Cleanup /var/livepatches on boot time.
-------------------------------------------------------------------
Sat Dec 7 00:59:13 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>
- Add timestamps on each message.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 4 18:58:38 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com> Wed Dec 4 18:58:38 UTC 2024 - Giuliano Belinassi <giuliano.belinassi@suse.com>

View File

@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz
Source1: rpm-helper Source1: rpm-helper
Source2: macros.userspace-livepatch Source2: macros.userspace-livepatch
Source3: selinux-ulp.conf Source3: selinux-ulp.conf
Source4: ulp-tmp.conf
Source99: libpulp.rpmlintrc Source99: libpulp.rpmlintrc
# Required to hardlink identical files. # Required to hardlink identical files.
BuildRequires: fdupes 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 -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 %{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 %{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 # Create /var/livepatches
mkdir -p %{buildroot}/var/livepatches/ mkdir -p %{buildroot}/var/livepatches/
@ -129,6 +131,7 @@ fi
%dir %{_prefix}/lib/userspace-livepatch %dir %{_prefix}/lib/userspace-livepatch
%{_prefix}/lib/userspace-livepatch/* %{_prefix}/lib/userspace-livepatch/*
%{_prefix}/lib/rpm/* %{_prefix}/lib/rpm/*
%{_prefix}/lib/tmpfiles.d/ulp-tmp.conf
%{_prefix}/etc/tukit.conf.d/selinux-ulp.conf %{_prefix}/etc/tukit.conf.d/selinux-ulp.conf
%{_prefix}/etc/tukit.conf.d %{_prefix}/etc/tukit.conf.d
%{_prefix}/etc %{_prefix}/etc

1
ulp-tmp.conf Normal file
View File

@ -0,0 +1 @@
R /var/livepatches/*