Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c5a2d9a

Browse files
gmilekaHimaja Kesari
authored and
Himaja Kesari
committedFeb 26, 2025
Rev up minimum required Dracut version for LiveOS ISO (#118)
The logic in LiveOS ISO checks the Dracut version installed on the image to be customized. If it is below a certain version, it will always disable SELinux since it knows SELinux is not supported for that version and the image will not boot. However, if it is at or higher, it leave SELinux as-is. The problem is that this version is not set at 102-8, which has a known bug blocking booting LiveOS ISO images when SELinux is enabled. This change updates the version to a new Dracut package that has the fix necessary for booting LiveOS ISO image with SELinux enabled. See corresponding dracut change here: microsoft/azurelinux#11986 <!-- Description: Please provide a summary of the changes and the motivation behind them. --> --- ### **Checklist** - [ ] Tests added/updated - [ ] Documentation updated (if needed) - [x] Code conforms to style guidelines
1 parent 60094ea commit c5a2d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎toolkit/tools/pkg/imagecustomizerlib/liveosisoutils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616

1717
// Minumum dracut version required to enable SELinux.
1818
LiveOsSelinuxDracutMinVersion = 102
19-
LiveOsSelinuxDracutMinPackageRelease = 8
19+
LiveOsSelinuxDracutMinPackageRelease = 9
2020
LiveOsSelinuxDracutDistroName = "azl"
2121
LiveOsSelinuxDracutMinDistroVersion = 3
2222

0 commit comments

Comments
 (0)
Please sign in to comment.