Received: from mail.reciva.com ([82.71.203.194] helo=crown.reciva.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NkQUL-00067P-RE for openembedded-devel@lists.openembedded.org; Thu, 25 Feb 2010 00:17:54 +0100 Received: from 88-110-39-162.dynamic.dsl.as9105.com ([88.110.39.162] helo=[192.168.2.154]) by crown.reciva.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NkQRf-0007jG-US for openembedded-devel@lists.openembedded.org; Wed, 24 Feb 2010 23:15:08 +0000 From: Phil Blundell To: openembedded-devel@lists.openembedded.org In-Reply-To: <20100224230629.GA8672@denix.org> References: <1267044772-10182-1-git-send-email-denis@denix.org> <1267045217.5437.326.camel@lenovo.internal.reciva.com> <6ec4247d1002241348i6dd2db32ifb3f9482287d91bd@mail.gmail.com> <1267048766.5437.330.camel@lenovo.internal.reciva.com> <20100224230629.GA8672@denix.org> Date: Wed, 24 Feb 2010 23:15:06 +0000 Message-ID: <1267053306.5437.334.camel@lenovo.internal.reciva.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-SA-Exim-Connect-IP: 82.71.203.194 X-SA-Exim-Mail-From: philb@gnu.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=SPF_SOFTFAIL autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] rootfs_ipk.bbclass: fix BAD_RECOMMENDATIONS X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2010 23:17:54 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.