eln/wsl: drop the SELinux packages from the ELN WSL image

WSL does not support SELinux, so at best it's pointless to install. This
also actively breaks WSL 1 users, although I don't think we should
suggest that we support that, and if the policy on the builder doesn't
match the target things break during the build.

It also reduced the build time from ~80 seconds to ~70 seconds for me,
so that's nice.

See: 39b379f7d ("wsl: drop the SELinux packages from the WSL base image")
Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
This commit is contained in:
Jeremy Cline
2025-08-28 14:59:00 -04:00
parent 39b379f7d9
commit d38b42b6e3
-2
View File
@@ -15,9 +15,7 @@
<package name="dnf5"/>
<package name="dnf5-plugins"/>
<package name="fedora-release-eln"/>
<package name="policycoreutils"/>
<package name="rpm"/>
<package name="selinux-policy-targeted"/>
</packages>
<packages type="image" patternType="plusRecommended" profiles="WSL-Base">
<package name="attr"/>