Use /sbin/ldconfig path for lorax compatibility (RHEL-63048)

Related: RHEL-63048
This commit is contained in:
Florian Weimer 2024-11-13 16:54:09 +01:00
parent e6e4f6cc86
commit 35c3be35b4

View File

@ -115,7 +115,7 @@ end \
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
Release: %{glibcrelease}.8
Release: %{glibcrelease}.9
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries.
@ -1983,8 +1983,10 @@ chmod 644 sysdeps/gnu/errlist.c
# Reload compiler and build options that were used during %%build.
GCC=`cat Gcc`
# Create symbolic links for UsrMove. See below: Remove UsrMove symbolic links.
usrmove_file_names="bin lib lib64 sbin"
# Create symbolic links for UsrMove.
# Do not include sbin to work around lorax bug RHEL-67332.
# See below: Remove UsrMove symbolic links.
usrmove_file_names="bin lib lib64"
for d in $usrmove_file_names ; do
mkdir -p "%{glibc_sysroot}/usr/$d"
ln -s "usr/$d" "%{glibc_sysroot}/$d"
@ -2700,7 +2702,7 @@ fi
%systemd_postun_with_restart nscd.service
%files -f glibc.filelist
%{_sbindir}/ldconfig
/sbin/ldconfig
%{_sbindir}/iconvconfig
%{_libexecdir}/getconf
%{_prefix}%{glibc_ldso}
@ -2904,6 +2906,9 @@ fi
%{_libdir}/libpthread_nonshared.a
%changelog
* Wed Nov 13 2024 Florian Weimer <fweimer@redhat.com> - 2.28-251.9
- Use /sbin/ldconfig path for lorax compatibility (RHEL-63048)
* Mon Nov 11 2024 Patsy Griffin <patsy@redhat.com> - 2.28-251.8
- aarch64: MTE compatible strncmp (RHEL-61255)