Skip to content

Commit

Permalink
Set a sane HOME for binarypkg jobs (#1013)
Browse files Browse the repository at this point in the history
The comment above this invocation indicates that apt needs HOME to be
set to something, but the variable is set to an empty string. This is
even more critical for running the buildfarm using rootless Podman,
because `/` is no longer writable and seems to be the default of HOME is
empty.
  • Loading branch information
cottsay authored Mar 18, 2024
1 parent bde7721 commit 3634e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros_buildfarm/templates/release/deb/binarypkg_job.xml.em
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ but disabled since the package is blacklisted (or not whitelisted) in the config
'docker run' +
' --rm ' +
' --cidfile=$WORKSPACE/docker_build_binarydeb/docker.cid' +
' -e=HOME=' +
' -e=HOME=/home/buildfarm' +
' -e=TRAVIS=$TRAVIS' +
' --net=host' +
' -v $WORKSPACE/ros_buildfarm:/tmp/ros_buildfarm:ro' +
Expand Down

0 comments on commit 3634e05

Please sign in to comment.