mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
- set timeout for isolinux to 1 minute
- copy util-linux to ramdisk TODO: - do this with other tools as well in a bit more generic way svn path=/nixu/trunk/; revision=3524
This commit is contained in:
parent
93bcd71b15
commit
81bfae51f7
|
@ -1,6 +1,6 @@
|
|||
default linux
|
||||
prompt 1
|
||||
timeout 600
|
||||
timeout 60
|
||||
label linux
|
||||
kernel vmlinuz
|
||||
append initrd=initram.img init=/bin/sh
|
||||
|
|
|
@ -134,6 +134,7 @@ cp ${bash}/bin/* ${initdir}/bin
|
|||
#cp -f /nix/store/570hmhmx3v57605cqg9yfvvyh0nnb8k8-bash ${initdir}/bin/sh
|
||||
chmod u+x ${initdir}/init
|
||||
cp -fau --parents ${bashdeps} ${initdir}
|
||||
cp -fau --parents ${utilLinux} ${initdir}
|
||||
|
||||
#(cd ${initdir}; find . |cpio -c -o) | gzip -9 > ${initrd}
|
||||
(cd ${archivesDir}/initdir; find . |cpio -c -o) | gzip -9 > ${initrd}
|
||||
|
|
Loading…
Reference in a new issue