aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
-rwxr-xr-xconfig.sh2
-rw-r--r--teams/cloud/wsl.xml2
2 files changed, 1 insertions, 3 deletions
diff --git a/config.sh b/config.sh
index a81dc31..94b51e5 100755
--- a/config.sh
+++ b/config.sh
@@ -16,7 +16,7 @@ echo "Configure image: [$kiwi_iname]-[$kiwi_profiles]..."
#======================================
# Set SELinux booleans
#--------------------------------------
-if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]]; then
+if [[ "$kiwi_profiles" != *"Container"* ]] && [[ "$kiwi_profiles" != *"FEX"* ]] && [[ "$kiwi_profiles" != *"WSL"* ]]; then
## Fixes KDE Plasma, see rhbz#2058657
setsebool -P selinuxuser_execmod 1
fi
diff --git a/teams/cloud/wsl.xml b/teams/cloud/wsl.xml
index 750de2d..ffafb79 100644
--- a/teams/cloud/wsl.xml
+++ b/teams/cloud/wsl.xml
@@ -15,9 +15,7 @@
<package name="dnf5"/>
<package name="dnf5-plugins"/>
<package name="fedora-release-wsl"/>
- <package name="policycoreutils"/>
<package name="rpm"/>
- <package name="selinux-policy-targeted"/>
</packages>
<packages type="image" patternType="plusRecommended" profiles="WSL-Base">
<package name="attr"/>