[OE-core] [oe-commits] Mark Hatle : util-linux: use new update-alternatives

Martin Jansa martin.jansa at gmail.com
Thu Jun 28 20:52:20 UTC 2012


On Thu, Jun 28, 2012 at 03:32:07PM -0500, Mark Hatle wrote:
> On 6/28/12 3:06 PM, Martin Jansa wrote:
> > On Thu, Jun 28, 2012 at 02:43:28PM -0500, Mark Hatle wrote:
> >> On 6/28/12 2:12 PM, Martin Jansa wrote:
> >>> On Wed, May 30, 2012 at 11:05:32AM +0000, git at git.openembedded.org wrote:
> >>>> Module: openembedded-core.git
> >>>> Branch: master
> >>>> Commit: 55c01de28a28a4cfe16d36663c190a874ef2e85d
> >>>> URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=55c01de28a28a4cfe16d36663c190a874ef2e85d
> >>>>
> >>>> Author: Mark Hatle <mark.hatle at windriver.com>
> >>>> Date:   Mon May 21 12:42:34 2012 -0500
> >>>>
> >>>> util-linux: use new update-alternatives
> >>>>
> >>>> In addition to switching to the new update-alternatives, it was discovered
> >>>> that the sln, shutdown, halt, reboot and related commands were never generated.
> >>>> Remove these from the list.  (These appear to have been removed from util-linux
> >>>> some time ago.)
> >>>>
> >>>> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> >>>
> >>> This seems to break u-a for reset while upgrading from older image:
> >>>
> >>> update-alternatives: Error: cannot register alternative reset to
> >>> /bin/reset since it is already registered to /usr/bin/reset
> >>
> >> Can you figure out what registered it as /usr/bin/reset?  As far as I'm aware
> >> the reset command should be in /bin...  (Sounds like this may simply be an
> >> ordering thing.)
> >
> > seems like busybox did..
> >
> > SHR root at Nokia-N900 / $ cat /var/lib/opkg/alternatives/reset
> > /usr/bin/reset
> > ../../bin/busybox 50
> 
> Is that the current busybox?  If so, then util-linux is incorrect.  It should be 
> matching the behavior of busybox -- unless of course busybox has a bug.  ;)

yes
SHRZ root at zjama ~ $ grep reset /etc/busybox.links
/usr/bin/reset

I do not track every BB release.. so it's possible that they changed
lately, but I haven't seen any busybox which should cause this, that's
why I've replied on this commit..

Cheers,

> 
> 
> But when I set this up originally, the intent was to follow what BB was doing.
> 
> --Mark
> 
> > Cheers,
> >
> >>
> >> --Mark
> >>
> >>> anyone seen it too?
> >>>
> >>> Cheers,
> >>>
> >>>>
> >>>> ---
> >>>>
> >>>>    meta/recipes-core/util-linux/util-linux.inc       |  212 +++++----------------
> >>>>    meta/recipes-core/util-linux/util-linux_2.21.1.bb |    2 +-
> >>>>    2 files changed, 45 insertions(+), 169 deletions(-)
> >>>>
> >>>> Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=55c01de28a28a4cfe16d36663c190a874ef2e85d
> >>>>
> >>>> _______________________________________________
> >>>> Openembedded-commits mailing list
> >>>> Openembedded-commits at lists.openembedded.org
> >>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Openembedded-core mailing list
> >>> Openembedded-core at lists.openembedded.org
> >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >>>
> >>
> >>
> >>
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core at lists.openembedded.org
> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> >
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120628/ad356529/attachment-0002.sig>


More information about the Openembedded-core mailing list