[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319710: marked as done (apt-utils: [apt-ftparchive] option to only parse for $ARCH+all packages)



Hi Martin-Éric Racine,

2010/2/19 Martin-Éric Racine <q-funk@iki.fi>:
>>   * ftparchive/writer.{cc,h}:
>>     - add --arch option for packages and contents commands
>>     - if an arch is given accept only *_all.deb and *_arch.deb instead
>>       of *.deb. Thanks Stephan Bosch for the patch! (Closes: #319710)
>
> I asked for apt-ftparchive to be more intelligent when parsing the
> configuration and generating the Packages list of each architecture it
> finds, instead of generating identical Packages files for each
> architecture.

"if an arch is given" includes the "architecture is set with the
Architectures setting in the tree section of the config file" case.
So, while we haven't test it to full extend by now (= experimental)
it should actually do what you have requested -
if i haven't misunderstood you (again):

In short: apt-ftparchive should generating Packages files which only
include *_all.deb and *_arch.deb packages and
NOT *_anotherarch.deb as before… right?


Best regards / Mit freundlichen Grüßen,

David Kalnischkies



Reply to: