aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/common.d/10_base
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2018-01-19 22:00:16 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2018-01-19 22:00:16 +0100
commitfc732ecbcb211afe7cdc3839e585eb6d25b7fc17 (patch)
treefbcc1d6a6c7207d326f2cbcf1f79d3d332e4657d /INSTALL/common.d/10_base
parent6312e46ce5597b15aa3469c8492a7a351e82b24c (diff)
10_base: install gpg first before any other package
Installing gpg too late may cause unauthenticated package installs and may lead to container build failures See: https://jira.automotivelinux.org/browse/SPEC-979?focusedCommentId=15403&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15403 Bug-AGL: SPEC-979 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'INSTALL/common.d/10_base')
-rw-r--r--INSTALL/common.d/10_base6
1 files changed, 3 insertions, 3 deletions
diff --git a/INSTALL/common.d/10_base b/INSTALL/common.d/10_base
index 686d399..42953b1 100644
--- a/INSTALL/common.d/10_base
+++ b/INSTALL/common.d/10_base
@@ -21,13 +21,13 @@ echo "Acquire::Retries 5;" >/etc/apt/apt.conf.d/99NetRetries
apt-get update -y
apt-get dist-upgrade -y
+# gpg no longer installed and is requested by apt-key command (Debian Bug report logs - #830696)
+apt-get install gpg -y
+
apt-get install -y passwd sudo openssh-server openssh-client vim systemd logrotate ifupdown locales
apt-get remove -y exim4 exim4-base exim4-config exim4-daemon-light
apt-get autoremove -y
-# gpg no longer installed and is requested by apt-key command (Debian Bug report logs - #830696)
-apt-get install gpg -y
-
# remove some useless systemd services
if [[ "$CONTAINER_TYPE" = "docker" ]]; then
for sysdir in /lib/systemd /etc/systemd; do