Page 1 of 1

convert tgz txz to xzm: problem with bigger files

Posted: 21 Aug 2012, 01:33
by francois
I often have problem to convert bigger files with the contextual right click to convert tgz txz to xzm.

As an example, my system will never make it up with a file like:
qt-4.7.0_7abde40-i486-3.txz (53.9 MB)

Do you have any advice to deal with the compression of bigger files?

Re: convert tgz txz to xzm: problem with bigger files

Posted: 21 Aug 2012, 02:48
by brokenman
Please move manually through the process to isolate where the bottleneck is.

Code: Select all

mkdir /tmp/unpack
installpkg -root qt-4.7.0_7abde40-i486-3.txz /tmp/unpack
time mksquashfs -noappend -comp gzip /tmp/unpack /tmp/module.gz
time mksquashfs -noappend /tmp/unpack /tmp/module.xzm
Probably obvious for you Francois but ... make sure you are not creating the resulting module in the same place that you are making the module from. E.g dir2xzm /tmp/unpack /tmp/unpack/module.xzm

Re: convert tgz txz to xzm: problem with bigger files

Posted: 23 Aug 2012, 12:02
by francois
Thanks brokenman.

This was not obvious for me. I imagine that smaller files are less affected by the process. Is this the case?

Re: convert tgz txz to xzm: problem with bigger files

Posted: 24 Aug 2012, 13:09
by brokenman
Yes smaller files will process faster. In the above example however (module in same place as target) a module is being created that continually needs to be updated with it's own info. This sets up a loop that can take forever to finish.

Re: convert tgz txz to xzm: problem with bigger files

Posted: 26 Aug 2012, 22:03
by wread
Make sure you have enough ram in case of big files!

Cheers :)