mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-07 05:57:58 +03:00
ci: Use BOOTC_SKIP_SELINUX_HOST_CHECK
, test labeling of /etc
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.
This commit is contained in:
parent
092a2b736d
commit
5cfc5c7b1f
6
.github/workflows/bootc.yaml
vendored
6
.github/workflows/bootc.yaml
vendored
@ -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 -dZ /ostree/deploy/default/deploy/*.0/etc |grep :etc_t:
|
||||
|
Loading…
x
Reference in New Issue
Block a user