image.bbclass: add check for live and convert to ext3
PATCH 1/2 image.bbclass: add check for live and convert to ext3
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 <[email protected]>
--- meta/classes/image.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
meta/classes/image.bbclass +2 -0
@@ -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():
Signature · 1 line
1.7.7.6
PATCH 2/2 grub: Add SRC_URI Checksums for sanity
Signed-off-by Saul Wold <[email protected]>
--- meta/recipes-bsp/grub/grub_1.99.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-bsp/grub/grub_1.99.bb +3 -0
@@ -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
Signature · 1 line
1.7.7.6
Richard Purdie
AppliedQuoted 14 lines · Saul Wold
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 <[email protected]>--- meta/classes/image.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)meta/classes/image.bbclass +0
-0
meta/classes/image.bbclass inherit image-${IMAGE_TYPE} · line 83
Quoted 8 lines
meta/classes/image.bbclass +2
-0@@ -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