[reprotest] 01/01: build: comment about why we do 'sudo -h localhost'
Ximin Luo
infinity0 at debian.org
Fri Nov 24 19:52:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository reprotest.
commit 3143efa4960011033d9c522d9b3e4f6e22901763
Author: Ximin Luo <infinity0 at debian.org>
Date: Fri Nov 24 20:52:27 2017 +0100
build: comment about why we do 'sudo -h localhost'
---
reprotest/build.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/reprotest/build.py b/reprotest/build.py
index 70554dd..b9a53b1 100644
--- a/reprotest/build.py
+++ b/reprotest/build.py
@@ -397,6 +397,8 @@ def current_user_group():
return getpass.getuser(), grp.getgrgid(os.getgid()).gr_name
+# -h localhost otherwise we get annoying messages about "can't resolve host"
+# especially when doing the domain_host variation
SUDO = ['sudo', '-h', 'localhost']
def make_sudo_command(user, group):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list