diff options
Diffstat (limited to 'hosts/opi2b-armhf-rb/etc/pbuilder')
-rwxr-xr-x | hosts/opi2b-armhf-rb/etc/pbuilder/rebuild-hooks/D01_modify_environment | 6 |
1 files changed, 4 insertions, 2 deletions
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 db75b555..74189218 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 @@ -17,8 +17,10 @@ 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 $BUILDUSERNAME's login shell to /bin/bash" >&2 -#usermod -s /bin/bash $BUILDUSERNAME +if [ -n "$BUILDUSERNAME" ] ; then + echo "I: Setting $BUILDUSERNAME's login shell to /bin/bash" >&2 + usermod -s /bin/bash $BUILDUSERNAME +fi # temporarily disable disorderfs as we have problems properly unmounting it exit 0 |