From 319c1e2dfa0e0b095881b218c78ed08793ba5429 Mon Sep 17 00:00:00 2001 From: E <79379754+oech3@users.noreply.github.com> Date: Wed, 12 Nov 2025 13:37:47 +0900 Subject: [PATCH] ci: Mark runcon-no-reorder as SELinux required --- util/gnu-patches/runcon-no-reorder.patch | 14 ++++++++++++++ util/gnu-patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 util/gnu-patches/runcon-no-reorder.patch diff --git a/util/gnu-patches/runcon-no-reorder.patch b/util/gnu-patches/runcon-no-reorder.patch new file mode 100644 index 000000000..833e37dca --- /dev/null +++ b/util/gnu-patches/runcon-no-reorder.patch @@ -0,0 +1,14 @@ +--git a/tests/runcon/runcon-no-reorder.sh b/tests/runcon/runcon-no-reorder.sh +index 2027555..956c51e 100644 +--- a/tests/runcon/runcon-no-reorder.sh ++++ b/tests/runcon/runcon-no-reorder.sh +@@ -16,6 +16,9 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + ++# We don't have runcon buildable without libselinux. ++_require_selinux_ ++ + . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src + print_ver_ runcon + diff --git a/util/gnu-patches/series b/util/gnu-patches/series index 5fb1398cd..e47d52242 100644 --- a/util/gnu-patches/series +++ b/util/gnu-patches/series @@ -11,3 +11,4 @@ tests_tsort.patch tests_du_move_dir_while_traversing.patch test_mkdir_restorecon.patch error_msg_uniq.diff +runcon-no-reorder.patch