Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3
@ 2012-05-04 16:23 Saul Wold
  2012-05-04 16:23 ` [PATCH 2/2][EDISON 1.1.2] grub: Add SRC_URI Checksums for sanity Saul Wold
  2012-05-06  8:56 ` [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Saul Wold @ 2012-05-04 16:23 UTC (permalink / raw)
  To: openembedded-core

The live image type depends on ext3 which has it's own
dependencies, while the live type has none, this is a
backport change to fix [YOCTO #2246]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/classes/image.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index b8ca370..e9a3aa6 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -76,6 +76,8 @@ inherit image-${IMAGE_TYPE}
 python () {
     deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or ""
     for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split():
+        if type == "live":
+            type = "ext3"
         for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []):
             deps += " %s:do_populate_sysroot" % dep
     for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split():
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2][EDISON 1.1.2] grub: Add SRC_URI Checksums for sanity
  2012-05-04 16:23 [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Saul Wold
@ 2012-05-04 16:23 ` Saul Wold
  2012-05-06  8:56 ` [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-05-04 16:23 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-bsp/grub/grub_1.99.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub_1.99.bb b/meta/recipes-bsp/grub/grub_1.99.bb
index ba41e8f..0c8648e 100644
--- a/meta/recipes-bsp/grub/grub_1.99.bb
+++ b/meta/recipes-bsp/grub/grub_1.99.bb
@@ -19,6 +19,9 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \
           file://grub-install.in.patch;apply=yes \
           file://40_custom"
 
+SRC_URI[md5sum] = "ca9f2a2d571b57fc5c53212d1d22e2b5"
+SRC_URI[sha256sum] = "b91f420f2c51f6155e088e34ff99bea09cc1fb89585cf7c0179644e57abd28ff"
+
 inherit autotools
 inherit gettext
 
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3
  2012-05-04 16:23 [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Saul Wold
  2012-05-04 16:23 ` [PATCH 2/2][EDISON 1.1.2] grub: Add SRC_URI Checksums for sanity Saul Wold
@ 2012-05-06  8:56 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-05-06  8:56 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-05-04 at 09:23 -0700, Saul Wold wrote:
> The live image type depends on ext3 which has it's own
> dependencies, while the live type has none, this is a
> backport change to fix [YOCTO #2246]
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/classes/image.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
> index b8ca370..e9a3aa6 100644
> --- a/meta/classes/image.bbclass
> +++ b/meta/classes/image.bbclass
> @@ -76,6 +76,8 @@ inherit image-${IMAGE_TYPE}
>  python () {
>      deps = bb.data.getVarFlag('do_rootfs', 'depends', d) or ""
>      for type in (bb.data.getVar('IMAGE_FSTYPES', d, True) or "").split():
> +        if type == "live":
> +            type = "ext3"
>          for dep in ((bb.data.getVar('IMAGE_DEPENDS_%s' % type, d) or "").split() or []):
>              deps += " %s:do_populate_sysroot" % dep
>      for dep in (bb.data.getVar('EXTRA_IMAGEDEPENDS', d, True) or "").split():

Merged to 2011-1 and master, thanks.

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-06  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-04 16:23 [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Saul Wold
2012-05-04 16:23 ` [PATCH 2/2][EDISON 1.1.2] grub: Add SRC_URI Checksums for sanity Saul Wold
2012-05-06  8:56 ` [PATCH 1/2][EDISON 1.1.2] image.bbclass: add check for live and convert to ext3 Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox