Merge "zypper: Clean caches and don't cache packages locally"
This commit is contained in:
commit
609bcee27b
10
diskimage_builder/elements/zypper/post-install.d/98-zypper-clean-cache
Executable file
10
diskimage_builder/elements/zypper/post-install.d/98-zypper-clean-cache
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
# clean all locally cached metadata
|
||||
sudo zypper clean -a
|
Loading…
Reference in New Issue
Block a user