Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
61e205f5cf | ||
| 240efa565a |
BIN
libpulp-0.3.14.tar.gz
LFS
BIN
libpulp-0.3.14.tar.gz
LFS
Binary file not shown.
BIN
libpulp-0.3.17.tar.gz
LFS
Normal file
BIN
libpulp-0.3.17.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 2 14:45:48 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
- Update package with libpulp-0.3.17:
|
||||||
|
- Fix dlopen and dlmopen search paths (bsc#1250436).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 22 14:39:22 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
- Fix ld.so.conf being modified in SLE-16.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 17 15:29:56 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
- Fix `ldconfig` constructing ld.so.cache in the new snapshot (bsc#1249417).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 4 21:12:23 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
- Update package with libpulp-0.3.16:
|
||||||
|
- Improve `ulp <command> --help` (bsc#1243787).
|
||||||
|
- Add support to glibc 2.42.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 18 13:57:40 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
- Update package with libpulp-0.3.15:
|
||||||
|
- Fix race condition on ppc64le livepatching (bsc#1244263)
|
||||||
|
- Fix SIGABRT when non-valid JSON is given at input (bsc#1243923)
|
||||||
|
- Fix linking against libpthread on older versions of glibc for ppc64le.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 30 15:39:17 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
Wed Apr 30 15:39:17 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||||
|
|
||||||
|
|||||||
16
libpulp.spec
16
libpulp.spec
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libpulp
|
Name: libpulp
|
||||||
Version: 0.3.14
|
Version: 0.3.17
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Userspace live patching library and tools
|
Summary: Userspace live patching library and tools
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@@ -122,10 +122,15 @@ find %{buildroot}/%{_prefix} -name libpulp.so -delete
|
|||||||
%define addline include /var/livepatches/ld.so.conf
|
%define addline include /var/livepatches/ld.so.conf
|
||||||
|
|
||||||
# There are special logic needed in sle-micro onwards.
|
# There are special logic needed in sle-micro onwards.
|
||||||
%if 0%{?suse_version} >= 1600
|
if [ "$TRANSACTIONAL_UPDATE" = "true" ] && [ "x$TRANSACTIONAL_UPDATE_ROOT" != "x" ]; then
|
||||||
|
# Add instance of /var/livepatches if it doesn't already exist.
|
||||||
# Add instance of /var/livepatches if it doesn't already exist.
|
grep -qxF '%{addline}' %{ld_so_conf} || echo '%{addline}' >> %{ld_so_conf}
|
||||||
grep -qxF '%{addline}' %{ld_so_conf} || echo '%{addline}' >> %{ld_so_conf}
|
else
|
||||||
|
# Remove any instance of /var/livepatches from ld.so.conf if it exists. There
|
||||||
|
# is a bug in older verisons of libpulp tools that add this live even for
|
||||||
|
# non-transactional systems.
|
||||||
|
sed -i '\#%{addline}#d' %{ld_so_conf}
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -n libpulp-tools
|
%postun -n libpulp-tools
|
||||||
|
|
||||||
@@ -133,7 +138,6 @@ if [ "$1" == "0" ]; then
|
|||||||
# Delete all instances of libpulp in the ld_so_conf.
|
# Delete all instances of libpulp in the ld_so_conf.
|
||||||
sed -i '\#%{addline}#d' %{ld_so_conf}
|
sed -i '\#%{addline}#d' %{ld_so_conf}
|
||||||
fi
|
fi
|
||||||
%endif
|
|
||||||
|
|
||||||
%post -n libpulp0 -p /sbin/ldconfig
|
%post -n libpulp0 -p /sbin/ldconfig
|
||||||
%postun -n libpulp0 -p /sbin/ldconfig
|
%postun -n libpulp0 -p /sbin/ldconfig
|
||||||
|
|||||||
42
rpm-helper
42
rpm-helper
@@ -86,21 +86,26 @@ do_movelibs()
|
|||||||
local addline="/var/livepatches/$PACKAGE/$VER/libs"
|
local addline="/var/livepatches/$PACKAGE/$VER/libs"
|
||||||
local line_pattern="/var/livepatches/$PACKAGE/.*/libs"
|
local line_pattern="/var/livepatches/$PACKAGE/.*/libs"
|
||||||
|
|
||||||
[[ -e $ld_so_conf ]] && sed -i "\#$line_pattern#d" $ld_so_conf
|
# check if we are running a transactional update. if no, there is no need to
|
||||||
|
# move libraries around.
|
||||||
|
if [ "$TRANSACTIONAL_UPDATE" = "true" ] && [ "x$TRANSACTIONAL_UPDATE_ROOT" != "x" ]; then
|
||||||
|
[[ -e $ld_so_conf ]] && sed -i "\#$line_pattern#d" $ld_so_conf
|
||||||
|
|
||||||
echo "$addline" >> $ld_so_conf
|
echo "$addline" >> $ld_so_conf
|
||||||
|
|
||||||
mkdir -p $addline
|
mkdir -p $addline
|
||||||
|
|
||||||
for i in $(seq 1 3); do
|
for i in $(seq 1 3); do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
for file in "$@"; do
|
for file in "$@"; do
|
||||||
[[ -e $file ]] && install -D -Z $file "$addline/$(basename $file)"
|
[[ -e $file ]] && install -D -Z $file "$addline/$(basename $file)"
|
||||||
done
|
done
|
||||||
|
|
||||||
/sbin/ldconfig
|
# Update ldconfig cache for the old snapshot.
|
||||||
|
/sbin/ldconfig -r /proc/1/root/
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Execute this on sle-micro to move the new libraries to the current snapshot.
|
# Execute this on sle-micro to move the new libraries to the current snapshot.
|
||||||
@@ -115,14 +120,19 @@ do_removelibs()
|
|||||||
local addline="/var/livepatches/$PACKAGE/$VER/libs"
|
local addline="/var/livepatches/$PACKAGE/$VER/libs"
|
||||||
local line_pattern="/var/livepatches/$PACKAGE/.*/libs"
|
local line_pattern="/var/livepatches/$PACKAGE/.*/libs"
|
||||||
|
|
||||||
# Remove the line of ld.so.conf
|
# check if we are running a transactional update. if no, there is no need to
|
||||||
[[ -e $ld_so_conf ]] && sed -i "\#$line_pattern#d" $ld_so_conf
|
# move libraries around.
|
||||||
|
if [ "$TRANSACTIONAL_UPDATE" = "true" ] && [ "x$TRANSACTIONAL_UPDATE_ROOT" != "x" ]; then
|
||||||
|
# Remove the line of ld.so.conf
|
||||||
|
[[ -e $ld_so_conf ]] && sed -i "\#$line_pattern#d" $ld_so_conf
|
||||||
|
|
||||||
# Update ldconfig cache.
|
# Update ldconfig cache for the new snapshot, as programs may be using
|
||||||
/sbin/ldconfig
|
# libraries in that folder.
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
# Delete copied libs.
|
# Delete copied libs.
|
||||||
rm -rf $addline
|
rm -rf $addline
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Parse first argument (install or remove).
|
# Parse first argument (install or remove).
|
||||||
|
|||||||
Reference in New Issue
Block a user