diff options
author | Chris Lamb <lamby@debian.org> | 2015-02-22 12:05:55 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-22 15:02:35 +0100 |
commit | 59c757e0319fc03667b933d2d609dda0a0d19147 (patch) | |
tree | 9da9e513117589f7d6d5841335e7dff08f1fffe8 | |
parent | 7c0852af9832860880e896e51de2f265e9fcf891 (diff) | |
download | jenkins.debian.net-59c757e0319fc03667b933d2d609dda0a0d19147.tar.xz |
Also change the domain
-rwxr-xr-x | etc/pbuilder/rebuild-hooks/D01_hostname | 3 |
1 files changed, 2 insertions, 1 deletions
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 |