Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0d61635
Omit SELINUX_PROGS on non SELinux env
oech3 Oct 19, 2025
796c761
Test make without libselinux
oech3 Oct 19, 2025
34d3f0c
Drop runcon from tests_invalid_opt.patch for non-SELinux env
oech3 Oct 20, 2025
8dd81de
build-gnu.sh: Force build SELINUX_PROGS for tests
oech3 Oct 20, 2025
675e488
Remove typo of build-gnu.sh
oech3 Oct 20, 2025
ef39664
build-gnu.sh: Addmossing SELINUX_PROGS by cargo
oech3 Oct 20, 2025
0b10c8c
Enable tests/runcon/runcon-no-reorder
oech3 Oct 20, 2025
614f0a9
Replace := with +=
oech3 Oct 23, 2025
dfc712c
build-gnu.sh omit uu_chcon
oech3 Nov 8, 2025
5879d01
backport skipping selinux
oech3 Nov 8, 2025
c23ebeb
Merge branch 'main' into noselinuxprogs
oech3 Nov 9, 2025
a355771
Add missing export to build-gnu.sh
oech3 Nov 10, 2025
b76f8bf
Merge branch 'main' into noselinuxprogs
oech3 Nov 10, 2025
d612238
Update build-gnu.sh: let SELINUX_ENABLED=0 by default
oech3 Nov 10, 2025
a1adf60
Simplify build-gnu.sh
oech3 Nov 10, 2025
1aa8fe1
GnuTests.yml: set SELINUX_ENABLED in lima
oech3 Nov 10, 2025
f69fa1c
Move runcon-no-reorder to selinux_tests.txt
oech3 Nov 10, 2025
bf4ccbd
Merge branch 'main' into noselinuxprogs
oech3 Nov 10, 2025
9f708e6
Fix typo
oech3 Nov 10, 2025
6a1ee22
Remove backport from coreutils 9.9
oech3 Nov 10, 2025
9b9b995
Update GnuTests.yml
oech3 Nov 10, 2025
59daee9
GnuTests.yml: remove wrong apt-get install
oech3 Nov 10, 2025
0456b30
Add accidentary removed newline
oech3 Nov 11, 2025
e77ded1
Update build-gnu.sh
oech3 Nov 11, 2025
d0d4351
Update GnuTests.yml
oech3 Nov 11, 2025
41801e3
Merge branch 'main' into noselinuxprogs
oech3 Nov 11, 2025
070559d
resolve conflict
oech3 Nov 11, 2025
50fc779
Merge branch 'main' into noselinuxprogs
oech3 Nov 12, 2025
a231f26
Reduce diff
oech3 Nov 12, 2025
e44a76e
Remove libselinux from host
oech3 Nov 12, 2025
270b52d
Merge branch 'main' into noselinuxprogs
oech3 Nov 12, 2025
857563d
Drop useless string
oech3 Nov 13, 2025
10f1ca7
Merge branch 'main' into noselinuxprogs
oech3 Nov 13, 2025
c5582d4
Merge branch 'main' into noselinuxprogs
oech3 Nov 13, 2025
38e7fbe
CICD.yml: Minimize tests
oech3 Nov 14, 2025
dfa30bc
Merge branch 'main' into noselinuxprogs
oech3 Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ jobs:
target: aarch64-unknown-linux-gnu
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Install/setup prerequisites
shell: bash
run: |
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
# Test build on the system missing libselinux (don't install libselinux1-dev at here)
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
- name: "`make build`"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
- name: Install dependencies
shell: bash
run: |
## Install dependencies
## Install dependencies (without libselinux)
sudo apt-get update
sudo apt-get install -y autopoint gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev libselinux1-dev attr quilt
sudo apt-get install -y autopoint gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev attr quilt
- name: Add various locales
shell: bash
run: |
Expand Down
12 changes: 4 additions & 8 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,11 @@ HASHSUM_PROGS := \

$(info Detected OS = $(OS))

# Build the SELinux programs only on Linux
ifeq ($(filter $(OS),Linux),)
SELINUX_PROGS :=
endif

ifneq ($(OS),Windows_NT)
PROGS := $(PROGS) $(UNIX_PROGS)
# Build the selinux command even if not on the system
PROGS := $(PROGS) $(SELINUX_PROGS)
PROGS += $(UNIX_PROGS)
endif
ifeq ($(SELINUX_ENABLED),1)
PROGS += $(SELINUX_PROGS)
endif

UTILS ?= $(filter-out $(SKIP_UTILS),$(PROGS))
Expand Down
Loading