Blame config.sh

f85c74
#!/bin/bash
f85c74
# SPDX-License-Identifier: MIT
f85c74
# SPDX-FileCopyrightText: (c) 2022 SUSE LLC
f85c74
f85c74
set -euo pipefail
f85c74
f85c74
test -f /.kconfig && . /.kconfig
f85c74
test -f /.profile && . /.profile
f85c74
f85c74
echo "Configure image: [$kiwi_iname]..."
f85c74
f85c74
#============================================
f85c74
# Import repositories' keys if rpm is present
f85c74
#--------------------------------------------
f85c74
if command -v rpm > /dev/null; then
f85c74
    suseImportBuildKey
f85c74
fi
f85c74
f85c74
f85c74
f85c74
f85c74
#=======================================
f85c74
# Clean up after zypper if it is present
f85c74
#---------------------------------------
f85c74
if command -v zypper > /dev/null; then
f85c74
    zypper -n clean
f85c74
fi
f85c74
f85c74
rm -rf /var/log/zypp
f85c74
f85c74
exit 0