On Thu, Oct 1, 2015 at 3:55 PM, Andre McCurdy <[email protected]> wrote: > On Wed, Sep 30, 2015 at 5:48 PM, Khem Raj <[email protected]> wrote: >> >>> On Sep 30, 2015, at 3:03 PM, Andre McCurdy <[email protected]> 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.
Consistency is always good. So please prepare a patch. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
