[OE-core] perl-native: do_compile failed: pod/buildtoc: no pods at pod/buildtoc line 305

2012-05-07 Thread Cui, Dexuan
Hi, I got this ERROR today when running bitbake perl-native -c compile against today's latest poky master(I got the same issue when I tried the denzil branch). Any one has the same issue? Build Configuration: BB_VERSION= 1.15.2 TARGET_ARCH = i586 TARGET_OS = linux

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-09 Thread Cui, Dexuan
Darren Hart wrote on 2012-04-07: On 04/06/2012 12:48 AM, Cui, Dexuan wrote: It seems to me some work is needed at ESDC to account for proper development techniques and not reward sloppy development. Writing maintainable code is an important part of professional software engineers do every day

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-09 Thread Cui, Dexuan
Daniel Lazzari wrote on 2012-04-07: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: Surely, the standard way is: we should write a recipe to cross-compile and install the driver. But this is difficult to the students: 1) They're not familiar with Poky at all, and actually the downloaded wifi

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Cui, Dexuan
Darren Hart wrote on 2012-04-06: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: Darren Hart wrote on 2012-04-06: On 04/05/2012 08:20 PM, Cui, Dexuan wrote: In a typical Linux distribution, there is a build link(or directory) that specifies the directory where the kernel headers and kernel config

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Cui, Dexuan
Cui, Dexuan wrote on 2012-04-06: Darren Hart wrote on 2012-04-06: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: While I understand there are valid use cases, I think this is generally contrary to workflow of the project. We build the OS, it runs on the target. This is building a general purpose

Re: [OE-core] [PATCH 0/5] dexuan: more build appliance patches: [Apr 1, 2012]

2012-04-06 Thread Cui, Dexuan
Koen Kooi wrote on 2012-04-06: Op 5 apr. 2012 om 10:21 heeft Cui, Dexuan dexuan@intel.com het volgende geschreven: Koen Kooi wrote on 2012-04-04: are available in the git repository at: git://git.yoctoproject.org/poky-contrib dcui/master http://git.yoctoproject.org/cgit.cgi/poky

Re: [OE-core] [PATCH 1/1] self-hosted-image: decrease reserved space to 0.5%

2012-04-05 Thread Cui, Dexuan
Hi Paul, This reminds me of something slightly similar: Can we enable the -z option of genext2fs in IMAGE_CMD_ext3()? For a 40G image, this would save the building host many giga bytes, and make the conversion from .ext3 to .hdddirect faster. Thanks, -- Dexuan -Original Message- From:

Re: [OE-core] [PATCH 2/3] xterm: port the recipe from OE and upgrade to v278

2012-04-05 Thread Cui, Dexuan
Paul Eggleton wrote on 2012-04-06: On Friday 06 April 2012 00:10:12 Dexuan Cui wrote: The recipe is ported from OE: http://git.openembedded.org/openembedded/tree/recipes/xorg-app/xterm_2 66.bb I upgraded it from v266 to v278. I added LICENSE, LIC_FILES_CHKSUM and updated SRC_URI

Re: [OE-core] [PATCH 0/5] dexuan: more build appliance patches: [Apr 1, 2012]

2012-04-05 Thread Cui, Dexuan
Koen Kooi wrote on 2012-04-04: are available in the git repository at: git://git.yoctoproject.org/poky-contrib dcui/master http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dcui/master Dexuan Cui (5): genext2fs: support large files and filesystems without using large amounts of

[OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-05 Thread Cui, Dexuan
In a typical Linux distribution, there is a build link(or directory) that specifies the directory where the kernel headers and kernel config are put. E.g. in my Ubuntu 11.04, a package linux-headers-2.6.38-8-generic installs .config, include/ and Kconfig into

Re: [OE-core] [PATCH 1/3] libxaw: move it from meta-demoapps/ into meta/ and upgrade it to 1.0.10

2012-04-05 Thread Cui, Dexuan
Martin Jansa wrote on 2012-04-06: On Fri, Apr 06, 2012 at 12:10:11AM +0800, Dexuan Cui wrote: Add LICENSE and LIC_FILES_CHKSUM; Add SRC_URI checksums; Remove do_install_append since 1.0.10's Makefile has done the work. This is also in meta-oe

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-05 Thread Cui, Dexuan
Darren Hart wrote on 2012-04-06: On 04/05/2012 08:20 PM, Cui, Dexuan wrote: In a typical Linux distribution, there is a build link(or directory) that specifies the directory where the kernel headers and kernel config are put. E.g. in my Ubuntu 11.04, a package linux-headers-2.6.38-8-generic

Re: [OE-core] [PATCH 0/6] Setup for VMDK to use Direct Disk

2012-04-01 Thread Cui, Dexuan
Cui, Dexuan wrote on 2012-03-31: Cui, Dexuan wrote on 2012-03-31: Paul Eggleton wrote on 2012-03-30: On Monday 26 March 2012 22:42:54 Saul Wold wrote: Updated comments per Darren's request, added cleanup to image-types to only use one -i (inode-count) parameter. Sau! The following changes

Re: [OE-core] [PATCH 1/5] genext2fs: support large files and filesystems without using large amounts of memory

2012-04-01 Thread Cui, Dexuan
/genext2fs/genext2fs/genext2fs.c? revision=1.95 The patches 0001-0019 come from mailing list of genext2fs-devel http://sourceforge.net/mailarchive/forum.php?forum_name=genext2fs-devel; max_rows=100style=flatviewmonth=201106 Signed-off-by: Dexuan Cui dexuan@intel.com --- ...01-Fix

Re: [OE-core] [PATCH 0/1] genext2fs: support large files and filesystems without using large amounts of memor

2012-03-30 Thread Cui, Dexuan
Darren Hart wrote on 2012-03-30: On 03/29/2012 03:07 PM, Richard Purdie wrote: On Thu, 2012-03-29 at 00:51 +0800, Dexuan Cui wrote: Hi RP, Saul, Paul, Darren, Mark, Josh and joaohf and all, please comment. Let's figure out if this big patch is acceptable or not... With this patch, I can

Re: [OE-core] [PATCH 0/6] Setup for VMDK to use Direct Disk

2012-03-30 Thread Cui, Dexuan
Paul Eggleton wrote on 2012-03-30: On Monday 26 March 2012 22:42:54 Saul Wold wrote: Updated comments per Darren's request, added cleanup to image-types to only use one -i (inode-count) parameter. Sau! The following changes since commit 644b7503c37fd73730dd3d7841463b158b8934ed: guile:

Re: [OE-core] [PATCH 0/6] Setup for VMDK to use Direct Disk

2012-03-30 Thread Cui, Dexuan
Cui, Dexuan wrote on 2012-03-31: Paul Eggleton wrote on 2012-03-30: On Monday 26 March 2012 22:42:54 Saul Wold wrote: Updated comments per Darren's request, added cleanup to image-types to only use one -i (inode-count) parameter. Sau! The following changes since commit

Re: [OE-core] [PATCH 1/6] self-hosted-image: pre-populate the builder user with poky source

2012-03-29 Thread Cui, Dexuan
Saul Wold wrote on 2012-03-29: On 03/28/2012 08:35 AM, Cui, Dexuan wrote: Hi Saul, Did you test bitbake core-image-minimal inside the vmware guest? I got the following ERROR immediately: Pseudo is not functioning correctly, which will cause failures I suspect in the guest, pseudo

Re: [OE-core] [PATCH 0/6] Setup for VMDK to use Direct Disk

2012-03-28 Thread Cui, Dexuan
Hi joaohf, Thank for the hint! I have got the patches from genext2fs-devel mailing list and did some tests: I can successfully create a .ext2 file of 8.5GB with genext2fs now! I’ll send an update to the genext2fs recipe later. Thanks, -- Dexuan From:

Re: [OE-core] [PATCH 1/6] self-hosted-image: pre-populate the builder user with poky source

2012-03-28 Thread Cui, Dexuan
I suspect in the guest, pseudo is not setup properly? Thanks, -- Dexuan -Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Tuesday, March 27, 2012 1:43 PM To: openembedded-core@lists.openembedded.org Cc: Cui, Dexuan Subject: [PATCH 1/6] self-hosted-image

Re: [OE-core] [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source

2012-03-18 Thread Cui, Dexuan
Koen Kooi wrote on 2012-03-18: Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven: [YOCTO #2065] What does that mean? Sorry, I should have made it more clear. :-) It means bug 2065 is addressed by the patch: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2065 Thanks,

Re: [OE-core] [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source

2012-03-18 Thread Cui, Dexuan
Koen Kooi wrote on 2012-03-18: Op 18 mrt. 2012, om 10:52 heeft Cui, Dexuan het volgende geschreven: Koen Kooi wrote on 2012-03-18: Op 18 mrt. 2012, om 06:41 heeft Dexuan Cui het volgende geschreven: [YOCTO #2065] What does that mean? Sorry, I should have made it more clear

Re: [OE-core] [PATCH 1/1] image_types: ensure .rootfs.ext3 is created before vmdk is created.

2012-03-08 Thread Cui, Dexuan
Saul Wold wrote on 2012-03-09: On 03/08/2012 11:19 PM, Dexuan Cui wrote: In the case of self-hosted-image.bb, IMAGE_FSTYPES = vmdk, so the variables alltypes and subimages don't contain ext3, and .rootfs.ext3 won't be created, and finally the generated .hddimg and .vmdk don't have an actual

Re: [OE-core] [RFC PATCH 1/1] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Darren Hart wrote on 2012-01-17: On 01/17/2012 01:35 AM, Cui, Dexuan wrote: Darren Hart wrote on 2012-01-13: So, I think here we should change the = to ?= like the below -APPEND = root=/dev/sda2 +APPEND ?= root=/dev/sda2 And in meta/conf/machine/include/qemu.inc, I can add a line APPEND

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Saul Wold wrote on 2012-01-19: On 01/18/2012 06:18 AM, Dexuan Cui wrote: The self-hosted-image work needs a live-bootable and r/w-able image format. The existing .iso isn't ok since it's readonly. The existing .hddimg is not a good choice, since it has a two-option(boot, install) syslinux

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
Saul Wold wrote on 2012-01-19: +if [ ${NOVMDK} != 1 ] ; then Why make this a double negative, Why not have a CREATE_VMDK check? +${STAGING_BINDIR_NATIVE}/qemu-img convert -O vmdk \ +${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect \ +

Re: [OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Cui, Dexuan
is the only user of boot-directdisk.bbclass; with the adoption of .hdddirect and .vmdk formats, a user can still use IMAGE_FSTYPES += 'live' to generate the .iso and .hddimg format. Signed-off-by: Dexuan Cui dexuan@intel.com --- meta/classes/boot-directdisk.bbclass |8

Re: [OE-core] [RFC PATCH 1/1] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-17 Thread Cui, Dexuan
-off-by: Dexuan Cui dexuan@intel.com --- meta/classes/boot-directdisk.bbclass | 10 +- meta/recipes-core/images/self-hosted-image.bb | 11 +-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot

Re: [OE-core] [PATCH 1/1] distro_tracking_fields.inc: upgrade tcf-agent

2012-01-09 Thread Cui, Dexuan
1/1] distro_tracking_fields.inc: upgrade tcf-agent Upgraded the field RECIPE_MANUAL_CHECK_DATE. Also changed the MAINTAINER to Lianhao who volunteered to take the recipe. Signed-off-by: Dexuan Cui dexuan@intel.com --- .../conf/distro/include/distro_tracking_fields.inc |4 ++-- 1

Re: [OE-core] Recent xserver-kdrive failure and util-macros update

2012-01-04 Thread Cui, Dexuan
Xiaofeng Yan wrote on 2012-01-04: On 2012年01月04日 15:28, Saul Wold wrote: We seem to have a relatively new failure in xserver-kdrive, which appeared in the last set of change. I tried to run though a bisect but was not able to find the problem. The problem seems to be related to

Re: [OE-core] opkg still breaks meta-toolchain-gmae

2011-12-21 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-12-21: Hi all, After I upgraded to the latest poky master (commit 4648aadf), core-image-sato-sdk can build file, but meta-toolchain-gmae (with ipk packaging) still doesn't work. Now the failure is: | error: Failed dependencies: | libsdl-nativesdk is needed

[OE-core] opkg still breaks meta-toolchain-gmae

2011-12-20 Thread Cui, Dexuan
Hi all, After I upgraded to the latest poky master (commit 4648aadf), core-image-sato-sdk can build file, but meta-toolchain-gmae (with ipk packaging) still doesn't work. Now the failure is: | error: Failed dependencies: | libsdl-nativesdk is needed by qemu-nativesdk-0.15.1-r1.x86_64 NOTE:

Re: [OE-core] [PATCH 1/1] socat: add the latest stable version 1.7.2.0

2011-12-19 Thread Cui, Dexuan
Koen Kooi wrote on 2011-12-19: Op 19 dec. 2011, om 06:22 heeft Dexuan Cui het volgende geschreven: +DEPENDS = openssl + +LICENSE = GPLv2+ Hi Koen, Thanks very much for the comment! Linking GPL and openssl is not allowed due to the advertising clause in BSD. The socat people realized

Re: [OE-core] [PATCH 1/1] socat: add the latest stable version 1.7.2.0

2011-12-19 Thread Cui, Dexuan
Koen Kooi wrote on 2011-12-19: Op 19 dec. 2011, om 10:16 heeft Cui, Dexuan het volgende geschreven: Koen Kooi wrote on 2011-12-19: Op 19 dec. 2011, om 06:22 heeft Dexuan Cui het volgende geschreven: +DEPENDS = openssl + +LICENSE = GPLv2+ Hi Koen, Thanks very much for the comment

Re: [OE-core] [CONSOLIDATED PULL 15/17] wget: enable https and openssl

2011-12-18 Thread Cui, Dexuan
Steve Sakoman wrote on 2011-12-19: On Fri, Dec 9, 2011 at 12:21 PM, Khem Raj raj.k...@gmail.com wrote: On Thu, Dec 8, 2011 at 12:44 AM, Saul Wold s...@linux.intel.com wrote: Signed-off-by: Saul Wold s...@linux.intel.com ---  meta/recipes-extended/wget/wget.inc |    6 +++---  1 files

Re: [OE-core] [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.

2011-12-18 Thread Cui, Dexuan
Eric Bénard wrote on 2011-12-19: inherit autotools gettext update-alternatives -EXTRA_OECONF = --with-libc --enable-ipv6 --with-ssl=openssl +EXTRA_OECONF = --with-libc --enable-ipv6 --with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl do_install_append () { mv

Re: [OE-core] [PATCH 4/9] consolekit: fix sdk generation issues

2011-12-15 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-15: On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote: Currently sdk generation might fail with the following error: | Collected errors: | * extract_archive: Cannot create symlink from ./var/log to 'volatile/log': File exists. ERROR: Function

Re: [OE-core] [PATCH 4/9] consolekit: fix sdk generation issues

2011-12-15 Thread Cui, Dexuan
Koen Kooi wrote on 2011-12-15: Op 15 dec. 2011, om 15:58 heeft Richard Purdie het volgende geschreven: On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote: Currently sdk generation might fail with the following error: | Collected errors: | * extract_archive: Cannot create

Re: [OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists

2011-12-05 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-05: On Mon, 2011-12-05 at 15:35 +0800, Cui, Dexuan wrote: Hi, recently, I found meta-toolchain-gmae failed to build on poky master if I use ipk packaging(I didn't try rpm/deb): task do_populate_sdk: Failed | Configuring avahi-dev. | Configuring task-core

[OE-core] meta-toolchain-gmae can't build: Cannot create symlink from ./var/log to 'volatile/log': File exists

2011-12-04 Thread Cui, Dexuan
Hi, recently, I found meta-toolchain-gmae failed to build on poky master if I use ipk packaging(I didn't try rpm/deb): task do_populate_sdk: Failed | Configuring avahi-dev. | Configuring task-core-standalone-gmae-sdk-target. | Configuring libtelepathy-dbg. | Configuring

Re: [OE-core] [PATCH 4/8] libxfont: upgrade from 1.4.3 to 1.4.4

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui dexuan@intel.com wrote: updated LIC_FILES_CHKSUM: only Copyright holder change in COPYING -- no actual license change. Signed-off-by: Dexuan Cui dexuan@intel.com ---  .../{libxfont_1.4.3.bb = libxfont_1.4.4

Re: [OE-core] [PATCH 3/8] lzo: upgrade from 2.05 to the latest version 2.06

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui dexuan@intel.com wrote: Signed-off-by: Dexuan Cui dexuan@intel.com ---  .../lzo/{lzo-2.05 = lzo-2.06}/acinclude.m4        |    0  .../lzo/{lzo-2.05 = lzo-2.06}/autoconf.patch      |    9 -  ---  diff

Re: [OE-core] [PATCH 6/8] xcb-util: upgrade from 0.3.6 to 0.3.8

2011-12-01 Thread Cui, Dexuan
Khem Raj wrote on 2011-12-01: On Wed, Nov 30, 2011 at 6:12 AM, Dexuan Cui dexuan@intel.com wrote: updated LIC_FILES_CHKSUM since the code was re-organized, but the license remains the same. --- /dev/null +++ b/meta/recipes-graphics/xcb/xcb-util_0.3.8.bb @@ -0,0 +1,9 @@ +file://src

Re: [OE-core] [PATCH 3/3] runqemu-ifup, runqemu-internal: be wiser when locating the network tools

2011-12-01 Thread Cui, Dexuan
/sbin/route /usr/sbin/iptables The patch is used to fix the issue by setting a temp PATH when running which. Signed-off-by: Dexuan Cui dexuan@intel.com --- scripts/runqemu-ifup |8 +--- scripts/runqemu-internal |3 ++- 2 files changed, 7 insertions(+), 4 deletions

Re: [OE-core] [PATCH 1/3] make: expand MAKEFLAGS before we re-exec after rebuilding makefiles.

2011-12-01 Thread Cui, Dexuan
-by: Dexuan Cui dexuan@intel.com --- .../make/make-3.82/expand_MAKEFLAGS.patch | 39 meta/recipes-devtools/make/make_3.82.bb |4 ++- 2 files changed, 42 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/make/make-3.82

Re: [OE-core] [PATCH 6/8] xcb-util: upgrade from 0.3.6 to 0.3.8

2011-12-01 Thread Cui, Dexuan
Martin Jansa wrote on 2011-12-01: On Wed, Nov 30, 2011 at 10:12:32PM +0800, Dexuan Cui wrote: updated LIC_FILES_CHKSUM since the code was re-organized, but the license remains the same. meta/recipes-graphics/xcb/xcb-util_0.3.6.bb | 18 --

Re: [OE-core] [PATCH 0/8] [Dexuan]: upgrades for 7 recipes

2011-12-01 Thread Cui, Dexuan
Richard Purdie wrote on 2011-12-01: On Wed, 2011-11-30 at 22:12 +0800, Dexuan Cui wrote: The following changes since commit 00d121aad3a4263bc0e3a004a3a479e6352e063d: clutter-box2d: drop unbuildable clutter-box2d-1.6_0.10.0 (2011-11-30 22:06:00 +0800) are available in the git repository

Re: [OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp

2011-11-24 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-24: On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote: --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc @@ -122,6 +122,8 @@ do_install () { ln -sf ${TARGET_PREFIX}g++ g++ ln -sf

Re: [OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp

2011-11-24 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-25: On Thu, 2011-11-24 at 23:37 +0800, Cui, Dexuan wrote: Richard Purdie wrote on 2011-11-24: On Thu, 2011-11-24 at 18:08 +0800, Dexuan Cui wrote: --- a/meta/recipes-devtools/gcc/gcc-package-target.inc +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc

Re: [OE-core] [CONSOLIDATED PULL 17/17] python: skip setup.py 'import check' when cross-compiling

2011-11-09 Thread Cui, Dexuan
Zanussi, Tom wrote on 2011-11-10: On Wed, 2011-11-09 at 16:57 -0800, Cui, Dexuan wrote: Zanussi, Tom wrote on 2011-11-09: On Wed, 2011-11-09 at 02:34 -0800, Cui, Dexuan wrote: How I wish I could notice the patch this morning so I could save 1 day! ??? Can you please explain what you mean

Re: [OE-core] [PATCH 1/1] bash: make job control really work

2011-11-02 Thread Cui, Dexuan
[YOCTO #487] Signed-off-by: Dexuan Cui dexuan@intel.com --- meta/recipes-extended/bash/bash.inc|1 + meta/recipes-extended/bash/bash_4.2.bb |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash

Re: [OE-core] [PATCH 1/1] bash: make job control really work

2011-11-02 Thread Cui, Dexuan
Richard Purdie wrote on 2011-11-02: On Wed, 2011-11-02 at 15:10 +0800, Cui, Dexuan wrote: Richard Purdie wrote on 2011-11-01: On Tue, 2011-11-01 at 16:05 +0800, Dexuan Cui wrote: I had a go at this problem myself and it took a bit of figuring out. The problem is that bash ships config.h.in

Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite

2011-10-12 Thread Cui, Dexuan
Of Cui, Dexuan Sent: Wednesday, October 12, 2011 11:49 AM To: Patches and discussions about the oe-core layer Cc: Martin Jansa Subject: Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite Glad to see the patches to upgrade xserver

Re: [OE-core] [oe-core][PATCHv3 01/31] xserver-xf86(-dri)-lite: rename to xserver-xorg and xserver-xorg-lite

2011-10-11 Thread Cui, Dexuan
Glad to see the patches to upgrade xserver and libx11. Good work! :-) BTW, we also need to upgrade meta-intel's side since BSP can't build now: http://bugzilla.pokylinux.org/show_bug.cgi?id=1670 I'm working on this bug. Thanks, -- Dexuan -Original Message- From:

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-16 Thread Cui, Dexuan
Martin Jansa wrote on 2011-08-16: On Tue, Aug 16, 2011 at 10:40:38AM +0800, Cui, Dexuan wrote: Saul Wold wrote on 2011-08-16: On 08/12/2011 01:04 AM, Noor, Ahsan wrote: From: Noor Ahsannoor_ah...@mentor.com * Added new recipe 4.96 and removed 4.82 version and its files. Signed-off-by: Noor

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-16 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-08-16: Martin Jansa wrote on 2011-08-16: On Tue, Aug 16, 2011 at 10:40:38AM +0800, Cui, Dexuan wrote: Saul Wold wrote on 2011-08-16: On 08/12/2011 01:04 AM, Noor, Ahsan wrote: From: Noor Ahsannoor_ah...@mentor.com * Added new recipe 4.96 and removed 4.82 version

Re: [OE-core] [PATCH 5/5] tcf-agent: Add openssl to DEPENDS

2011-08-16 Thread Cui, Dexuan
Khem Raj wrote on 2011-08-17: It ends in errors like below otherwise | framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or directory | compilation terminated. | make: *** [obj/GNU/Linux/arm/Debug/framework/channel_tcp.o] Error 1 | make: *** Waiting for unfinished

Re: [OE-core] [PATCH V2] bluez4: Added new recipe 4.96 and removed 4.82 version

2011-08-15 Thread Cui, Dexuan
Saul Wold wrote on 2011-08-16: On 08/12/2011 01:04 AM, Noor, Ahsan wrote: From: Noor Ahsannoor_ah...@mentor.com * Added new recipe 4.96 and removed 4.82 version and its files. Signed-off-by: Noor Ahsannoor_ah...@mentor.com Merged into OE-Core The patch causes a failure: NOTE: package

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-09 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-09: On 08/08/2011 07:13 PM, Cui, Dexuan wrote: From 593e3506f4d4d9f6030100eac8c8e0af7f8ce3eb Mon Sep 17 00:00:00 2001 From: Dexuan Cui dexuan@intel.com Date: Thu, 04 Aug 2011 06:53:20 + Subject: scripts/oe-buildenv-internal: improve the error detecting

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-09 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-09: On 08/09/2011 07:04 AM, Cui, Dexuan wrote: Hi Darren, thanks a lot for all the suggestions! I appreciate your efforts to help to make the patch better. Below is the updated patch (also pasted at the end of the mail): http://git.yoctoproject.org/cgit/cgit.cgi

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-08 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-08-04: Darren Hart wrote on 2011-08-04: On 08/04/2011 12:37 AM, Cui, Dexuan wrote: Please remember to include a description of the problem and the approach taken to fix it. This eliminates wasted time trying to decipher it later or by people unfamiliar

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-04 Thread Cui, Dexuan
Darren Hart wrote on 2011-08-04: On 08/04/2011 12:37 AM, Cui, Dexuan wrote: Please remember to include a description of the problem and the approach taken to fix it. This eliminates wasted time trying to decipher it later or by people unfamiliar with the history. This is important even

Re: [OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-04 Thread Cui, Dexuan
Phil Blundell wrote on 2011-08-04: On Thu, 2011-08-04 at 22:49 +0800, Cui, Dexuan wrote: +BDIR=`readlink -f $BDIR` +if [ -z $BDIR ]; then +PARENTDIR=`dirname $1` +echo 2 Error: the directory $PARENTDIR does not exist? return 1 fi

Re: [OE-core] Add basic PowerPC core tune config (bug?)

2011-07-28 Thread Cui, Dexuan
Saul Wold wrote on 2011-07-28: On 07/27/2011 10:25 PM, Kumar Gala wrote: For some reason when I get to do_rootfs for core-image-sato when using rpms I run into an issue in that: ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} Isn't expanding or taking the assignment in

Re: [OE-core] [PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-22 Thread Cui, Dexuan
Saul Wold wrote on 2011-07-22: There seems to be a compile issue with this patch. For an X86 Build fatal error: uuid/uuid.h: No such file or directory | compilation Hi Saul, Sorry! We didn't do enough test... Lianhao and I have got the causes of the failures. This uuid.h issue is due to the

Re: [OE-core] [PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-22 Thread Cui, Dexuan
Cui, Dexuan wrote on 2011-07-22: Saul Wold wrote on 2011-07-22: There seems to be a compile issue with this patch. Hi Saul, Lianhao and I have made the v2 patches and did tests. I sent out the patches just now. Please review them. Thanks, -- Dexuan

Re: [OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Cui, Dexuan
is accepted) and this causes trouble to eclipse plugin. We can use update-alternatives for powertop with higher priority to resolve the issue. Fixes [YOCTO #1208] Signed-off-by: Dexuan Cui dexuan@intel.com This fix seems a bit incomplete. Why is busybox putting powertop

Re: [OE-core] The swap partition's size is too big for BSP?

2011-07-04 Thread Cui, Dexuan
Richard Purdie wrote: On Mon, 2011-07-04 at 13:35 +0800, Cui, Dexuan wrote: In meta/recipes-core/initrdscripts/files/init-install.sh, we have # 5% for the swap swap_ratio=5 # dexuan: this variable is not used at all! ... swap_size=$((disk_size*5/100)) This algorithm seems

Re: [OE-core] The swap partition's size is too big for BSP?

2011-07-04 Thread Cui, Dexuan
Richard Purdie wrote: On Mon, 2011-07-04 at 20:02 +0800, Cui, Dexuan wrote: Richard Purdie wrote: For reference if you want to do suspend to disk (swap) you need a lot of swap space btw. Still no where near that much though! Does (or should )Yocto Linux support suspend-to-disk? I'm not sure

Re: [OE-core] [Draft design][RFC] Running postinst at rootfs generation time

2011-07-03 Thread Cui, Dexuan
Hauser, Wolfgang (external) wrote: Beside the discussed changes, the postinst scripts should be executed in the dependency order. At the time, the scripts are executed in alphabetic order, which breaks the image generation if depended packages are not in alphabetic order. e.g. busybox and

[OE-core] The swap partition's size is too big for BSP?

2011-07-03 Thread Cui, Dexuan
In meta/recipes-core/initrdscripts/files/init-install.sh, we have # 5% for the swap swap_ratio=5 # dexuan: this variable is not used at all! ... swap_size=$((disk_size*5/100)) This algorithm seems too wasty -- e.g., for a CrownBay box with a 160GB disk, we would create a 8GB

Re: [OE-core] [PATCH 0/1] busybox: bump PR to enable largefile support

2011-07-01 Thread Cui, Dexuan
Cui, Dexuan wrote: The following changes since commit 4d60d32a60ae0fae1002b27cd7d20c28532f4932: poky.conf: add largefile support into DISTRO_FEATURES (2011-07-01 17:35:26 +0800) Dexuan Cui (1): busybox: bump PR to enable largefile support are available in the git repository

Re: [OE-core] [PATCH 0/1] bump PR to fix the perl-native issue

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: I did a core-image-sato-sdk and meta-toolchain-gmae building using a commit of May 12 between 605141a9(the perl-native workaround patch) and 3ba6d018(populate perl-native into its own dir), and grepped ${STAGING_BINDIR_NATIVE}/perl in ${STAGING_BINDIR_NATIVE} to find out

Re: [OE-core] [PATCH 0/1] bump PR to fix the perl-native issue

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: Cui, Dexuan wrote: I did a core-image-sato-sdk and meta-toolchain-gmae building using a commit of May 12 between 605141a9(the perl-native workaround patch) and 3ba6d018(populate perl-native into its own dir), and grepped ${STAGING_BINDIR_NATIVE}/perl

Re: [OE-core] [PATCH 1/3] grub: add -fno-reorder-functions into STAGE2_COMPILE

2011-06-29 Thread Cui, Dexuan
Cui, Dexuan wrote: This is used to work around a gcc-4.6's bug about the option. [YOCTO #1099] diff --git a/meta/recipes-bsp/grub/grub_0.97.bb b/meta/recipes-bsp/grub/grub_0.97.bb index 131d942..ffacb61 100644 --- a/meta/recipes-bsp/grub/grub_0.97.bb +++ b/meta/recipes-bsp/grub

Re: [OE-core] [PATCH 2/2] prelink_git.bb: Only block the postinst script when no image-prelink (v2)

2011-06-29 Thread Cui, Dexuan
Mark Hatle wrote: [V2 - fix a small typo in the comment] If image-prelink is being used, the system will automatically prelink the target image. This avoids the need to run the postinst prelink script at first boot. However, if the user has not enabled image prelinking -- then we do

Re: [OE-core] [PATCH 2/2] prelink_git.bb: Only block the postinst script when no image-prelink (v2)

2011-06-29 Thread Cui, Dexuan
Mark Hatle wrote: On 6/29/11 9:42 AM, Phil Blundell wrote: On Wed, 2011-06-29 at 22:39 +0800, Cui, Dexuan wrote: Even if without the patch, we still skip this on the host side -- previously we skipped with exit 1, and with the patch now we skip with exit 1 or exit 0. So IMHO looks the patch

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-29 Thread Cui, Dexuan
Khem Raj wrote: On 06/28/2011 04:07 AM, Paul Eggleton wrote: On Tuesday 28 June 2011 07:45:09 Koen Kooi wrote: So it works as expected, but the output is a bit confusing. I have a few (conflicting) suggestions: 1) replace _BRANCH and _REVISION with ' branch' and ' revision', e.g.:

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-29 Thread Cui, Dexuan
Koen Kooi wrote: Op 29 jun 2011, om 18:14 heeft Cui, Dexuan het volgende geschreven: Khem Raj wrote: On 06/28/2011 04:07 AM, Paul Eggleton wrote: On Tuesday 28 June 2011 07:45:09 Koen Kooi wrote: BTW: meta and mete-yocto belong to the same git repo actually, so do you think showing them

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Mark Hatle wrote: On 6/28/11 1:45 AM, Koen Kooi wrote: Op 28 jun 2011, om 07:37 heeft Dexuan Cui het volgende geschreven: ... So it works as expected, but the output is a bit confusing. I have a few (conflicting) suggestions: 1) replace _BRANCH and _REVISION with ' branch' and '

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Koen Kooi wrote: Op 28 jun 2011, om 16:52 heeft Cui, Dexuan het volgende geschreven: Hi, thank you very much for the suggestions! I worked out a vesion 2 patch that combines 2 and 3: http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/banner_v2id

Re: [OE-core] [PATCH 1/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-28 Thread Cui, Dexuan
Mark Hatle wrote: On 6/28/11 10:21 AM, Cui, Dexuan wrote: Koen Kooi wrote: Op 28 jun 2011, om 16:52 heeft Cui, Dexuan het volgende geschreven: Hi, thank you very much for the suggestions! I worked out a vesion 2 patch that combines 2 and 3: http://git.pokylinux.org/cgit/cgit.cgi/poky

[OE-core] [Draft design][RFC] Running postinst at rootfs generation time

2011-06-27 Thread Cui, Dexuan
Hi all, below is an initial investigation about the task and we'll continue to further look into it. In poky we have 2 types of postinst scripts: one (type-1) can be (and has already been) run at rootfs generation time and the other (type-2) has to be delayed to the first-boot of target

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-27 Thread Cui, Dexuan
Tom Zanussi wrote: On Mon, 2011-06-27 at 05:56 -0700, Bruce Ashfield wrote: 2011/6/27 Cui, Dexuan dexuan@intel.com: Cui, Dexuan wrote: Hi, I got the following ERROR with the patch: Log data follows: Unstaged changes after reset: M arch/powerpc/boot/dts/mpc8315erdb.dts Deleted branch

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-26 Thread Cui, Dexuan
Hi, I got the following ERROR with the patch: Log data follows: | Unstaged changes after reset: | M arch/powerpc/boot/dts/mpc8315erdb.dts | Deleted branch meta-temp (was cf7d7e5). | WARNING: addon feature features/taskstats was not found | ERROR: required features were not found. aborting |

Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups

2011-06-26 Thread Cui, Dexuan
Cui, Dexuan wrote: Hi, I got the following ERROR with the patch: Log data follows: Unstaged changes after reset: M arch/powerpc/boot/dts/mpc8315erdb.dts Deleted branch meta-temp (was cf7d7e5). WARNING: addon feature features/taskstats was not found ERROR: required features were not found

Re: [OE-core] BUG: intltool depends on libxml-parser-perl to be installed on host

2011-06-22 Thread Cui, Dexuan
Otavio Salvador wrote: On Tue, Jun 21, 2011 at 12:20, Cui, Dexuan dexuan@intel.com wrote: I think I can reproduce the issue with the same steps on a Ubuntu 10.10 host. I'm going to further look into this. Please report a bug on the bugzilla, so we can better track it. :-) Sorry but I

Re: [OE-core] [PATCH 0/2] fix the mesa-dri build failure after upgrading to newer glproto and dri2proto

2011-06-15 Thread Cui, Dexuan
Martin Jansa wrote: On Wed, Jun 15, 2011 at 9:19 AM, Dexuan Cui dexuan@intel.com wrote: Please review them. Acked-by: Martin.Jansa martin.ja...@gmail.com with sort of deja vu :) http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=de74afec8a067071d17365438d6c462664bc5054

Re: [OE-core] [PATCH 1/1] autoconf/automake: Bump PR to resolve perl-native issue

2011-06-14 Thread Cui, Dexuan
Saul Wold wrote: On 06/14/2011 12:48 AM, Koen Kooi wrote: To be clear: does the PR bump fix the issues or was there a fix earlier that lacked a PR bump? The fix was earlier and lacked the PR bump to these recipes. Sorry for the issue and thanks Saul for the fix! I knew the issue but I was

Re: [OE-core] [RFC v1 PATCH 01/16] native.bbclass: allow a native package to be populated into its own dir

2011-06-02 Thread Cui, Dexuan
Phil Blundell wrote: On Wed, 2011-06-01 at 21:18 +0800, Dexuan Cui wrote: +PACKAGE_OWN_DIR = +bindir .= ${PACKAGE_OWN_DIR} +libdir .= ${PACKAGE_OWN_DIR} +libexecdir .= ${PACKAGE_OWN_DIR} I think the general idea of this patch is a good one but I'm not terribly fond of the name of that

Re: [OE-core] [RFC v1 PATCH 00/16] populate perl-native into its own directory

2011-06-02 Thread Cui, Dexuan
Tom Rini wrote: On 06/01/2011 01:05 PM, Phil Blundell wrote: On Wed, 2011-06-01 at 12:39 -0700, Tom Rini wrote: Maybe race isn't quite the right word. But recipe A depends on lib$something-perl-native, and brings in perl-native. It also checks for perl in its auto-foo and finds our perl.

Re: [OE-core] [RFC v1 PATCH 01/16] native.bbclass: allow a native package to be populated into its own dir

2011-06-02 Thread Cui, Dexuan
Cui, Dexuan wrote: Phil Blundell wrote: On Wed, 2011-06-01 at 21:18 +0800, Dexuan Cui wrote: +PACKAGE_OWN_DIR = +bindir .= ${PACKAGE_OWN_DIR} +libdir .= ${PACKAGE_OWN_DIR} +libexecdir .= ${PACKAGE_OWN_DIR} I think the general idea of this patch is a good one but I'm not terribly fond

[OE-core] dpkg's admindir: /var/dpkg or /var/lib/dpkg?

2011-05-18 Thread Cui, Dexuan
Hi, I happened to find a bug: in target, dpkg --list shows dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory Actually the files(status and available) does exist, but not in /var/lib/dpkg/ -- they're in /var/dpkg/. ln -s

Re: [OE-core] dpkg's admindir: /var/dpkg or /var/lib/dpkg?

2011-05-18 Thread Cui, Dexuan
Mark Hatle wrote: On 5/18/11 4:27 AM, Cui, Dexuan wrote: Hi, I happened to find a bug: in target, dpkg --list shows dpkg-query: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory Actually the files(status and available) does exist

[OE-core] [meta-intel] n450-audio.bb: ${POKYBASE} -- ${COREBASE}

2011-05-13 Thread Cui, Dexuan
Currently n450 can't build due to the issue: diff --git a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb b/meta-n450/recipes-bsp/n450-audio/n450-audio.bb index 90ec267..27904e3 100644 --- a/meta-n450/recipes-bsp/n450-audio/n450-audio.bb +++ b/meta-n450/recipes-bsp/n450-audio/n450-audio.bb @@

Re: [OE-core] [RFC][v2] [PATCH 1/1] package-index.bb: add support for deb and rpm.

2011-05-13 Thread Cui, Dexuan
Saul Wold wrote: On 05/13/2011 02:53 AM, Dexuan Cui wrote: From: Dexuan Cuidexuan@intel.com diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 4faeb4a..4cc0b69 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@

Re: [OE-core] [PATCH 0/1] Automatically generate package repos for rpm and deb [bug #1024]

2011-05-12 Thread Cui, Dexuan
Dexuan Cui wrote: From: Dexuan Cui dexuan@intel.com This was made to address http://bugzilla.yoctoproject.org/show_bug.cgi?id=1024. Please comment. Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: dcui/master Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log

Re: [OE-core] [PATCH 0/1] Automatically generate package repos for rpm and deb [bug #1024]

2011-05-12 Thread Cui, Dexuan
Wold, Saul wrote: On 05/12/2011 04:38 AM, Cui, Dexuan wrote: Dexuan Cui wrote: From: Dexuan Cuidexuan@intel.com This was made to address http://bugzilla.yoctoproject.org/show_bug.cgi?id=1024. Please comment. Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: dcui/master

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Richard Purdie wrote: On Fri, 2011-05-06 at 16:52 +0800, Cui, Dexuan wrote: Howeve, there is a sed replacement in gnu-config-native's do_install: -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g Don't confuse the data files that autoconf installs and references with a program

Re: [OE-core] [PATCH 37/58] gnu-config-native: add dependency on perl-native

2011-05-10 Thread Cui, Dexuan
Tom Rini wrote: On 05/05/2011 03:34 PM, Richard Purdie wrote: On Thu, 2011-05-05 at 22:18 +0800, Cui, Dexuan wrote: Recently I have been looking into it and I've made some commits (the top 5 small commits) in http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/log/?h=dcui/master_perl-native

  1   2   >