Skip to content

Commit

Permalink
Merge pull request #736 from mrc0mmand/selinux-tweaks
Browse files Browse the repository at this point in the history
vagrant(rawhide): fix SELinux labels on dracut modules
  • Loading branch information
mrc0mmand authored Nov 11, 2024
2 parents a416d92 + 8ff8ef5 commit 6e07183
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vagrant/bootstrap_scripts/rawhide-selinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ git clone https://github.com/dracut-ng/dracut-ng
pushd dracut-ng
./configure
make -j "$(nproc)"
# FIXME: newer dracut moved test modules under the test/ directory and created
# symlinks to the original location, which causes some issues
# See: https://github.com/dracut-ng/dracut-ng/issues/695
rm -rf /usr/lib/dracut/modules.d/80test*
make install
# Fix SELinux labels on module files
restorecon -Rv /usr/lib/dracut
dracut --version

systemd-analyze set-log-level debug
Expand Down

0 comments on commit 6e07183

Please sign in to comment.