[OE-core] Sorting rootfs manifest with .ipk packaging

Andre McCurdy armccurdy at gmail.com
Thu Oct 1 18:55:54 UTC 2015


On Wed, Sep 30, 2015 at 5:48 PM, Khem Raj <raj.khem at gmail.com> wrote:
>
>> On Sep 30, 2015, at 3:03 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
>>
>> I'd like the rootfs manifest to be sorted when using .ipk packaging.
>> Would a patch to sort the result of OpkgPkgsList().list be acceptable?
>> Or would the sorting be better done elsewhere?
>
> its not clear what kind of sorting are you looking for. It could be a good thing in general if its
> configurable and you can explain the value add of doing it.

Aim is to make the manifest for each rootfs a little more human
readable by sorting the list of installed packages alphabetically.

Currently, when ipk packaging is used, the order of packages in the
manifest matches the order in /var/lib/opkg/status, which appears to
be "random".

It looks like RpmPkgsList().list does always sort it's results before
returning, so adding a sort to OpkgPkgsList().list would make it
consistent with the RPM equivalent.

>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



More information about the Openembedded-core mailing list