Overwrite target for x86_64_v2

Update patch-git.lua to handle AlmaLinux branches correctly
This commit is contained in:
Eduard Abdullin 2026-03-05 01:42:36 +00:00 committed by root
commit 32310ce62d
4 changed files with 10 additions and 2 deletions

View File

@ -2357,7 +2357,7 @@ update_gconv_modules_cache ()
%endif
%changelog
* Tue Mar 03 2026 Eduard Abdullin <eabdullin@almalinux.org> - 2.39-115.alma.1
* Thu Mar 05 2026 Eduard Abdullin <eabdullin@almalinux.org> - 2.39-116.alma.1
- Overwrite target for x86_64_v2
- Update patch-git.lua to handle AlmaLinux branches correctly

View File

@ -14,5 +14,6 @@ recommend:
- glibc
- gdb
duration: 15m
order: 1000
extra-summary: /tools/glibc/Regression/bz1661513-glibc-Adjust-to-rpms-find-debuginfo-sh-changes-to-keep-stripping-binaries
extra-task: /tools/glibc/Regression/bz1661513-glibc-Adjust-to-rpms-find-debuginfo-sh-changes-to-keep-stripping-binaries

View File

@ -48,7 +48,7 @@ rlJournalStart
rlAssertGrep "ldconfig.*, stripped" output.log
rlAssertGrep "iconvconfig.*, stripped" output.log
rlAssertGrep "localedef.*, stripped" output.log
rlAssertGrep "ld-.*, not stripped" output.log
rlAssertGrep "$(readlink -f /usr/bin/ld.so).*, not stripped" output.log
rlLogInfo "Content of output.log:\n$(cat output.log)"
# some debugging info (e.g. pthread struct) should be accessible even without installed debuginfo packages

View File

@ -114,6 +114,13 @@ for ldso_debug_candidate in `find "$sysroot_path" -maxdepth 2 \
fi
done
rm -f "$ldso_debug"
# Same logic, but for installed ld-linux*.debug files, where the depth
# is more and there may be more than one (32-bit and 64-bit)
for ldso_debug_candidate in `find "$sysroot_path/usr/lib/debug" \
-regextype posix-extended \
-regex '.*/ld(-.*|64|)\.so\.[0-9]+.*debug$' -type f` ; do
rm -f "$ldso_debug_candidate"
done
# ld.so: Rewrite the source file paths to match the extracted
# locations. First compute the arguments for invoking debugedit.