[OE-core] [PATCH 0/3] Realize archiver.bbclass

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com archiver.bbclass is for archiving sources , patches and logs including .bb and .inc files by configuring archiver_configure.bbclass which control what a archiving package should include. For archiving a source rpm package, I add some functions to

[OE-core] [Oe-core][PATCH 3/3] archiver_configure.bbclass: configure the content for archiving package

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com This is configuration file to point to what content a archive package should include in the different stage of task by pointing to different variable and stage. [YOCTO #1977] Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com Signed-off-by:

[OE-core] [PATCH 2/3] archiver.bbclass: archive sources, patches, logs to tarball

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com Support the following functions in this bbclass: 1 Archive sources in ${S} in the different stage to tarball (do_unpack,do_patch,do_configure). 2 Archive patches including series to tarball 3 Archive logs including scripts (.bb and .inc files) to

[OE-core] [PATCH 1/3] package_rpm.bbclass: Add srpm function

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY}/sources/deploy-srpm. [YOCTO #1977] Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com ---

[OE-core] [PATCH 0/3]

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com LSB report the following information when running lsb test. VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the name of a KeySym in the table with the prefix XK_ removed, then a call to XStringToKeysym returns

[OE-core] [PATCH 1/3] libx11-1.4.4: Add patch makekeys_crosscompile.patch

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com LSB 4.1 complain a host contamination error from libx11 because of absent patch makekeys_crosscompile.patch from libx11-trim-1.4.4. The error from LSB Test Suite is as follow: VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string

[OE-core] [PATCH 2/3] libx11-1.4.4: Add patch makekeys_crosscompile.patch

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com Add patch makekeys_crosscompile.patch to libx11-1.4.4 for fixing bug 1970. [YOCTO #1970] Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com --- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb |3 ++- 1 files changed, 2 insertions(+), 1

[OE-core] [PATCH 3/3] libx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan xiaofeng@windriver.com Append error information from LSB Test Suite to this patch for an illustrative purpose \ why this patches should be needed. Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com --- .../libx11-trim-1.4.4/makekeys_crosscompile.patch | 33

[OE-core] [PATCH 3/4] rootfs_rpm.bbclass: rename postinst trigger script

2012-03-03 Thread Otavio Salvador
Use 'run-postinsts' as trigger script name for consistency against package managers. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- meta/classes/rootfs_rpm.bbclass |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/rootfs_rpm.bbclass

[OE-core] [PATCH 1/4] run-postinsts: fix opkg data path

2012-03-03 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- .../dpkg/run-postinsts/run-postinsts |4 ++-- .../dpkg/run-postinsts/run-postinsts.awk |2 +- meta/recipes-devtools/dpkg/run-postinsts_1.0.bb|2 +- 3 files changed, 4 insertions(+), 4 deletions(-)

[OE-core] [PATCH 4/4] opkg: rename postinst trigger script

2012-03-03 Thread Otavio Salvador
Use 'run-postinsts' as trigger script name for consistency against package managers. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- meta/recipes-devtools/opkg/opkg.inc |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/opkg/opkg.inc

[OE-core] [PATCH 2/4] image.bbclass: fix rootfs generation without package management tools

2012-03-03 Thread Otavio Salvador
When building without package management tools the ROOTFS_BOOTSTRAP_INSTALL packages need to be available to provide the bare minimal for rootfs unconfigure postinsts to be on first boot. Those packages where being include in core-image.bbclass' based images however every image needs those

Re: [OE-core] [PATCH 0/4] Postinst trigger improvements for images

2012-03-03 Thread Otavio Salvador
On Sat, Mar 3, 2012 at 14:39, Otavio Salvador ota...@ossystems.com.br wrote: Otavio Salvador (4):  run-postinsts: fix opkg data path  image.bbclass: fix rootfs generation without package management tools  rootfs_rpm.bbclass: rename postinst trigger script  opkg: rename postinst trigger script

Re: [OE-core] Recipes with disabled parallel make

2012-03-03 Thread Khem Raj
On Fri, Mar 2, 2012 at 11:48 PM, Yury Bushmelev jay4m...@gmail.com wrote: meta/recipes-extended/net-tools/net-tools_1.60-23.bb net-tools confirmed to fail with P_M disabled when build was run with BB_N_T=7 and P_M=-j 7. hmmm this is reversal of course. so I guess in order to declare them good

Re: [OE-core] Recipes with disabled parallel make

2012-03-03 Thread Yury Bushmelev
2012/3/3 Khem Raj raj.k...@gmail.com: On Fri, Mar 2, 2012 at 11:48 PM, Yury Bushmelev jay4m...@gmail.com wrote: meta/recipes-extended/net-tools/net-tools_1.60-23.bb net-tools confirmed to fail with P_M disabled when build was run with BB_N_T=7 and P_M=-j 7. hmmm this is reversal of course.

[OE-core] [RFC] keymaps and kernel version

2012-03-03 Thread Andrea Adami
Hi, while testing some new kernels I found out a broken keymap. After short research I could identify the cause in recipes-bsp/keymaps/files/keymap.sh: ... KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2` if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then loadkeys /etc/keymap-$KERNEL_MAJMIN.map fi ...

[OE-core] [PATCH] meta/classes: Convert to use appendVar and appendVarFlags

2012-03-03 Thread Richard Purdie
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/classes/base.bbclass | 36 meta/classes/package.bbclass | 16 - meta/classes/package_deb.bbclass |6 +--- meta/classes/package_ipk.bbclass

[OE-core] [PATCH] sstate: Remove unecessary bb.data.expand()

2012-03-03 Thread Richard Purdie
Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/classes/sstate.bbclass | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index b1cdf0f..e4338e0 100644 ---

[OE-core] [PATCH] meta: Replace bb.data.expand(xxx, d) - d.expand(xxx)

2012-03-03 Thread Richard Purdie
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/classes/base.bbclass |4 +- meta/classes/buildstats.bbclass| 12

Re: [OE-core] [PATCH] gcc-cross.inc: Fix cross testing scripts to work with dash

2012-03-03 Thread Richard Purdie
On Fri, 2012-03-02 at 14:54 -0800, Khem Raj wrote: dash does not like so be explicit and say 21 Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/gcc/gcc-cross.inc |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Merged to master, thanks. Richard

Re: [OE-core] [PATCH 3/4] rootfs_rpm.bbclass: rename postinst trigger script

2012-03-03 Thread Richard Purdie
On Sat, 2012-03-03 at 17:39 +, Otavio Salvador wrote: Use 'run-postinsts' as trigger script name for consistency against package managers. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- meta/classes/rootfs_rpm.bbclass |6 +++--- 1 files changed, 3 insertions(+), 3

[OE-core] [PATCH] soc-family.inc: to be included in machine.conf to add SOC_FAMILY to MACHINEOVERRIDE

2012-03-03 Thread Denys Dmytriyenko
From: Denys Dmytriyenko de...@ti.com Add a soc-family.inc file that can be included in a machine.conf to enable the use of SOC_FAMILY in MACHINEOVERRIDE, which could be useful to group multiple machines with the same common base. Some examples can be seen in meta-ti BSP layer. Signed-off-by: