Hi, On Feb 19, 2015, at 2:44, Barry Kauler <[email protected]> wrote:
> > On 2/17/15, Barry Kauler <[email protected]> wrote: >> Rene, >> I made a change to squashfs-tools, introduced this into .conf: >> >> sqt_fix_xz() >> { >> if pkginstalled xz; then >> sed -i -e 's%^#XZ_SUPPORT =.*%XZ_SUPPORT = 1%' Makefile >> fi >> } >> hook_add premake 5 ‘sqt_fix_xz' I would guess there is no need to “edit” the Makefile - should be something like pkginstalled xt && var_append makeopt ' ' 'XZ_SUPPORT=1' not be enough? I committed that to trunk too. >> Because it is very useful for mksquashfs utility to support xz compression. >> >> Started a rebuild for i686 last night, found it had stopped at stage >> 1, failure of 'squashfs-tools'. >> >> 'gzip' and 'bzip2' build at stage 1, but 'xz' doesn't. >> >> I suppose there are two questions here: >> 1. Is there a particular reason why 'squashfs-tools' has to build at stage >> 1? >> 2. is there any reason why 'xz' should not be built at stage 1? >> >> Anyway, assuming the answer to the second question is "no reason", I >> have made this change to xz.desc: >> >> #[P] X 0----5---9 108.600 >> [P] X 01---5---9 108.600 >> >> Note, squashfs-tools.desc has: >> >> [P] X 01---5---- 108.605 >> > > The build went through ok, so the change I made is ok. > Rene, you can do this in the official T2, if you want. Without the numeric priority change, and the installed && … above: Committed revision 43768. -- ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin http://exactcode.com | http://exactscan.com | http://ocrkit.com | http://t2-project.org | http://rene.rebe.de
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
