config.sh: Move FEX cleanup to the finalization section
This ensures that the FEX image build does not fail.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user