<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 1, 2015 at 11:57 AM, Otavio Salvador <span dir="ltr"><<a href="mailto:otavio.salvador@ossystems.com.br" target="_blank">otavio.salvador@ossystems.com.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 1, 2015 at 3:55 PM, Andre McCurdy <<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>> wrote:<br>
> On Wed, Sep 30, 2015 at 5:48 PM, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br>
>><br>
>>> On Sep 30, 2015, at 3:03 PM, Andre McCurdy <<a href="mailto:armccurdy@gmail.com">armccurdy@gmail.com</a>> wrote:<br>
>>><br>
>>> I'd like the rootfs manifest to be sorted when using .ipk packaging.<br>
>>> Would a patch to sort the result of OpkgPkgsList().list be acceptable?<br>
>>> Or would the sorting be better done elsewhere?<br>
>><br>
>> its not clear what kind of sorting are you looking for. It could be a good thing in general if its<br>
>> configurable and you can explain the value add of doing it.<br>
><br>
> Aim is to make the manifest for each rootfs a little more human<br>
> readable by sorting the list of installed packages alphabetically.<br>
><br>
> Currently, when ipk packaging is used, the order of packages in the<br>
> manifest matches the order in /var/lib/opkg/status, which appears to<br>
> be "random".<br>
><br>
> It looks like RpmPkgsList().list does always sort it's results before<br>
> returning, so adding a sort to OpkgPkgsList().list would make it<br>
> consistent with the RPM equivalent.<br>
<br>
</span>Consistency is always good. So please prepare a patch.</blockquote></div><br>Agreed. In addition to being more human readable, it'd also be slightly easier to compare manifests if they're pre-sorted with a tool like 'comm'.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>