From 38cb12017a7b8c23239539ff538277288201272b Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 16 Aug 2005 21:46:08 +0000 Subject: [PATCH] fix typo, add some more echo statements, minor cleanup svn path=/nixu/trunk/; revision=3591 --- make-disk.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/make-disk.sh b/make-disk.sh index 6e85a1138ac3..3384e78e7424 100755 --- a/make-disk.sh +++ b/make-disk.sh @@ -10,10 +10,11 @@ fill_disk=$archivesDir/scripts/fill-disk.sh storePaths=$archivesDir/mystorepaths validatePaths=$archivesDir/validatepaths bootiso=/tmp/nixos.iso -#initrd=/tmp/initrd.img initrd=/tmp/initram.img initdir=${archivesDir}/initdir +echo cleaning old build + # keep chmod happy touch ${archivesDir}/blah chmod -f -R +w ${archivesDir}/* @@ -102,7 +103,7 @@ echo copying nixpkgs svn export ${nixpkgs} ${archivesDir}/pkgs #cp -fa ${nixpkgs} ${archivesDir} -echo copying packges from store +echo copying packages from store #cp -fa --parents ${nixDeps} ${archivesDir} cp -fau --parents ${utilLinux} ${archivesDir} @@ -177,6 +178,9 @@ mkisofs -rJ -o ${bootiso} -b isolinux/isolinux.bin -c isolinux/boot.cat \ ${archivesDir} # cleanup, be diskspace friendly + +echo cleaning up + rm -f ${initrd} chmod -f -R +w ${archivesDir}/* rm -rf ${archivesDir}/*