3
0
Fork 0
forked from mirrors/nixpkgs

Making the stage2 interpreter bash non-interactive, while keeping the

interactive shell with bash interactive. Suggested by Eelco.


svn path=/nixos/trunk/; revision=33005
This commit is contained in:
Lluís Batlle i Rossell 2012-03-11 22:43:37 +00:00
parent 1a48572b75
commit ee163c2c80
2 changed files with 2 additions and 2 deletions

View file

@ -182,7 +182,7 @@ if [ -n "$debug2" ]; then
done
echo "Debug shell called from @out@"
setsid @shell@ < /dev/$console >/dev/$console 2>/dev/$console
setsid @shellDebug@ < /dev/$console >/dev/$console 2>/dev/$console
fi

View file

@ -49,7 +49,7 @@ let
bootStage2 = pkgs.substituteAll {
src = ./stage-2-init.sh;
shell = "${pkgs.bashInteractive}/bin/bash";
shellDebug = "${pkgs.bashInteractive}/bin/bash";
isExecutable = true;
inherit kernel;
inherit (config.boot) devShmSize runSize;