Stop shipping glibc32-debuginfo (RHEL-142225)
By stripping the symbol table from the glibc32 shared objects, we disable the creation of debuginfo packages, which we do not need nor want to ship. Resolves: RHEL-142225
This commit is contained in:
parent
95397ac3f7
commit
de4975d0d4
@ -1437,6 +1437,15 @@ rm -rf etc var usr/bin usr/lib/gconv usr/libexec usr/sbin usr/share
|
||||
rm -f lib/libnss_db* lib/libnss_hesiod* lib/libnsl* usr/lib/libnsl* usr/lib/libnss*
|
||||
rm usr/lib/libc_malloc_debug.so
|
||||
strip -g usr/lib/*.o
|
||||
for f in usr/lib/*.so; do
|
||||
case "$f" in
|
||||
# libc.so is a text file, not an object
|
||||
usr/lib/libc.so ) ;;
|
||||
* ) strip $f ;;
|
||||
esac
|
||||
done
|
||||
strip usr/lib/*.so.?
|
||||
strip usr/lib/audit/*.so
|
||||
popd
|
||||
mkdir glibc32-headers
|
||||
cp -a %{glibc_sysroot}%{_includedir} glibc32-headers
|
||||
|
||||
Loading…
Reference in New Issue
Block a user