f8a0715c56
This provides some customizations for zypper based distributions (e.g. openSUSE and SLES). It is heavily inspired by the yum element and sets up zypper to cache downloaded package outside of the chroot so that they can be reused to speed up subsequent builds. Change-Id: I775c921ee19cf7d1180fb68c1b7857ea6245a77d
6 lines
117 B
Bash
Executable file
6 lines
117 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Disable caching packages for all repositories
|
|
sudo zypper modifyrepo --all --no-keep-packages
|