simon-git: bob (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Apr 10 09:30:01 BST 2021
TL;DR:
593751c Minor improvements to Docker support.
Repository: https://git.tartarus.org/simon/bob.git
On the web: https://git.tartarus.org/?p=simon/bob.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-04-10 09:30:01
commit 593751cb103840677a1242e62903175088c2f71d
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=593751cb103840677a1242e62903175088c2f71d;hp=0b56916cb40d75d057af7c5128be529db7d49b0a
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 10 09:26:39 2021 +0100
Minor improvements to Docker support.
If you run a 32-bit Docker image on a 64-bit host machine, then
'uname' and 'arch' report the system architecture type as 64-bit (e.g.
"x86_64"), because Docker images share the host kernel. This
occasionally confuses client programs (in particular the 32-bit
cov-build) into refusing to run.
The fix is to wrap all the processes we run inside the container in an
invocation of 'setarch', which adjusts the architecture value seen by
userland processes' queries. So now we permit the config file to set a
variable 'docker_setarch_foo' alongside 'docker_foo', and if it's set,
we wrap the bob-delegate-server invocation in a setarch.
Also, while I'm here, assign a fixed hostname to containers, so that
if the hostname shows up anywhere in the output, it will be at least
vaguely meaningful.
execute.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
More information about the tartarus-commits
mailing list