
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
8 lines
125 B
Bash
Executable File
8 lines
125 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Enable caching packages for all repositories
|
|
zypper modifyrepo --all --keep-packages
|