[OE-core] [PATCH] busybox: fix upgrade problem with deb packages

Andreas Oberritter obi at opendreambox.org
Wed Oct 8 18:57:57 UTC 2014


On 08.10.2014 20:00, Aníbal Limón wrote:
> 
> On 07/10/14 18:39, Andreas Oberritter wrote:
>> On 08.10.2014 00:49, Aníbal Limón wrote:
>>> I reviewed the patches and looks good, only i have a comment
>>> in this file,
>>>
>>> http://git.openembedded.org/openembedded-core-contrib/commit/?h=obi/dora&id=a5f18409d1bf2877f898b902cafc317cbf7462e4
>>>
>>>
>>>
>>> I didn't know if the same apply for rpm and ipk.
>> I guess so. I'm pretty certain that opkg behaves just like dpkg in this
>> regard. I never used rpm, though.
>>
>> To reproduce the problem, boot an image containing busybox, but not
>> bash. Then install bash and deinstall it again. Deinstallation fails,
>> resulting in a dangling symlink (/bin/sh -> /bin/bash).
>>
>>> There are a lot of patches,  Do you have a plan to port them to master?
>>>
>>> I can help with that.
>> I'd like to, but I won't have time to do any testing with master during
>> the next weeks. I could rebase my patches onto master and provide a tree
>> for you to test. Or you could cherry-pick whatever patches you like and
>> submit them to the mailing list after testing. Most patches should apply
>> without changes, but those touching rootfs_deb.bbclass and
>> package_deb.bbclass will need some porting. What do you think?
> 
> I think we need to port these patches in small changes in order to do
> a good review,

I already rebased all patches today, and just pushed it to this untested
branch:

http://git.openembedded.org/openembedded-core-contrib/log/?h=obi/master

> 
> I propose,
> 
> 1. dpkg update-alternatives offline
> 2. apt-get upgrade version
> 3. another minor changes like pkg-config
> 
> Makes sense?

OK. Here are some topic branches:

http://git.openembedded.org/openembedded-core-contrib/log/?h=obi/dpkg-ua
http://git.openembedded.org/openembedded-core-contrib/log/?h=obi/apt
http://git.openembedded.org/openembedded-core-contrib/log/?h=obi/dpkg-misc

Regards,
Andreas



More information about the Openembedded-core mailing list