--- trunk/create-clonezilla-sysresccd/create-clonezilla-sysresccd.sh 2012/08/27 13:14:58 192 +++ trunk/create-clonezilla-sysresccd/create-clonezilla-sysresccd.sh 2012/08/28 09:39:20 193 @@ -445,6 +445,7 @@ order to succesfully build Clonezilla-SysRescCD. [arch] refers to Clonezilla Live architecture (i686,i486 or amd64 - use all to get them all) + SystemRescueCD will be downloaded in any case v print version and exit h print this screen and exit @@ -923,7 +924,12 @@ cd "$SAVE_DIR"/tmp/clonezilla-sysresccd/live unsquashfs filesystem.squashfs 2>/dev/null 1>&2 cp -r ../README* ../doc ../restorecd squashfs-root -mksquashfs squashfs-root aa.squashfs -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 +# mksquashfs squashfs-root aa.squashfs -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 +if [ "$clonType" = "amd64" ];then + mksquashfs squashfs-root aa.squashfs -comp xz -Xbcj ia64 -Xdict-size 75% -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 +else + mksquashfs squashfs-root aa.squashfs -comp xz -Xbcj x86 -Xdict-size 75% -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 +fi mv aa.squashfs filesystem.squashfs rm -rf squashfs-root cd