commit | 305a9a5dd5f9a5794f37f0923449bbc14787deee | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Apr 07 11:08:40 2021 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Wed Apr 07 21:25:23 2021 +0000 |
tree | 1a61937d56863fbf9f224a1b01c782a15304fc0f | |
parent | 256ed5d88df02e236cfe43e2d62a99b5129cf751 [diff] |
ensure unit test ci can write /usr/local Certain repos like openpower-debug-collector generate their error files on the fly during build time. These are installed into /usr/local/share/phosphor-dbus-yaml/ sub-directories. Without this change, this is happening: /home/jenkins-op/workspace/ci-repository/openbmc/openpower-debug-collector > make -j 80 -l 80 -O cp: cannot create regular file '/usr/local/share/phosphor-dbus-yaml/yaml/org/open_power/Host/Boot.errors.yaml': Permission denied Since this is just a docker container and /usr/local is not persisted, give permission to all of /usr/local of the ID running the script. Tested: - Verified openpower-debug-collector repo now passes CI Change-Id: Iea1e89f017e9128b0c538392302b177b7c7d600d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Build script for CI jobs in Jenkins.