* Use a bash built with ncurses support for logins.

svn path=/nixos/trunk/; revision=8376
This commit is contained in:
Eelco Dolstra 2007-03-20 10:40:45 +00:00
parent 3d85bc56ff
commit 9e9d6a4c62
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@ done
# Create the required /bin/sh symlink; otherwise lots of things # Create the required /bin/sh symlink; otherwise lots of things
# (notably the system() function) won't work. # (notably the system() function) won't work.
mkdir -m 0755 -p $mountPoint/bin mkdir -m 0755 -p $mountPoint/bin
ln -sfn @shell@ $mountPoint/bin/sh ln -sfn @bash@/bin/sh $mountPoint/bin/sh
# Allow the kernel to find our wrapped modprobe (which searches in the # Allow the kernel to find our wrapped modprobe (which searches in the

View File

@ -165,7 +165,7 @@ rec {
# The packages you want in the boot environment. # The packages you want in the boot environment.
systemPathList = [ systemPathList = [
modprobe # must take precedence over module_init_tools modprobe # must take precedence over module_init_tools
pkgs.bash pkgs.bashInteractive # bash with ncurses support
pkgs.bzip2 pkgs.bzip2
pkgs.coreutils pkgs.coreutils
pkgs.cpio pkgs.cpio
@ -242,6 +242,8 @@ rec {
pkgs.glibc # needed for getent pkgs.glibc # needed for getent
pkgs.pwdutils pkgs.pwdutils
]; ];
bash = pkgs.bashInteractive;
}; };