336e286637
Scripts in pre-install.d run as root so there is no need to sudo commands. This patch also helps avoid an error when sudo is not installed in the default image. Change-Id: Iab20edfb161189f8c4e0cfa7d6946f63163d6413
7 lines
125 B
Bash
Executable file
7 lines
125 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Enable caching packages for all repositories
|
|
zypper modifyrepo --all --keep-packages
|