also copy a statically linked ncurses to the installer, so at least we get all the right terminfo thingies.
svn path=/nixu/trunk/; revision=6326
This commit is contained in:
parent
e876f67580
commit
62f61928e7
|
@ -39,6 +39,7 @@ nix=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nixUnstable' | $NIX/nix-inst
|
|||
busybox=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).busybox' | $NIX/nix-instantiate -))
|
||||
nano=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nano' | $NIX/nix-instantiate -))
|
||||
nanoDiet=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).nanoDiet' | $NIX/nix-instantiate -))
|
||||
ncurses=$($NIX/nix-store -r $(echo '(import ./pkgs.nix).ncursesDiet' | $NIX/nix-instantiate -))
|
||||
|
||||
nixDeps=$($NIX/nix-store -qR $nix)
|
||||
|
||||
|
@ -309,6 +310,7 @@ $coreutils/bin/chmod -R u+w ${initdir}
|
|||
$coreutils/bin/cp -fau --parents ${modutils}/sbin ${initdir}
|
||||
$coreutils/bin/cp -fau --parents ${busybox} ${initdir}
|
||||
$coreutils/bin/cp -fau --parents ${nanoDiet} ${initdir}
|
||||
$coreutils/bin/cp -fau --parents ${ncurses} ${initdir}
|
||||
|
||||
$coreutils/bin/touch ${archivesDir}/NIXOS
|
||||
|
||||
|
|
2
pkgs.nix
2
pkgs.nix
|
@ -6,7 +6,7 @@ rec {
|
|||
openssh binutils nixStatic strace shadowutils iputils gnumake curl gnused
|
||||
gnutar gnugrep gzip mingettyWrapper grubWrapper syslinux parted
|
||||
module_init_tools module_init_toolsStatic dhcpWrapper man nano nanoDiet
|
||||
eject sysklogd mktemp cdrtools cpio busybox mkinitrd;
|
||||
eject sysklogd mktemp cdrtools cpio busybox mkinitrd ncursesDiet;
|
||||
|
||||
boot = (import ./boot) {
|
||||
inherit stdenv bash coreutils findutilsWrapper utillinux sysvinit
|
||||
|
|
Loading…
Reference in New Issue