[Qa-jenkins-scm] [jenkins.debian.net] 02/03: Vary the GECOS of the two build users

Mattia Rizzolo mattia at debian.org
Wed Aug 31 13:37:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 42c36550ec0ff33b27f15e10f6f69f98f6c36bc4
Author: Paul Wise <pabs at debian.org>
Date:   Wed Aug 31 15:50:26 2016 +0800

    Vary the GECOS of the two build users
    
    This affects at least the Debian package libforms.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_build.sh                                             | 2 ++
 bin/reproducible_common.sh                                            | 1 +
 .../bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 .../cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 .../cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment       | 4 ++++
 .../odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 .../odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 .../opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 .../etc/pbuilder/rebuild-hooks/D01_modify_environment                 | 4 ++++
 .../rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 .../rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment  | 4 ++++
 hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++
 30 files changed, 115 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 99a73a9..02b70b2 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -587,6 +587,7 @@ first_build() {
 	cat > "$TMPCFG" << EOF
 BUILDUSERID=1111
 export BUILDUSERNAME=pbuilder1
+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
 export DEB_BUILD_OPTIONS="parallel=$NUM_CPU"
@@ -644,6 +645,7 @@ second_build() {
 	cat > "$TMPCFG" << EOF
 BUILDUSERID=2222
 export BUILDUSERNAME=pbuilder2
+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
 export DEB_BUILD_OPTIONS="parallel=$NUM_CPU"
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 2b668e2..11f247a 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -412,6 +412,7 @@ write_variation_table() {
 		write_page "<tr><td>/bin/sh</td><td>/bin/dash</td><td>/bin/bash</td></tr>"
 		write_page "<tr><td>build path</td><td>/build-first <em>(not varied for stretch)</em></td><td>/build-second <em>(not varied for stretch)</em></td></tr>"
 		write_page "<tr><td>user's login shell</td><td>/bin/sh</td><td>/bin/bash</td></tr>"
+		write_page "<tr><td>user's <a href="https://en.wikipedia.org/wiki/Gecos_field">GECOS</a></td><td>first user,first room,first work-phone,first home-phone,first other</td><td>second user,second room,second work-phone,second home-phone,second other</td></tr>"
 		write_page "<tr><td>env DEB_BUILD_OPTIONS</td><td>DEB_BUILD_OPTIONS=\"parallel=XXX\"<br />  XXX on amd64 and i386: 18 or 17<br />  XXX on armhf: 8, 4 or 2</td><td>DEB_BUILD_OPTIONS=\"parallel=YYY\"<br />  YYY on amd64 and i386: 17 or 18 (!= the first build)<br />  YYY on armhf: 8, 4, or 2 (not varied systematically)</td></tr>"
 		write_page "<tr><td>UTS namespace</td><td><em>shared with the host</em></td><td><em>modified using</em> /usr/bin/unshare --uts</td></tr>"
 	else
diff --git a/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/bbx15-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cb3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/cbxi4pro0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/ff2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/ff2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/ff4a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/hb0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins-test-vm/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odu3a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/odxu4c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2a-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/opi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build1-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build10-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build5-amd64/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/profitbricks-build6-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/rpi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/rpi2c-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/wbd0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it
diff --git a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7418921..27fd644 100755
--- a/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/wbq0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -20,6 +20,10 @@ DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
 if [ -n "$BUILDUSERNAME" ] ; then
 	echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
 	usermod -s /bin/bash $BUILDUSERNAME
+	if [ -n "$BUILDUSERGECOS" ] ; then
+		echo "I: Setting $BUILDUSERNAME's GECOS to $BUILDUSERGECOS" >&2
+		usermod -c "$BUILDUSERGECOS" $BUILDUSERNAME
+	fi
 fi
 
 # temporarily disable disorderfs as we have problems properly unmounting it

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list