Patchwork [0/2] Fix prelink to avoid first boot script

login
register
mail settings
Submitter Mark Hatle
Date June 29, 2011, 1:42 a.m.
Message ID <cover.1309311666.git.mark.hatle@windriver.com>
Download mbox
Permalink /patch/6637/
State New, archived
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib mhatle/prelink

Comments

Mark Hatle - June 29, 2011, 1:42 a.m.
In most cases the user will have the image-prelink enabled, which will
prelink the target image at image creation time.  If this is enabled
we want to avoid prelinking at first boot.  We do this by setting the
script exit status to '0' if we detect we're on the host.

Also fixes a small bug found in sstate.bbclass: do_cleansstate

The following changes since commit 8a5c20417d4d6bee6dd0bcdbeb8d4f9e0696a216:

  [PATCH] u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:12 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/prelink
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/prelink

Mark Hatle (2):
  sstate.bbclass: Fix an issue if the config changes
  prelink_git.bb: Only block the postinst script when no image-prelink

 meta/classes/sstate.bbclass                  |    2 ++
 meta/recipes-devtools/prelink/prelink_git.bb |    6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
Richard Purdie - June 29, 2011, 1:36 p.m.
On Tue, 2011-06-28 at 20:42 -0500, Mark Hatle wrote:
> In most cases the user will have the image-prelink enabled, which will
> prelink the target image at image creation time.  If this is enabled
> we want to avoid prelinking at first boot.  We do this by setting the
> script exit status to '0' if we detect we're on the host.
> 
> Also fixes a small bug found in sstate.bbclass: do_cleansstate
> 
> The following changes since commit 8a5c20417d4d6bee6dd0bcdbeb8d4f9e0696a216:
> 
>   [PATCH] u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:12 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib mhatle/prelink
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/prelink
> 
> Mark Hatle (2):
>   sstate.bbclass: Fix an issue if the config changes
>   prelink_git.bb: Only block the postinst script when no image-prelink

Merged to master, thanks.

Richard