summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build2-i386/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-07-10 10:34:07 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-10 10:34:07 +0200
commit878abc5a79393b042f2d30fba6dde91864e7bcec (patch)
treefcf7b5e33d05483a654ad7fd874376bcbb7762dc /hosts/profitbricks-build2-i386/etc
parent12430e0818ea358d5a3883be0bf4e9852d743a93 (diff)
downloadjenkins.debian.net-878abc5a79393b042f2d30fba6dde91864e7bcec.tar.xz
reproducible Debian: vary user's login shell
Diffstat (limited to 'hosts/profitbricks-build2-i386/etc')
-rwxr-xr-xhosts/profitbricks-build2-i386/etc/pbuilder/rebuild-hooks/D01_modify_environment2
1 files changed, 2 insertions, 0 deletions
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 62ae3d03..53164831 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
@@ -17,6 +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 $BUILDUSERNAME
# temporarily disable disorderfs as we have problems properly unmounting it
exit 0