Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: Phil Blundell <philb@brightsign.biz>
Cc: paul.eggleton@linux.intel.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] image.bbclass: leave metadata in place if a PM is installed in the image
Date: Thu, 5 Sep 2013 14:59:13 +0300	[thread overview]
Message-ID: <20130905115913.GC17481@lpalcu-linux> (raw)
In-Reply-To: <1378381226.6940.77.camel@phil-desktop.brightsign>

On Thu, Sep 05, 2013 at 12:40:26PM +0100, Phil Blundell wrote:
> On Thu, 2013-09-05 at 12:37 +0100, Phil Blundell wrote:
> > On Thu, 2013-09-05 at 14:11 +0300, Laurentiu Palcu wrote:
> > > This solution is the most decent I could find in order to address this:
> > > https://bugzilla.yoctoproject.org/show_bug.cgi?id=4484
> > > in this stage of 1.5 release. Other ideas are always welcome.
> > 
> > I couldn't quite follow the long and complicated history of that bug,
> > but based on the description and the contents of comment #1 it sounds as
> > though the bug is at best tangentially related to this issue.
See last comment to understand what this patch fixes. The original issue
was fixed by the patchset mentioned here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4484#c4
> > 
> > In the case where you have postinsts on the target but package
> > management is disabled, rootfs_ipk should be installing run-postinsts
> > (not opkg) and in that case it doesn't seem like this patch will help.
> > 
> > It looks as though this breakage was probably introduced by
> > 928df79cd3964f775c4c6e4283ef84b8882f9328 which moved the call to
> > remove_packaging_data_files() from rootfs_ipk (which was only calling it
> > if it knew that all postinsts had already been completed) to
> > image.bbclass (which doesn't have that knowledge and will call it
> > irrespective of what state the postinsts are in).
> 
> Actually, that last sentence is slightly incorrect.  image.bbclass does
> have the knowledge, it just seems to be failing to act on it.  So
> perhaps the easiest fix for the time being is simply to move the
> remove_packaging_data_files call in rootfs_uninstall_unneeded () a few
> lines higher up so that it's inside the "if [ -z $(delayed_postinsts) ]"
> block.
What you're suggesting means that we will have the PM metadata present
if there are delayed postinstalls present. But, since the PM is not
present, what's the use of that? Your suggestion will work, however, in
the case Paul mentioned, when reopening the bug, but we'll break the
current functionality...

Thanks,
Laurentiu
> 
> p.
> 
> 


  reply	other threads:[~2013-09-05 11:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-05  7:31 [PATCH 0/1] image.bbclass: leave metadata in place if a PM is installed in the image Laurentiu Palcu
2013-09-05  7:31 ` [PATCH 1/1] " Laurentiu Palcu
2013-09-05  8:15   ` Martin Jansa
2013-09-05  8:57     ` Laurentiu Palcu
2013-09-05 10:43     ` Phil Blundell
2013-09-05 11:11       ` Laurentiu Palcu
2013-09-05 11:37         ` Phil Blundell
2013-09-05 11:40           ` Phil Blundell
2013-09-05 11:59             ` Laurentiu Palcu [this message]
2013-09-05 12:07               ` Phil Blundell
2013-09-05 12:19                 ` Paul Eggleton
2013-09-05 12:29                   ` Phil Blundell
2013-09-05 12:53                     ` Paul Eggleton
2013-09-05 13:14                       ` Laurentiu Palcu
2013-09-05 13:24                         ` Phil Blundell
2013-09-05 13:25                     ` Laurentiu Palcu
2013-09-05 12:42         ` ChenQi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130905115913.GC17481@lpalcu-linux \
    --to=laurentiu.palcu@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    --cc=philb@brightsign.biz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox