Make it a proper login shell when entering the build chroot.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 May 2014 16:08:45 +0000 (18:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 May 2014 16:22:44 +0000 (18:22 +0200)
tools/make-functions

index 1604109..a50538e 100644 (file)
@@ -462,7 +462,7 @@ entershell() {
                KGCC="ccache /usr/bin/gcc" \
                $(fake_environ) \
                $(qemu_environ) \
                KGCC="ccache /usr/bin/gcc" \
                $(fake_environ) \
                $(qemu_environ) \
-               /tools/bin/bash
+               /tools/bin/bash -i
        if [ $? -ne 0 ]; then
                        beautify message FAIL
                        exiterror "chroot error"
        if [ $? -ne 0 ]; then
                        beautify message FAIL
                        exiterror "chroot error"