fix: recursive restorecon for reposync

- set reposync to restore selinux controls on all files in the new
  snap_path
This commit is contained in:
Ben Vincent 2024-02-10 15:19:12 +11:00
parent 6b11ea09c7
commit 8332d4f374

View File

@ -89,6 +89,6 @@ for conf in /etc/reposync/conf.d/*.conf; do
create_repo_metadata "${snap_path}"
# Update selinux
restorecon <%= @basepath %>
restorecon -R ${snap_path}
done