Il 24/12/2014 09:13, Zac Medico ha scritto:
>> I like this (and it has been a long time coming).  What format are we
>> > going to store the metadata of the use flag combinations and the rest?
> The current approach is to store the data in an xpak segment that is
> appended to the end of the tbz2 file. The $PKGDIR/Packages files serves
> as a cache for the essential parts of the xpak data that are used in
> dependency calculations.
>
I'd like to see the xpak data being put in it's own file at the
_beginning_ of the tar file.

tar -Jcf \
 ${PKGDIR}/${CATEGORY}/${PN}/${PF}-${COUNTER}.xpak \
 tmp/${CATEGORY}:${PN}:${PF}-${COUNTER}.xpak \
 *all_the_other_stuff*

this way reading it could be faster on some media and filesystem  and it
would not deviate from the standard tar.
Being in /tmp/ is only for commodity but the place is debatable.
Instead the fact it _must_ be the first file it's not, in a sequential
archive file like tar some things depend on it.

seem to be the right time to do the change, since tool need to be
rewritten anyway, but I'll leave to you analyze  the fallout of this change.

Best regards,
Francesco Riosa



Reply via email to