SHA256
1
0
forked from pool/libpulp
Files
libpulp/macros.userspace-livepatch
Dirk Mueller 40ac09af11 Accepting request 1118607 from home:ULP
Submit libpulp to devel:tools

Libpulp is a framework that enables userspace live patching. It is
composed of a library per se and a collection of tools used in the
preparation of live-patchable libraries and in the application of
live patches to running processes.

Libpulp is already available on SLE-15 since SP4 (see
SUSE:SLE-15-SP4:Update).

OBS-URL: https://build.opensuse.org/request/show/1118607
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libpulp?expand=0&rev=1
2023-10-19 08:52:11 +00:00

10 lines
390 B
Plaintext

# Hook for %post used by livepatch packages to apply a livepatch (or multiple
# livepatches) on the system.
#
# The parameters are <package_name> <livepatch_version> <target_library>
%ulp_post_hook() \
echo "Executing ulp_post_hook(). About to execute rpm-helper..." \
/bin/bash /usr/lib/userspace-livepatch/rpm-helper install "%1" "%2" "%3" $1 \
echo "Done executing rpm-helper." \
%{nil}