From 7ad9bb6440b426fae027d9b46276da63ba5e223c Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 27 Oct 2005 05:59:27 +0000 Subject: [PATCH] use e2fs-zero.py for real. --- livecd.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/livecd.sh b/livecd.sh index f04bc600..6c88663d 100755 --- a/livecd.sh +++ b/livecd.sh @@ -302,12 +302,12 @@ deb-src ${SRCMIRROR} ${STE}-security ${COMP} rsync -a --delete --inplace --no-whole-file ${ROOT} livecd.mnt umount $DEV rm -rf partimg-${IMGNAME}.* - if [ -x /usr/sbin/partimage ]; then - partimage -b -z0 --nodesc -f3 -c -o -y save $DEV partimg-${IMGNAME} - cat partimg-${IMGNAME}.*|partimage -b -z0 --nodesc -e -f3 -c -o -y restore $DEV stdin - else - /usr/sbin/e2fs-zero.py new-${IMGNAME} - fi + #if [ -x /usr/sbin/partimage ]; then + # partimage -b -z0 --nodesc -f3 -c -o -y save $DEV partimg-${IMGNAME} + # cat partimg-${IMGNAME}.*|partimage -b -z0 --nodesc -e -f3 -c -o -y restore $DEV stdin + #else + /usr/sbin/e2fs-zero.py -w new-${IMGNAME} + #fi losetup -d $DEV mv new-${IMGNAME} ${IMGNAME} cp ${IMGNAME} old-${IMGNAME}