diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-05-28 18:21:30 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-05-28 18:21:30 +0200 |
commit | 4314e5dc6a608824a2e66870e4247f9b4d0e7908 (patch) | |
tree | 6bd7b7d593c3cb4b448fb3e0ce380191fa12953a /fai | |
parent | 160dc121abf5690294da717ff197152f25f60113 (diff) |
fai-test: fix file permission
fai.log is owned by root, needs sudo to be accessed.
Change-Id: I510239a3e58a61d91c2a56cc0a574c09e33fba0b
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'fai')
-rw-r--r-- | fai/builders.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fai/builders.sh b/fai/builders.sh index e620a3c1..276be2f5 100644 --- a/fai/builders.sh +++ b/fai/builders.sh @@ -45,7 +45,7 @@ sudo fai-diskimage -v --cspace $(pwd) \ --class $(echo SAVECACHE,${FAI_CLASS} | tr '[:lower:]' '[:upper:]') \ ${WORKSPACE}/builddir/linaro-test-fai-${BUILD_NUMBER}.img.raw -if grep -E '^(ERROR:|WARNING: These unknown packages are removed from the installation list|Exit code task_)' /var/log/fai/linaro/last/fai.log +if sudo grep -E '^(ERROR:|WARNING: These unknown packages are removed from the installation list|Exit code task_)' /var/log/fai/linaro/last/fai.log then echo "Errors during build" exit 1 |