diff options
Diffstat (limited to 'etc/pbuilder')
-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 |