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'
>
> 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.

Regards,
Barry Kauler



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to