445 |
order to succesfully build Clonezilla-SysRescCD. |
order to succesfully build Clonezilla-SysRescCD. |
446 |
[arch] refers to Clonezilla Live architecture |
[arch] refers to Clonezilla Live architecture |
447 |
(i686,i486 or amd64 - use all to get them all) |
(i686,i486 or amd64 - use all to get them all) |
448 |
|
SystemRescueCD will be downloaded in any case |
449 |
v print version and exit |
v print version and exit |
450 |
h print this screen and exit |
h print this screen and exit |
451 |
|
|
924 |
cd "$SAVE_DIR"/tmp/clonezilla-sysresccd/live |
cd "$SAVE_DIR"/tmp/clonezilla-sysresccd/live |
925 |
unsquashfs filesystem.squashfs 2>/dev/null 1>&2 |
unsquashfs filesystem.squashfs 2>/dev/null 1>&2 |
926 |
cp -r ../README* ../doc ../restorecd squashfs-root |
cp -r ../README* ../doc ../restorecd squashfs-root |
927 |
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 |
928 |
|
if [ "$clonType" = "amd64" ];then |
929 |
|
mksquashfs squashfs-root aa.squashfs -comp xz -Xbcj ia64 -Xdict-size 75% -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 |
930 |
|
else |
931 |
|
mksquashfs squashfs-root aa.squashfs -comp xz -Xbcj x86 -Xdict-size 75% -always-use-fragments -no-duplicates -all-root 2>/dev/null 1>&2 |
932 |
|
fi |
933 |
mv aa.squashfs filesystem.squashfs |
mv aa.squashfs filesystem.squashfs |
934 |
rm -rf squashfs-root |
rm -rf squashfs-root |
935 |
cd |
cd |