Make dib_cache dir with sudo in dib jobs

We forgot to make this dir as sudo so we fail with permission denied.

Change-Id: Ifbeb5eea8ed72194d86b3bc3b693f7d1c9b592de
This commit is contained in:
Gregory Haynes 2016-06-23 15:23:29 +00:00
parent d43808d88f
commit c937f97595

View File

@ -19,7 +19,8 @@
# We do things that might exceed the default 2GiB tmpfs, and
# use the larger mounted space.
mkdir /opt/dib_cache
sudo mkdir /opt/dib_cache
sudo chown jenkins:jenkins /opt/dib_cache
export DIB_NO_TMPFS=1
export TMPDIR=/opt/dib_cache