Skip to content
Snippets Groups Projects
Commit 1a3fd043 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

make-ring: remove hardcoded sudo

Standardize make-ring.py file (other distros don't have sudo hardcoded).
No longer require sudo in a fresh docker container where user is already
root.

Change-Id: I0e1cd8646718300a24ff777e0808170a1d8038a2
parent 6d77189d
Branches
No related tags found
No related merge requests found
...@@ -54,18 +54,18 @@ BREW_INSTALL_SCRIPT = [ ...@@ -54,18 +54,18 @@ BREW_INSTALL_SCRIPT = [
] ]
RPM_INSTALL_SCRIPT = [ RPM_INSTALL_SCRIPT = [
'sudo dnf update', 'dnf update',
'sudo dnf install -y %(packages)s' 'dnf install -y %(packages)s'
] ]
PACMAN_INSTALL_SCRIPT = [ PACMAN_INSTALL_SCRIPT = [
'sudo pacman -Sy', 'pacman -Sy',
'sudo pacman -S %(packages)s' 'pacman -S %(packages)s'
] ]
ZYPPER_INSTALL_SCRIPT = [ ZYPPER_INSTALL_SCRIPT = [
'sudo zypper update', 'zypper update',
'sudo zypper install -y %(packages)s' 'zypper install -y %(packages)s'
] ]
ZYPPER_DEPENDENCIES = [ ZYPPER_DEPENDENCIES = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment