fix typo, add some more echo statements, minor cleanup

svn path=/nixu/trunk/; revision=3591
This commit is contained in:
Armijn Hemel 2005-08-16 21:46:08 +00:00
parent 91b9cabf9b
commit 38cb12017a

View file

@ -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}/*