summaryrefslogtreecommitdiffstats
path: root/hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-10 12:01:00 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-10 12:01:02 +0200
commit47a27c52282aa61e5af69b729054d60741608c64 (patch)
tree4c1b3ef8c63570245588a6bc22a6756a54efacdc /hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment
parent1244aad527268cb115d992e1db327dfe73d54f20 (diff)
downloadjenkins.debian.net-47a27c52282aa61e5af69b729054d60741608c64.tar.xz
fixup 1244aad: reproducible Debian: vary user's login shell
Diffstat (limited to 'hosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment')
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment4
1 files changed, 2 insertions, 2 deletions
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 bc769ef1..0b173672 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
@@ -17,8 +17,8 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
echo "I: Changing /bin/sh to bash" >&2
echo "dash dash/sh boolean false" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
-echo "I: Setting $USER's login shell to /bin/bash" >&2
-usermod -s /bin/bash $USER
+echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2
+usermod -s /bin/bash $BUILDUSERNAME
# temporarily disable disorderfs as we have problems properly unmounting it
exit 0