-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Description: Please provide a summary of the changes and the motivation behind them. --> [ic/iso] Support for SELinux. To enable SELinux for LiveOS ISOs, we need to: 1. Update the SELinux policies in the selinux-policy package. 2. Update the overlay logic to mark the overlay folders correctly in dracut's overlayfs module. Both these changes require updated versions of corresponding packages. This change updates MIC such that: - check if the installed selinux-policy and dracut packages are the new packages (or newer). - if either one is older, selinux is disabled and a warning is printed out. Note that disabling selinux for LiveOS isos has been the default behavior in the past. The changes include the following refactoring: - moving package related functions to a new packageinformation.go file. - introducing a new liveosisoutils.go to hold some of the new helper functions. This is because the main liveosisobild.go has grown too big and we need to start breaking it down. --- ### **Checklist** - [n/a] Tests added/updated - [x] Documentation updated (if needed) - [x] Code conforms to style guidelines
- Loading branch information
Showing
9 changed files
with
435 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.