From 0d92953e0169c0787aabec69d406e2e6658e88f1 Mon Sep 17 00:00:00 2001 From: oech3 <> Date: Fri, 14 Nov 2025 16:40:47 +0900 Subject: [PATCH] build-gnu.sh: Freeze SELinux build mode --- util/build-gnu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 3d2b509a2..cb23f0ad0 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -140,7 +140,8 @@ else # Change the PATH to test the uutils coreutils instead of the GNU coreutils sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" tests/local.mk ./bootstrap --skip-po - ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references + ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \ + "$([ ${SELINUX_ENABLED} = 1 ] && echo --with-selinux || echo --without-selinux)" #Add timeout to to protect against hangs sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver sed -i 's| tr | /usr/bin/tr |' tests/init.sh