File config-overlay.sh of Package transparent_aws-cli
#!/bin/bash
set -ex
# No package database in delta containers
for profile in ${kiwi_profiles//,/ }; do
if [ "${profile}" = "sdk" ]; then
# copy on write, make sure /systemfiles are part of
# the SDK delta container
echo >> /systemfiles
fi
if [ "${profile}" = "sdk" ] || [ "${profile}" = "aws" ]; then
rm -rf /usr/lib/sysimage/rpm
rm -rf /var/log
fi
done