summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPaul Wise <pabs@debian.org>2016-08-31 16:08:26 +0800
committerMattia Rizzolo <mattia@debian.org>2016-08-31 13:37:15 +0000
commitca05c0d637910683f861aa3953a68419e6fa02aa (patch)
tree3f1d620e789b8262eaeb14a67a5ed003d922c352 /bin
parent42c36550ec0ff33b27f15e10f6f69f98f6c36bc4 (diff)
downloadjenkins.debian.net-ca05c0d637910683f861aa3953a68419e6fa02aa.tar.xz
Vary the lengths of the two user names
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh4
-rwxr-xr-xbin/reproducible_common.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 02b70b27..3dde1feb 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -586,7 +586,7 @@ first_build() {
local TMPCFG=$(mktemp -t pbuilderrc_XXXX --tmpdir=$TMPDIR)
cat > "$TMPCFG" << EOF
BUILDUSERID=1111
-export BUILDUSERNAME=pbuilder1
+export BUILDUSERNAME=pbuilderfirst
export BUILDUSERGECOS="first user,first room,first work-phone,first home-phone,first other"
# pbuilder sets HOME to the value of BUILD_HOME…
BUILD_HOME=/nonexistent/first-build
@@ -644,7 +644,7 @@ second_build() {
esac
cat > "$TMPCFG" << EOF
BUILDUSERID=2222
-export BUILDUSERNAME=pbuilder2
+export BUILDUSERNAME=pbuildersecond
export BUILDUSERGECOS="second user,second room,second work-phone,second home-phone,second other"
# pbuilder sets HOME to the value of BUILD_HOME…
BUILD_HOME=/nonexistent/second-build
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 11f247a3..276cff6c 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -404,8 +404,8 @@ write_variation_table() {
fi
if [ "$1" = "debian" ] ; then
write_page "<tr><td>env BUILDUSERID</td><td>BUILDUSERID=\"1111\"</td><td>BUILDUSERID=\"2222\"</td></tr>"
- write_page "<tr><td>env BUILDUSERNAME</td><td>BUILDUSERNAME=\"pbuilder1\"</td><td>BUILDUSERNAME=\"pbuilder2\"</td></tr>"
- write_page "<tr><td>env USER</td><td>USER=\"pbuilder1\"</td><td>USER=\"pbuilder2\"</td></tr>"
+ write_page "<tr><td>env BUILDUSERNAME</td><td>BUILDUSERNAME=\"pbuilderfirst\"</td><td>BUILDUSERNAME=\"pbuildersecond\"</td></tr>"
+ write_page "<tr><td>env USER</td><td>USER=\"pbuilderfirst\"</td><td>USER=\"pbuildersecond\"</td></tr>"
write_page "<tr><td>env HOME</td><td>HOME=\"/nonexistent/first-build\"</td><td>HOME=\"/nonexistent/second-build\"</td></tr>"
write_page "<tr><td>uid</td><td>uid=1111</td><td>uid=2222</td></tr>"
write_page "<tr><td>gid</td><td>gid=1111</td><td>gid=2222</td></tr>"