update zypper element
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
This commit is contained in:
parent
20879b2ec9
commit
336e286637
@ -4,4 +4,4 @@ set -eu
|
||||
set -o pipefail
|
||||
|
||||
# Enable caching packages for all repositories
|
||||
sudo zypper modifyrepo --all --keep-packages
|
||||
zypper modifyrepo --all --keep-packages
|
||||
|
Loading…
Reference in New Issue
Block a user