From 42c36550ec0ff33b27f15e10f6f69f98f6c36bc4 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Wed, 31 Aug 2016 15:50:26 +0800 Subject: Vary the GECOS of the two build users This affects at least the Debian package libforms. Signed-off-by: Mattia Rizzolo --- hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/bpi0-armhf-rb') 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 74189218..27fd6445 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 -- cgit v1.2.3-70-g09d2