[oe] [PATCH] rootfs_ipk.bbclass: fix BAD_RECOMMENDATIONS

Phil Blundell philb at gnu.org
Wed Feb 24 23:15:06 UTC 2010


On Wed, 2010-02-24 at 18:06 -0500, Denys Dmytriyenko wrote:
> The thing is, those SW_xx flags are not preserved anyway - the status file is 
> primed with BAD_RECOMMENDATIONS (Status: deinstall), but later gets 
> overwritten by the list of only installed packages. Of course, "deinstall" 
> packages are being skipped, but they are not preserved in the status file for 
> later use...

Ah.  If that's happening then that is also a bug.  Are you saying that
opkg basically throws away anything that isn't SS_INSTALLED when it
writes out the status file?  That is definitely no good: it ought to
preserve all the SW_xx values that are set in the status file,
essentially indefinitely.

> But, on the other hand, if there are multiple versions of the package
> present in the deploy/feed, then it will, probably, deinstall one
> version and install another one, which is not the correct behavior.

Yeah, that would also be pretty broken.

p.






More information about the Openembedded-devel mailing list