mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-11-03 03:26:11 +00:00
Merge branch 'pr/selinux-var' into 'main'
minimal: Add /var/lib/selinux -> /etc/selinux symlink See merge request fedora/bootc/base-images!401
This commit is contained in:
commit
ef7668cbb0
2 changed files with 5 additions and 0 deletions
|
|
@ -4,4 +4,6 @@ set -xeuo pipefail
|
|||
ln -s ../run var/run
|
||||
# https://gitlab.com/fedora/bootc/tracker/-/issues/58
|
||||
mkdir -p var/lib/rpm-state
|
||||
# https://github.com/coreos/rpm-ostree/pull/5572
|
||||
ln -s ../../etc/selinux var/lib/selinux
|
||||
test -d var/tmp || mkdir -m 1777 var/tmp
|
||||
|
|
|
|||
|
|
@ -2,3 +2,6 @@
|
|||
set -xeuo pipefail
|
||||
# Verify directories we expect to exist
|
||||
test -d var/tmp
|
||||
# SELinux store compatibility symlink for rpm-ostree systems
|
||||
test -L var/lib/selinux
|
||||
test "$(readlink var/lib/selinux)" = "../../etc/selinux"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue