util-linux: fix ptest failure for musl
PATCH v2 1/1 util-linux: fix ptest failure for musl
From: Chen Qi <[email protected]>
The kill/decode test case fails for musl. The root cause is the test case only considers glibc and uses 34 as SIGRTMIN while musl uses 35. Add patches to fix this issue.
Signed-off-by Chen Qi <[email protected]>
--- meta/recipes-core/util-linux/util-linux.inc | 2 + ...01-test_sysinfo.c-print-out-SIGRTMIN.patch | 50 +++++++++++++++++ ...se-SIGRTMIN-from-test_sysinfo-instea.patch | 56 +++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch create mode 100644 meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch
meta/recipes-core/util-linux/util-linux.inc +2 -0
@@ -42,6 +42,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin file://fcntl-lock.c \ file://0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch \ file://0001-lsfd-mkfds-foreign-sockets-skip-when-lacking-sock_di.patch \ + file://0001-test_sysinfo.c-print-out-SIGRTMIN.patch \ + file://0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch \ " SRC_URI[sha256sum] = "81ee93b3cfdfeb7d7c4090cedeba1d7bbce9141fd0b501b686b3fe475ddca4c6"
meta/recipes-core/util-linux/util-linux/0001-test_sysinfo.c-print-out-SIGRTMIN.patch new file +50 -0
50 lines not on this page · raw message
meta/recipes-core/util-linux/util-linux/0002-ts-kill-decode-use-SIGRTMIN-from-test_sysinfo-instea.patch new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
2.34.1