From 8fa95065c155b79e6a4bbcd2d74b51f764055024 Mon Sep 17 00:00:00 2001 From: Jan-Simon Moeller Date: Sun, 3 Oct 2021 22:48:34 +0200 Subject: Fix sudo and add gitlab-runner to buildimage Signed-off-by: Jan-Simon Moeller Change-Id: Ia3e1ef044cda12ec919336ba4c81295d5ef00032 --- packer/provision/agl_dependencies.sh | 48 ++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 16 deletions(-) (limited to 'packer/provision') diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index 4d76742a..7893f34f 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -26,7 +26,7 @@ sync cat /etc/apt/sources.list -DEBIAN_FRONTEND=noninteractive apt-get –-purge remove plymouth-theme* plymouth +DEBIAN_FRONTEND=noninteractive apt-get --purge remove plymouth-theme* plymouth DEBIAN_FRONTEND=noninteractive apt-get autoremove @@ -76,6 +76,7 @@ cat <> /etc/hosts # workaround for download 10.30.72.8 download.automotivelinux.org 10.30.72.8 download-internal.automotivelinux.org +127.0.0.1 ubuntu-16 EOFHOSTS @@ -103,11 +104,11 @@ EOFSYSCTL # taken from container setup script. not documented in readme. # install node.js and tools (npm, gulp, bower) # -curl -v --connect-timeout 60 --retry 3 -sL https://deb.nodesource.com/setup_12.x | bash - -DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs -which -a npm -dpkg -L nodejs -npm install --global gulp bower +#curl -v --connect-timeout 60 --retry 3 -sL https://deb.nodesource.com/setup_12.x | bash - +#DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs +#which -a npm +#dpkg -L nodejs +#npm install --global gulp bower ################### SDX181207 { - obsolete: section until closing brace should be removed after migration to next docsite # tools used to generate developer website (https://github.com/automotive-grade-linux/docs-agl) @@ -143,22 +144,22 @@ sudo pip3 install --upgrade jsonpatch python -c "import sys; print sys.path" -sudo pip show jinja2 -sudo pip3 show jinja2 +#sudo pip show jinja2 +#sudo pip3 show jinja2 # install go for xds build . /etc/os-release -wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | sudo apt-key add - -sudo bash -c "cat >> /etc/apt/sources.list.d/golang.list <> /etc/apt/sources.list.d/golang.list <