aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-09-24 17:57:05 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2016-09-24 17:57:05 +0200
commit2793b9822f27d166d6a01892364dddba77893c5d (patch)
treefc3eba141176401e79f50a4911f45eb1c09a6c44 /packer
parente18abb183f060b18dc4b9359b7c4be86603fcf77 (diff)
Use bash instead of dash
Change-Id: If07aba5bd7926c16d67a80b929a3f9b61d9bd912 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/agl_dependencies.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index f0de4844..ca2a0181 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -6,6 +6,12 @@ DEBIAN_FRONTEND=noninteractive apt-get update && \
libtool libglib2.0-dev libarchive-dev python-git git python python-minimal repo mc \
tree rsync
+# we have a build blocker wrt useradd - I assume it is caused by /bin/sh being dash
+# systemd: Performing useradd with
+echo "dash dash/sh boolean false" | debconf-set-selections
+DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
+
+# Preclone the gerrit repos for speed (use with --reference=/opt/AGL/preclone)
mkdir -p /opt/AGL/preclone
cd /opt/AGL/preclone
repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo