From f64cf78dfa28b9ed797dfeb9d63b948baa7c7ffb Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Wed, 31 Aug 2005 09:39:41 +0000 Subject: [PATCH] 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 --- make-disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-disk.sh b/make-disk.sh index 341701917e5..5cb46a2b214 100755 --- a/make-disk.sh +++ b/make-disk.sh @@ -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}