Browse Source

Fix: git module requires user to exist

Git module used by Pegleg requires user to exist in /etc/passwd file,
or at least to have USER environment set to something. This patch
sets the variable.

Change-Id: I7fbb60b856c6ee7c26ff0dcec5778687836bb8b3
changes/07/667707/2
Roman Gorshunov 2 years ago
committed by Kaspars Skels
parent
commit
29e92a499c
  1. 4
      tools/airship

4
tools/airship

@ -114,6 +114,10 @@ pegleg() {
versions_lookup "['data']['images']['ucp']['pegleg']['pegleg']"
cat >> $ENV_FILE << EOF
USER=pegleg
EOF
docker run --rm --net=host $TERM_OPTS \
-u "${USER}:${GROUP}" \
-w /target \

Loading…
Cancel
Save