Make it a proper login shell when entering the build chroot.
[people/teissler/ipfire-2.x.git] / tools / make-functions
index 1604109..a50538e 100644 (file)
@@ -462,7 +462,7 @@ entershell() {
                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"