Skip to content

Commit

Permalink
ci: Change to use BOOTC_SKIP_SELINUX_HOST_CHECK
Browse files Browse the repository at this point in the history
As we work to change ostree to set up the labels
for things even in a selinux-host-disabled case, let's test
it here.
  • Loading branch information
cgwalters committed Feb 6, 2024
1 parent 2c1362d commit 0233c66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/bootc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
- name: bootc install
run: |
set -xeuo pipefail
sudo podman run --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \
sudo podman run --env BOOTC_SKIP_SELINUX_HOST_CHECK=1 --rm -ti --privileged -v /:/target --pid=host --security-opt label=disable \
-v /var/lib/containers:/var/lib/containers \
localhost/test:latest bootc install to-filesystem --skip-fetch-check \
--disable-selinux --replace=alongside /target
--replace=alongside /target
# Verify labeling for /etc
sudo ls -Z /ostree/deploy/default/deploy/etc

0 comments on commit 0233c66

Please sign in to comment.