Patchwork [10/10] core-image-gtk-directfb.bb: add an image for gtk over directfb

login
register
mail settings
Submitter Xiaofeng Yan
Date Dec. 8, 2011, 9:34 a.m.
Message ID <03a910e12b1619fc40345c2cfa31afb428bd777f.1323327959.git.xiaofeng.yan@windriver.com>
Download mbox | patch
Permalink /patch/16519/
State New
Headers show

Comments

Xiaofeng Yan - Dec. 8, 2011, 9:34 a.m.
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

This file can make an image to run gtk over directfb.

[YOCTO #1674]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 .../images/core-image-gtk-directfb.bb              |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/images/core-image-gtk-directfb.bb
Samuel Stirtzel - Dec. 8, 2011, 1:22 p.m.
Hi,

2011/12/8 Xiaofeng Yan <xiaofeng.yan@windriver.com>:
[snip]
> +IMAGE_INSTALL += "\
> +       ${POKY_BASE_INSTALL} \

I'm just curious, is this a legitimate OE-Core variable?
Mark Hatle - Dec. 8, 2011, 3:45 p.m.
On 12/8/11 7:22 AM, Samuel Stirtzel wrote:
> Hi,
>
> 2011/12/8 Xiaofeng Yan<xiaofeng.yan@windriver.com>:
> [snip]
>> +IMAGE_INSTALL += "\
>> +       ${POKY_BASE_INSTALL} \
>
> I'm just curious, is this a legitimate OE-Core variable?
>
>

Yes it is, I ran into this yesterday and did some investigation.


POKY_BASE_INSTALL = '\
     task-core-boot \
     task-base-extended \
     \
     ${@base_contains("IMAGE_FEATURES", "package-management", "", 
"${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)} \
     \
     ${POKY_EXTRA_INSTALL} \
     '


This is defined in core-image.bbclass.

I thought when we made the transition to oe-core that we had caught all of these 
names, but apparently we missed some.

This is simply a cosmetic bug, it is unintended.

--Mark

Patch

diff --git a/meta/recipes-graphics/images/core-image-gtk-directfb.bb b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
new file mode 100644
index 0000000..b0ae469
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
@@ -0,0 +1,21 @@ 
+LICENSE = "MIT"
+PR="r0"
+
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+
+DEPENDS += "task-core-gtk-directfb"
+
+RDEPENDS_${PN} += " \
+	task-core-gtk-directfb-base \
+	"
+
+inherit core-image
+
+IMAGE_INSTALL += "\
+	${POKY_BASE_INSTALL} \
+	task-core-basic \
+	module-init-tools \
+	task-core-gtk-directfb-base \
+"