Skip to content

Commit 6e07183

Browse files
authored
Merge pull request #736 from mrc0mmand/selinux-tweaks
vagrant(rawhide): fix SELinux labels on dracut modules
2 parents a416d92 + 8ff8ef5 commit 6e07183

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

vagrant/bootstrap_scripts/rawhide-selinux.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ git clone https://github.com/dracut-ng/dracut-ng
7272
pushd dracut-ng
7373
./configure
7474
make -j "$(nproc)"
75-
# FIXME: newer dracut moved test modules under the test/ directory and created
76-
# symlinks to the original location, which causes some issues
77-
# See: https://github.com/dracut-ng/dracut-ng/issues/695
78-
rm -rf /usr/lib/dracut/modules.d/80test*
7975
make install
76+
# Fix SELinux labels on module files
77+
restorecon -Rv /usr/lib/dracut
8078
dracut --version
8179

8280
systemd-analyze set-log-level debug

0 commit comments

Comments
 (0)