* [PATCH 0/4] Create vmdk image creation class
@ 2012-03-01 7:46 Saul Wold
2012-03-01 7:46 ` [PATCH 1/4] self-hosted: Fix multiple libx11 error Saul Wold
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Saul Wold @ 2012-03-01 7:46 UTC (permalink / raw)
To: openembedded-core
Richard,
Here is the re-work of the vmdk image creation class, this
integrates in as a class since it needs to happen after the
hddimg (live) is created.
Sau!
The following changes since commit 8054497b393d40a2ed8c802c74a02e92a3001297:
image_types_uboot: Update to work after recent image_types changes (2012-02-29 18:23:04 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/self
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/self
Saul Wold (3):
image-live: Allow LABELS to be modified
image-vmdk: Create image_vmdk class and setup image and image_types
to use it
self-hosted-image: Create a VMDK image with correct SYSLINUX_*
settings
Zhai Edwin (1):
self-hosted: Fix multiple libx11 error
meta/classes/image-live.bbclass | 5 +++--
meta/classes/image-vmdk.bbclass | 22 ++++++++++++++++++++++
meta/classes/image.bbclass | 6 ++++--
meta/classes/image_types.bbclass | 15 +++++++++------
meta/recipes-core/images/self-hosted-image.bb | 16 ++++++++++++++--
meta/recipes-core/tasks/task-self-hosted.bb | 4 ++--
6 files changed, 54 insertions(+), 14 deletions(-)
create mode 100644 meta/classes/image-vmdk.bbclass
--
1.7.7.6
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/4] self-hosted: Fix multiple libx11 error
2012-03-01 7:46 [PATCH 0/4] Create vmdk image creation class Saul Wold
@ 2012-03-01 7:46 ` Saul Wold
2012-03-01 8:14 ` Koen Kooi
2012-03-01 7:46 ` [PATCH 2/4] image-live: Allow LABELS to be modified Saul Wold
` (2 subsequent siblings)
3 siblings, 1 reply; 13+ messages in thread
From: Saul Wold @ 2012-03-01 7:46 UTC (permalink / raw)
To: openembedded-core
From: Zhai Edwin <edwin.zhai@intel.com>
Self-hosted needs package libx11-dev, which is ambiguous as virtual/libx11 is
provided by libx11 or libx11-trim. This patch explictly set the perferred one,
libx11-trim-dev, to avoid this.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
---
meta/recipes-core/tasks/task-self-hosted.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/tasks/task-self-hosted.bb b/meta/recipes-core/tasks/task-self-hosted.bb
index 586a461..a6cf75f 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
#
DESCRIPTION = "Create Basic Image Tasks"
-PR = "r6"
+PR = "r7"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -189,6 +189,6 @@ RDEPENDS_task-self-hosted-graphics = "\
libglu-dev \
libsdl \
libsdl-dev \
- libx11-dev \
+ libx11-trim-dev \
python-pygtk \
"
--
1.7.7.6
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/4] image-live: Allow LABELS to be modified
2012-03-01 7:46 [PATCH 0/4] Create vmdk image creation class Saul Wold
2012-03-01 7:46 ` [PATCH 1/4] self-hosted: Fix multiple libx11 error Saul Wold
@ 2012-03-01 7:46 ` Saul Wold
2012-03-01 7:46 ` [PATCH 3/4] image-vmdk: Create image_vmdk class and setup image and image_types to use it Saul Wold
2012-03-01 7:46 ` [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings Saul Wold
3 siblings, 0 replies; 13+ messages in thread
From: Saul Wold @ 2012-03-01 7:46 UTC (permalink / raw)
To: openembedded-core
This is to allow other image types to set the syslinux labels
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/image-live.bbclass | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index 1476840..2f3261e 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -3,8 +3,9 @@ AUTO_SYSLINUXCFG = "1"
INITRD_IMAGE ?= "core-image-minimal-initramfs"
INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz"
SYSLINUX_ROOT = "root=/dev/ram0 "
-SYSLINUX_TIMEOUT = "10"
-LABELS += "boot install"
+SYSLINUX_TIMEOUT ?= "10"
+SYSLINUX_LABELS ?= "boot install"
+LABELS_append = " ${SYSLINUX_LABELS} "
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
--
1.7.7.6
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/4] image-vmdk: Create image_vmdk class and setup image and image_types to use it
2012-03-01 7:46 [PATCH 0/4] Create vmdk image creation class Saul Wold
2012-03-01 7:46 ` [PATCH 1/4] self-hosted: Fix multiple libx11 error Saul Wold
2012-03-01 7:46 ` [PATCH 2/4] image-live: Allow LABELS to be modified Saul Wold
@ 2012-03-01 7:46 ` Saul Wold
2012-03-01 7:46 ` [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings Saul Wold
3 siblings, 0 replies; 13+ messages in thread
From: Saul Wold @ 2012-03-01 7:46 UTC (permalink / raw)
To: openembedded-core
This creates a new image_vmdk class similar to live. The image_vmdk
class needs to have a hddimg created by the image-live class, so it
inherits it directly.
The changes to image_types is to ensure that both live and vmdk images
get the ext3 tools and dependencies.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/image-vmdk.bbclass | 22 ++++++++++++++++++++++
meta/classes/image.bbclass | 6 ++++--
meta/classes/image_types.bbclass | 15 +++++++++------
3 files changed, 35 insertions(+), 8 deletions(-)
create mode 100644 meta/classes/image-vmdk.bbclass
diff --git a/meta/classes/image-vmdk.bbclass b/meta/classes/image-vmdk.bbclass
new file mode 100644
index 0000000..d3e5481
--- /dev/null
+++ b/meta/classes/image-vmdk.bbclass
@@ -0,0 +1,22 @@
+
+SYSLINUX_PROMPT = "0"
+SYSLINUX_TIMEOUT = "1"
+SYSLINUX_LABELS = "boot"
+
+# creating VMDK relies on having a live hddimg so ensure we
+# inherit it here.
+inherit image-live
+
+create_vmdk_image () {
+ qemu-img convert -O vmdk ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk
+}
+
+python do_vmdkimg() {
+ bb.build.exec_func('create_vmdk_image', d)
+}
+
+addtask vmdkimg after do_bootimg before do_build
+do_vmdkimg[nostamp] = "1"
+
+do_vmdkimg[depends] += "qemu-native:do_populate_sysroot"
+
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index ec75cc1..dfce381 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -70,8 +70,10 @@ LDCONFIGDEPEND_libc-uclibc = ""
do_rootfs[depends] += "makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND}"
do_rootfs[depends] += "virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot"
-IMAGE_TYPE = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}'
-inherit image-${IMAGE_TYPE}
+IMAGE_TYPE_live = '${@base_contains("IMAGE_FSTYPES", "live", "live", "empty", d)}'
+inherit image-${IMAGE_TYPE_live}
+IMAGE_TYPE_vmdk = '${@base_contains("IMAGE_FSTYPES", "vmdk", "vmdk", "empty", d)}'
+inherit image-${IMAGE_TYPE_vmdk}
python () {
deps = d.getVarFlag('do_rootfs', 'depends') or ""
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 5b48a09..f756c39 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -18,9 +18,13 @@ def get_imagecmds(d):
cimages[basetype].append(ctype)
break
- # Live images will be processed via inheriting bbclass and
- # does not get processed here.
- # live images also depend on ext3 so ensure its present
+ # Live and VMDK images will be processed via inheriting
+ # bbclass and does not get processed here.
+ # vmdk depend on live images also depend on ext3 so ensure its present
+ if "vmdk" in types:
+ if "ext3" not in types:
+ types.append("ext3")
+ types.remove("vmdk")
if "live" in types:
if "ext3" not in types:
types.append("ext3")
@@ -75,6 +79,8 @@ def imagetypes_getdepends(d):
deps = []
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
for type in (d.getVar('IMAGE_FSTYPES', True) or "").split():
+ if type == "vmdk" or type == "live":
+ type = "ext3"
basetype = type
for ctype in ctypes:
if type.endswith("." + ctype):
@@ -160,8 +166,6 @@ IMAGE_CMD_ubi () {
}
IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}"
-IMAGE_CMD_vmdk = "qemu-img convert -O vmdk ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk"
-
EXTRA_IMAGECMD = ""
EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"
# Change these if you want default genext2fs behavior (i.e. create minimal inode number)
@@ -181,7 +185,6 @@ IMAGE_DEPENDS_squashfs = "squashfs-tools-native"
IMAGE_DEPENDS_squashfs-lzma = "squashfs-lzma-tools-native"
IMAGE_DEPENDS_ubi = "mtd-utils-native"
IMAGE_DEPENDS_ubifs = "mtd-utils-native"
-IMAGE_DEPENDS_vmdk = "qemu-native"
# This variable is available to request which values are suitable for IMAGE_FSTYPES
IMAGE_TYPES = "jffs2 sum.jffs2 cramfs ext2 ext2.gz ext2.bz2 ext3 ext3.gz ext2.lzma btrfs live squashfs squashfs-lzma ubi tar tar.gz tar.bz2 tar.xz cpio cpio.gz cpio.xz cpio.lzma vmdk"
--
1.7.7.6
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings
2012-03-01 7:46 [PATCH 0/4] Create vmdk image creation class Saul Wold
` (2 preceding siblings ...)
2012-03-01 7:46 ` [PATCH 3/4] image-vmdk: Create image_vmdk class and setup image and image_types to use it Saul Wold
@ 2012-03-01 7:46 ` Saul Wold
2012-03-01 8:15 ` Koen Kooi
3 siblings, 1 reply; 13+ messages in thread
From: Saul Wold @ 2012-03-01 7:46 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-core/images/self-hosted-image.bb | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
index a0a7592..d56c2cb 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -1,11 +1,23 @@
IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PR = "r5"
+
CORE_IMAGE_EXTRA_INSTALL = "\
task-self-hosted \
"
IMAGE_FEATURES += "x11-mini package-management"
-inherit core-image
+# Ensure there's enough space to do a core-image-minimal build, with rm_work enabled
+IMAGE_ROOTFS_EXTRA_SPACE = "2621440"
-PR = "r2"
+# Do a quiet boot with limited console messages
+APPEND += "quiet"
+
+IMAGE_FSTYPES = "vmdk"
+
+inherit core-image
--
1.7.7.6
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 1/4] self-hosted: Fix multiple libx11 error
2012-03-01 7:46 ` [PATCH 1/4] self-hosted: Fix multiple libx11 error Saul Wold
@ 2012-03-01 8:14 ` Koen Kooi
2012-03-01 11:55 ` [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev Richard Purdie
0 siblings, 1 reply; 13+ messages in thread
From: Koen Kooi @ 2012-03-01 8:14 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 1 mrt. 2012, om 08:46 heeft Saul Wold het volgende geschreven:
> From: Zhai Edwin <edwin.zhai@intel.com>
>
> Self-hosted needs package libx11-dev, which is ambiguous as virtual/libx11 is
> provided by libx11 or libx11-trim. This patch explictly set the perferred one,
> libx11-trim-dev, to avoid this.
I don't like this patch, it now forces a distro decision on a task on oe-core, which is bad.
regards,
Koen
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings
2012-03-01 7:46 ` [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings Saul Wold
@ 2012-03-01 8:15 ` Koen Kooi
2012-03-01 8:34 ` Richard Purdie
0 siblings, 1 reply; 13+ messages in thread
From: Koen Kooi @ 2012-03-01 8:15 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 1 mrt. 2012, om 08:46 heeft Saul Wold het volgende geschreven:
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-core/images/self-hosted-image.bb | 16 ++++++++++++++--
> 1 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
> index a0a7592..d56c2cb 100644
> --- a/meta/recipes-core/images/self-hosted-image.bb
> +++ b/meta/recipes-core/images/self-hosted-image.bb
> @@ -1,11 +1,23 @@
> IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
>
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +PR = "r5"
AFAICT PR in images does nothing, since they are nostamp.
regards,
Koen
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings
2012-03-01 8:15 ` Koen Kooi
@ 2012-03-01 8:34 ` Richard Purdie
0 siblings, 0 replies; 13+ messages in thread
From: Richard Purdie @ 2012-03-01 8:34 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2012-03-01 at 09:15 +0100, Koen Kooi wrote:
> Op 1 mrt. 2012, om 08:46 heeft Saul Wold het volgende geschreven:
>
> > Signed-off-by: Saul Wold <sgw@linux.intel.com>
> > ---
> > meta/recipes-core/images/self-hosted-image.bb | 16 ++++++++++++++--
> > 1 files changed, 14 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
> > index a0a7592..d56c2cb 100644
> > --- a/meta/recipes-core/images/self-hosted-image.bb
> > +++ b/meta/recipes-core/images/self-hosted-image.bb
> > @@ -1,11 +1,23 @@
> > IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
> >
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> > + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> > +
> > +PR = "r5"
>
> AFAICT PR in images does nothing
PR doesn't do anything
> , since they are nostamp.
although with BasicHash, we could change that :)
Cheers,
Richard
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev
2012-03-01 8:14 ` Koen Kooi
@ 2012-03-01 11:55 ` Richard Purdie
2012-03-01 12:02 ` Martin Jansa
2012-03-01 12:11 ` Koen Kooi
0 siblings, 2 replies; 13+ messages in thread
From: Richard Purdie @ 2012-03-01 11:55 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
We have things that depend on libx11-dev, this patch ensures the -trim
and -diet versions provide it. This resolves some multiple providers
warnings.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
Koen/Saul: This is how I think we should be fixing the libx11 issues...
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
index 6106986..4bab148 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
@@ -14,6 +14,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
file://fix-utf8-wrong-define.patch \
"
+RPROVIDES_${PN}-dev = "libx11-dev"
SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
index 3fd5d82..b2c753d 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
@@ -5,7 +5,7 @@ DESCRIPTION += " Support for XCMS is disabled in this version."
LICENSE = "MIT & MIT-style & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
-PR = "r0"
+PR = "r1"
DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
@@ -13,6 +13,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
file://keysymdef_include.patch \
file://makekeys_crosscompile.patch"
+RPROVIDES_${PN}-dev = "libx11-dev"
SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev
2012-03-01 11:55 ` [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev Richard Purdie
@ 2012-03-01 12:02 ` Martin Jansa
2012-03-01 12:11 ` Koen Kooi
1 sibling, 0 replies; 13+ messages in thread
From: Martin Jansa @ 2012-03-01 12:02 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]
On Thu, Mar 01, 2012 at 11:55:16AM +0000, Richard Purdie wrote:
> We have things that depend on libx11-dev, this patch ensures the -trim
> and -diet versions provide it. This resolves some multiple providers
> warnings.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's probably fine now as only libx11_1.4.4.bb has
BBCLASSEXTENDS = "nativesdk native"
but can we use RPROVIDES_${BPN}-dev = "libx11-dev"
?
Cheers,
> ---
>
> Koen/Saul: This is how I think we should be fixing the libx11 issues...
>
>
> diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> index 6106986..4bab148 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> +++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb
> @@ -14,6 +14,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
> file://fix-utf8-wrong-define.patch \
> "
>
> +RPROVIDES_${PN}-dev = "libx11-dev"
>
> SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
> SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
> diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> index 3fd5d82..b2c753d 100644
> --- a/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> +++ b/meta/recipes-graphics/xorg-lib/libx11-trim_1.4.4.bb
> @@ -5,7 +5,7 @@ DESCRIPTION += " Support for XCMS is disabled in this version."
> LICENSE = "MIT & MIT-style & BSD"
> LIC_FILES_CHKSUM = "file://COPYING;md5=172255dee66bb0151435b2d5d709fcf7"
>
> -PR = "r0"
> +PR = "r1"
>
> DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
>
> @@ -13,6 +13,7 @@ SRC_URI += "file://x11_disable_makekeys.patch \
> file://keysymdef_include.patch \
> file://makekeys_crosscompile.patch"
>
> +RPROVIDES_${PN}-dev = "libx11-dev"
>
> SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
> SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev
2012-03-01 11:55 ` [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev Richard Purdie
2012-03-01 12:02 ` Martin Jansa
@ 2012-03-01 12:11 ` Koen Kooi
2012-03-01 12:50 ` Richard Purdie
1 sibling, 1 reply; 13+ messages in thread
From: Koen Kooi @ 2012-03-01 12:11 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 1 mrt. 2012, om 12:55 heeft Richard Purdie het volgende geschreven:
> We have things that depend on libx11-dev, this patch ensures the -trim
> and -diet versions provide it. This resolves some multiple providers
> warnings.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>
> Koen/Saul: This is how I think we should be fixing the libx11 issues...
I'm going to say something shockingly out of character: I think the trim/diet/normal seperation should be done with DISTRO_FEATURES + PACKAGECONFIG. Due to shlib naming the 3 recipes cannot coexist in the feeds anyway.
regards,
Koen
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev
2012-03-01 12:11 ` Koen Kooi
@ 2012-03-01 12:50 ` Richard Purdie
2012-03-01 13:01 ` Koen Kooi
0 siblings, 1 reply; 13+ messages in thread
From: Richard Purdie @ 2012-03-01 12:50 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2012-03-01 at 13:11 +0100, Koen Kooi wrote:
> Op 1 mrt. 2012, om 12:55 heeft Richard Purdie het volgende geschreven:
>
> > We have things that depend on libx11-dev, this patch ensures the -trim
> > and -diet versions provide it. This resolves some multiple providers
> > warnings.
> >
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> >
> > Koen/Saul: This is how I think we should be fixing the libx11 issues...
>
> I'm going to say something shockingly out of character: I think the
> trim/diet/normal seperation should be done with DISTRO_FEATURES +
> PACKAGECONFIG. Due to shlib naming the 3 recipes cannot coexist in the
> feeds anyway.
I agree although in this case, PACKAGECONFIG should be enough.
I propose we fix the immediate problem as per the patch and then look at
converting to PACKAGECONFIG.
Cheers,
Richard
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev
2012-03-01 12:50 ` Richard Purdie
@ 2012-03-01 13:01 ` Koen Kooi
0 siblings, 0 replies; 13+ messages in thread
From: Koen Kooi @ 2012-03-01 13:01 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 1 mrt. 2012, om 13:50 heeft Richard Purdie het volgende geschreven:
> On Thu, 2012-03-01 at 13:11 +0100, Koen Kooi wrote:
>> Op 1 mrt. 2012, om 12:55 heeft Richard Purdie het volgende geschreven:
>>
>>> We have things that depend on libx11-dev, this patch ensures the -trim
>>> and -diet versions provide it. This resolves some multiple providers
>>> warnings.
>>>
>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>> ---
>>>
>>> Koen/Saul: This is how I think we should be fixing the libx11 issues...
>>
>> I'm going to say something shockingly out of character: I think the
>> trim/diet/normal seperation should be done with DISTRO_FEATURES +
>> PACKAGECONFIG. Due to shlib naming the 3 recipes cannot coexist in the
>> feeds anyway.
>
> I agree although in this case, PACKAGECONFIG should be enough.
>
> I propose we fix the immediate problem as per the patch and then look at
> converting to PACKAGECONFIG.
Agreed.
regards,
Koen
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-03-01 13:10 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-01 7:46 [PATCH 0/4] Create vmdk image creation class Saul Wold
2012-03-01 7:46 ` [PATCH 1/4] self-hosted: Fix multiple libx11 error Saul Wold
2012-03-01 8:14 ` Koen Kooi
2012-03-01 11:55 ` [PATCH] libx11-trim/diet: Add RPROVIDES for libx11-dev Richard Purdie
2012-03-01 12:02 ` Martin Jansa
2012-03-01 12:11 ` Koen Kooi
2012-03-01 12:50 ` Richard Purdie
2012-03-01 13:01 ` Koen Kooi
2012-03-01 7:46 ` [PATCH 2/4] image-live: Allow LABELS to be modified Saul Wold
2012-03-01 7:46 ` [PATCH 3/4] image-vmdk: Create image_vmdk class and setup image and image_types to use it Saul Wold
2012-03-01 7:46 ` [PATCH 4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings Saul Wold
2012-03-01 8:15 ` Koen Kooi
2012-03-01 8:34 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.