summaryrefslogtreecommitdiffstats
path: root/hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment')
-rwxr-xr-xhosts/odxu4b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment4
1 files changed, 4 insertions, 0 deletions
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 74189218..27fd6445 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