On Fri, Jan 8, 2010 at 3:08 PM, Martin Jansa <[email protected]> wrote:

> In last opkg upgrade there is bump to busybox package, which triggers
> old bug in our images :(.
>
> There are 2 scripts providing update-alternatives in our images, one is
> part of opkg itself installed in
> /usr/bin/update-alternatives (it was added to opkg later)
>
> and older update-alternatives-cworth installed in
> /usr/sbin/update-alternatives and used by default
>
> Problem is that
> update-alternatives-cworth use alternatives from
> /usr/lib/ipkg/alternatives
>
> opkg use
> /usr/lib/opkg/alternatives
>
> SHR images are created with u-a script from opkg-native (which is set by
> PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
> in
> conf/distro/include/sane-feed-ipk.inc
> so everything is in /usr/lib/opkg/alternatives
>
> But with busybox upgrade all symlinks are updated with knowledge only
> from /usr/lib/ipkg/alternatives because of that -cworth which shouldn't
> be part of image! (I'll push -cworth blacklist to your shr.conf but its
> too late for those who upgraded busybox yesterday).
>
> Hopefully working work-around (haven't tested because I'm at work)
>
> opkg remove update-alternatives-cworth
> opkg reinstall busybox
>
> Correct fix will be announced later
> Please also check
> diff -rq /usr/lib/opkg/alternatives /usr/lib/ipkg/alternatives
> if there is some major difference, if yes reinstall packages where the
> alternatives provided by them are different in those 2 dirs.
>
> --
> uin:136542059                
> jid:[email protected]<jid%[email protected]>
> Jansa Martin                 
> sip:[email protected]<sip%[email protected]>
> JaMa
> _______________________________________________
>

Thank god we already have a testing version and this doesn't affect everyone
:)
-- 
Tom.
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to