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:
parent
d43808d88f
commit
c937f97595
@ -19,7 +19,8 @@
|
|||||||
|
|
||||||
# We do things that might exceed the default 2GiB tmpfs, and
|
# We do things that might exceed the default 2GiB tmpfs, and
|
||||||
# use the larger mounted space.
|
# 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 DIB_NO_TMPFS=1
|
||||||
export TMPDIR=/opt/dib_cache
|
export TMPDIR=/opt/dib_cache
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user