diff options
author | Petr Ospalý <p.ospaly@partner.samsung.com> | 2019-04-05 09:59:30 +0200 |
---|---|---|
committer | Petr Ospalý <p.ospaly@partner.samsung.com> | 2019-04-05 10:00:29 +0200 |
commit | bef7cab612005cea481b11b2ac88c06604572efe (patch) | |
tree | c422c41f4acaa2fad52d145b944f9f75b982551b /ansible/docker | |
parent | aa32f08892e45208312e3c4e4f9b3bcdd250d8cd (diff) |
Fix wrapper shell script in chroot
Change-Id: I4f88d47c633096a82ef113dca2d58e584c43d1ae
Issue-ID: OOM-1744
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Diffstat (limited to 'ansible/docker')
-rwxr-xr-x | ansible/docker/run_chroot.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/docker/run_chroot.sh b/ansible/docker/run_chroot.sh index 268143ed..8ae9c188 100755 --- a/ansible/docker/run_chroot.sh +++ b/ansible/docker/run_chroot.sh @@ -364,6 +364,8 @@ fi #The redirection is to save our stdin, because we use it to pipe commands and we #may want interactivity. exec chroot "${CHROOT_DIR}" /bin/sh /dev/stdin "${CHROOT_WORKDIR:-/}" "$@" 3<&0 << "EOF" +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +export PATH mkdir -p $1 cd $1 shift |