From 59c757e0319fc03667b933d2d609dda0a0d19147 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 22 Feb 2015 12:05:55 +0000 Subject: Also change the domain --- etc/pbuilder/rebuild-hooks/D01_hostname | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/pbuilder/rebuild-hooks/D01_hostname b/etc/pbuilder/rebuild-hooks/D01_hostname index 1bf4c2d2..57c785b3 100755 --- a/etc/pbuilder/rebuild-hooks/D01_hostname +++ b/etc/pbuilder/rebuild-hooks/D01_hostname @@ -6,5 +6,6 @@ set -e [ "$(readlink /proc/1/ns/uts)" = "$(readlink /proc/self/ns/uts)" ] && exit 0 echo "I: Changing hostname to test build reproducibility" >&2 -sed -e '/^127.0.0.1/s/$/ i-capture-the-hostname/' -i /etc/hosts +sed -e '/^127.0.0.1/s/$/ i-capture-the-hostname i-capture-the-hostname.i-capture-the-domain/' -i /etc/hosts hostname i-capture-the-hostname +domainname i-capture-the-domain -- cgit v1.2.3-54-g00ecf