aboutsummaryrefslogtreecommitdiff
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-20 19:43:41 -0400
committerGravatar Neal Gompa <ngompa@fedoraproject.org> 2025-03-20 19:43:41 -0400
commitdb073ec6ab1bf29c62c077e07086b782115258d4 (patch)
tree99c043290593505bba7411d2ca4ac57045150adc
parent6c39b23364606d4d8d8561061b7e5f85831a01e4 (diff)
downloadkiwi-descriptions-db073ec6ab1bf29c62c077e07086b782115258d4.tar.gz
kiwi-descriptions-db073ec6ab1bf29c62c077e07086b782115258d4.zip
config.sh: Move FEX cleanup to the finalization section
This ensures that the FEX image build does not fail.
-rwxr-xr-xconfig.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.sh b/config.sh
index 65ce889..a5f2309 100755
--- a/config.sh
+++ b/config.sh
@@ -302,6 +302,12 @@ EOF
fi
+#======================================
+# Finalization steps
+#--------------------------------------
+# Inhibit the ldconfig cache generation unit, see rhbz2348669
+touch -r "/usr" "/etc/.updated" "/var/.updated"
+
if [[ "$kiwi_profiles" == *"FEX"* ]]; then
# Remove most things except libraries used by FEX and wine stuff.
# Most binaries that are present in non-x86 architectures should be removed,
@@ -380,10 +386,4 @@ if [[ "$kiwi_profiles" == *"FEX"* ]]; then
rm /usr/bin/rm
fi
-#======================================
-# Finalization steps
-#--------------------------------------
-# Inhibit the ldconfig cache generation unit, see rhbz2348669
-touch -r "/usr" "/etc/.updated" "/var/.updated"
-
exit 0