[OE-core] [PATCH 21/33] package_manager/deb: create Packages.xz

Andreas Oberritter obi at opendreambox.org
Wed Dec 7 01:24:09 UTC 2016


On 06.12.2016 19:46, Burton, Ross wrote:
> 
> On 6 December 2016 at 18:41, Andreas Oberritter <obi at opendreambox.org
> <mailto:obi at opendreambox.org>> wrote:
> 
>     That's a good question. I guess I didn't add anything, because there's
>     no direct dependency in place for gzip-native either.
> 
>     I don't know if it counts, but there's a dependency on apt-native and
>     apt's source tarball, like many others, is compressed with xz. By
>     default, apt also depends on xz because of PACKAGECONFIG = "lzma", but
>     that may obviously get changed by users.
> 
> 
> I guess the use of xz to create Packages.xz should depend on xz being
> present, and then package_deb should explicitly add dependencies to the
> relevant tasks (as it does for do_package and do_packageindex already).

I'd prefer to be deterministic and cause an error if xz is not available
for whatever reason. I'm going to add the necessary dependency to all
callers of write_index() for deb.

Regards,
Andreas



More information about the Openembedded-core mailing list