Skip to content

Commit 0d92953

Browse files
author
oech3
committed
build-gnu.sh: Freeze SELinux build mode
1 parent 73d1bce commit 0d92953

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

util/build-gnu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ else
140140
# Change the PATH to test the uutils coreutils instead of the GNU coreutils
141141
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" tests/local.mk
142142
./bootstrap --skip-po
143-
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references
143+
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \
144+
"$([ ${SELINUX_ENABLED} = 1 ] && echo --with-selinux || echo --without-selinux)"
144145
#Add timeout to to protect against hangs
145146
sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver
146147
sed -i 's| tr | /usr/bin/tr |' tests/init.sh

0 commit comments

Comments
 (0)