summaryrefslogtreecommitdiffstats
path: root/etc/pbuilder/rebuild-hooks
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-05 20:07:20 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-05 20:07:20 +0100
commitfca7a1eb5a48ca22d0a9e651563437368ed41daa (patch)
tree67b1c5ed6a45fc266ff00f93b602626e708cd498 /etc/pbuilder/rebuild-hooks
parentf8f75d19bc066dbe5a2880b0605bb47faf359875 (diff)
downloadjenkins.debian.net-fca7a1eb5a48ca22d0a9e651563437368ed41daa.tar.xz
reproducible: pretend we're running linux-2.6, or 2.6.56-0.bpo.4-amd64 to be exact
Diffstat (limited to 'etc/pbuilder/rebuild-hooks')
-rwxr-xr-xetc/pbuilder/rebuild-hooks/D01_modify_environment2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/pbuilder/rebuild-hooks/D01_modify_environment b/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 57c785b3..db71ccf4 100755
--- a/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -9,3 +9,5 @@ echo "I: Changing hostname to test build reproducibility" >&2
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
+# let's pretend we're using a different kernel version
+linux64 --uname-2.6