diff --git a/config.sh b/config.sh index 5b90922..8332267 100644 --- a/config.sh +++ b/config.sh @@ -19,4 +19,13 @@ fi +#======================================= +# Clean up after zypper if it is present +#--------------------------------------- +if command -v zypper > /dev/null; then + zypper -n clean +fi + +rm -rf /var/log/zypp + exit 0 diff --git a/micro-image.changes b/micro-image.changes index 473a0f4..c0c12ed 100644 --- a/micro-image.changes +++ b/micro-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Apr 28 10:15:38 UTC 2022 - Dan Čermák + +- Ensure that /var/log/zypp is not present in the image diff --git a/micro-image.kiwi b/micro-image.kiwi index 0b44116..cf17633 100644 --- a/micro-image.kiwi +++ b/micro-image.kiwi @@ -56,4 +56,4 @@ - + \ No newline at end of file