fix for cpio. Between cpio 2.5 and 2.6 semantics of the -c flag (which we

used) has changed. Switch to a flag which is unlikely to change (-H newc)

svn path=/nixu/trunk/; revision=3756
This commit is contained in:
Armijn Hemel 2005-08-31 09:39:41 +00:00
parent eac09bcb31
commit f64cf78dfa

View File

@ -196,7 +196,7 @@ cp -fau --parents ${hotplug} ${initdir}
touch ${initdir}/NIXOS
(cd ${initdir}; find . |cpio -c -o) | gzip -9 > ${initrd}
(cd ${initdir}; find . |cpio -H newc -o) | gzip -9 > ${initrd}
chmod -f -R +w ${initdir}/*
rm -rf ${initdir}