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

2012-03-05 Thread Otavio Salvador
On Sun, Mar 4, 2012 at 01:31, Richard Purdie richard.pur...@linuxfoundation.org wrote: I find the consistency argument a little confusing when you had to rename this for all of the packaging backends from the same thing? I did it because I used run-postinsts package for bootstrap in ipk. I

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

2012-03-05 Thread Andrea Adami
On Sun, Mar 4, 2012 at 12:40 AM, Andrea Adami andrea.ad...@gmail.com wrote: 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

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

2012-03-05 Thread Koen Kooi
Op 5 mrt. 2012, om 14:12 heeft Andrea Adami het volgende geschreven: On Sun, Mar 4, 2012 at 12:40 AM, Andrea Adami andrea.ad...@gmail.com wrote: Hi, while testing some new kernels I found out a broken keymap. After short research I could identify the cause in

[OE-core] [PATCH 1/1] logrotate 3.7.9: Allow rotate log across filesystems

2012-03-05 Thread Robert Yang
The logrotate can't save the log across the different filesystems since it used the rename(const char *oldpath, const char *newpath) to save the file, fix it to act as the mv command(first rename, if failed, read and write) to allow save the log across the different filesystems. * config.c:

[OE-core] [PATCH 0/1] Allow rotate log across filesystems

2012-03-05 Thread Robert Yang
This patch is based on oe-core, and the pull request is on poky-contrib The testing summary: 1) Add the olddir to logrotate.conf, and the olddir should have a different mount point of the current log directory. 2) Run logrotate -f /path/to/logrotate.conf to force rotate, the old log should

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

2012-03-05 Thread Colin Walters
On Sat, 2012-03-03 at 18:54 +0800, Xiaofeng Yan wrote: 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. What's the goal of this? Just to

Re: [OE-core] [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

2012-03-05 Thread Richard Purdie
On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-extended/polkit/polkit_0.104.bb | 25 +++-- 1 files changed, 15 insertions(+), 10 deletions(-) Merged to master, thanks (patches 1-4). Cheers,

[OE-core] read only rootfs?

2012-03-05 Thread Cliff Brake
Hello, What are the best practices for implementing a read-only rootfs built with OE? I've looked at a few things like poky-tiny.conf, but figured I would ask. To date, I've been cheating and implementing a tmpfs overlay on top a RO rootfs using unionfs, but this is less than idea as you need

Re: [OE-core] read only rootfs?

2012-03-05 Thread Otavio Salvador
On Mon, Mar 5, 2012 at 17:39, Cliff Brake cliff.br...@gmail.com wrote: What are the best practices for implementing a read-only rootfs built with OE?  I've looked at a few things like poky-tiny.conf, but figured I would ask. You could the image feature for it; depending on the image complexity

Re: [OE-core] [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

2012-03-05 Thread Richard Purdie
On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-extended/polkit/polkit_0.104.bb | 25 +++-- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git

Re: [OE-core] [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

2012-03-05 Thread Koen Kooi
Op 5 mrt. 2012, om 22:14 heeft Richard Purdie het volgende geschreven: On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-extended/polkit/polkit_0.104.bb | 25 +++-- 1 files changed, 15 insertions(+),

Re: [OE-core] [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

2012-03-05 Thread Koen Kooi
Op 5 mrt. 2012, om 22:16 heeft Koen Kooi het volgende geschreven: Op 5 mrt. 2012, om 22:14 heeft Richard Purdie het volgende geschreven: On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net ---

Re: [OE-core] [PATCH] mtd-utils: clean up old files

2012-03-05 Thread Saul Wold
On 02/27/2012 10:25 PM, James Limbouris wrote: Signed-off-by: James Limbourisja...@digitalmatter.com.au --- .../add-exclusion-to-mkfs-jffs2-git-2.patch| 103 --- .../add-exclusion-to-mkfs-jffs2-git.patch | 136

Re: [OE-core] [PATCH v2 1/4] polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide

2012-03-05 Thread Koen Kooi
Op 5 mrt. 2012, om 22:14 heeft Richard Purdie het volgende geschreven: On Mon, 2012-03-05 at 08:38 +0100, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta/recipes-extended/polkit/polkit_0.104.bb | 25 +++-- 1 files changed, 15 insertions(+),

Re: [OE-core] [PATCH] automake: omit compilation of pyc files on install

2012-03-05 Thread Saul Wold
On 02/24/2012 05:19 PM, Andreas Oberritter wrote: * On install, automake calls py-compile, which previously compiled python source code to pyc and pyo, which both got packaged. * The python interpreter in OE contains patches to enable optimization (pyo) by default:

Re: [OE-core] [PATCH 3/4] default-distrovars: Add empty weak definition for DISTRO variable

2012-03-05 Thread Saul Wold
On 02/24/2012 09:05 AM, Khem Raj wrote: On Fri, Feb 24, 2012 at 8:21 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Thu, 2012-02-23 at 19:33 -0800, Khem Raj wrote: Signed-off-by: Khem Rajraj.k...@gmail.com --- meta/conf/distro/include/default-distrovars.inc |7 +++

Re: [OE-core] [PATCH] util-linux: Fix build when NLS is disabled

2012-03-05 Thread Saul Wold
On 02/29/2012 11:55 PM, Khem Raj wrote: AC_CHECK_DECLS generated defines should be checked with #if not #ifdef Signed-off-by: Khem Rajraj.k...@gmail.com --- .../fix_NL_TIME_FIRST_WEEKDAY.patch| 24 meta/recipes-core/util-linux/util-linux_2.21.bb|

Re: [OE-core] read only rootfs?

2012-03-05 Thread Cliff Brake
On Mon, Mar 5, 2012 at 3:56 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Mon, Mar 5, 2012 at 17:39, Cliff Brake cliff.br...@gmail.com wrote: What are the best practices for implementing a read-only rootfs built with OE?  I've looked at a few things like poky-tiny.conf, but figured I

Re: [OE-core] [PATCH 0/1] bitbake-prserv-tool adepted to new bitbake cache

2012-03-05 Thread Saul Wold
On 02/27/2012 07:42 PM, Lianhao Lu wrote: Modified the bitbake-prserv-tool scripts to trigger reparse according to the new content-based bitbake cache mechanism. The following changes since commit 8d4db8e6dcd2d25637cb77515fe776552f2fdd6d: Dongxiao Xu (1): bitbake.conf: Create a new

Re: [OE-core] read only rootfs?

2012-03-05 Thread Otavio Salvador
On Mon, Mar 5, 2012 at 18:47, Cliff Brake cliff.br...@gmail.com wrote: Looking briefly at what this does, it appears its only a diagnostic feature that tells you if there are postinst processes that need to run? In fact it checks if there're postinsts that *needs* to be run online; if it does

Re: [OE-core] [PATCH] eglibc-testing: Fix testing script to work well with dash

2012-03-05 Thread Saul Wold
On 03/02/2012 02:57 PM, Khem Raj wrote: Dash did not like so we do 2 1 /dev/null Signed-off-by: Khem Rajraj.k...@gmail.com --- meta/recipes-core/eglibc/eglibc-testing.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core/eglibc/eglibc-testing.inc

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

2012-03-05 Thread Saul Wold
On 03/03/2012 02:54 AM, Xiaofeng Yan wrote: From: Xiaofeng Yanxiaofeng@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. Xiaogeng, You are on the right path with

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

2012-03-05 Thread Saul Wold
On 03/03/2012 02:53 AM, Xiaofeng Yan wrote: From: Xiaofeng Yanxiaofeng@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

[OE-core] [PATCH] psplash: Add mising commands module import.

2012-03-05 Thread Peter Tworek
Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File do_compile, line 24, in module ERROR: ERROR:

Re: [OE-core] [PATCH] gcc: Upgrade to 4.6.3 release

2012-03-05 Thread Saul Wold
On 03/04/2012 10:21 PM, Khem Raj wrote: core-image-sato/core-image-minimal builds and boots on all qemu machines Signed-off-by: Khem Rajraj.k...@gmail.com --- meta/recipes-devtools/gcc/gcc-4.6.inc |9 +- .../GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | 32 +++---

Re: [OE-core] [PATCH] psplash: Add mising commands module import.

2012-03-05 Thread Paul Eggleton
On Monday 05 March 2012 23:31:34 Peter Tworek wrote: Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was:

Re: [OE-core] [PATCH] gcc: Upgrade to 4.6.3 release

2012-03-05 Thread Khem Raj
On Mon, Mar 5, 2012 at 2:36 PM, Saul Wold s...@linux.intel.com wrote: Khem, We are moving into stabilization phase with oe-core with the pending 2012-01 version.  I am going to pull this locally to MUT and start testing it, if I get good results, we will get it into master now, but if we see

Re: [OE-core] [PATCH 3/4] default-distrovars: Add empty weak definition for DISTRO variable

2012-03-05 Thread Khem Raj
On Mon, Mar 5, 2012 at 1:36 PM, Saul Wold s...@linux.intel.com wrote: On 02/24/2012 09:05 AM, Khem Raj wrote: On Fri, Feb 24, 2012 at 8:21 AM, Richard Purdie richard.pur...@linuxfoundation.org  wrote: On Thu, 2012-02-23 at 19:33 -0800, Khem Raj wrote: Signed-off-by: Khem

Re: [OE-core] multilib build failure with shadow-sysroot:do_populate_sysroot_setscene

2012-03-05 Thread Zhai, Edwin
On 03/02/2012 11:31 PM, Richard Purdie wrote: On Fri, 2012-03-02 at 14:33 +0800, Zhai, Edwin wrote: RP, I have image-sato multilib build failure with following error: ERROR: Task do_package_setscene depends upon nonexistant task

Re: [OE-core] [PATCH] mtd-utils: clean up old files

2012-03-05 Thread James Limbouris
-Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Tuesday, 6 March 2012 5:24 AM To: Patches and discussions about the oe-core layer Cc: James Limbouris Subject: Re: [OE-core] [PATCH] mtd-utils: clean up old files On 02/27/2012 10:25 PM, James Limbouris wrote:

Re: [OE-core] [PATCH] gdk-pixbuf: Pick up ${NM} from the environment.

2012-03-05 Thread Khem Raj
On (02/03/12 08:12), James Limbouris wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Khem Raj Sent: Friday, 2 March 2012 3:56 PM To: Patches and discussions about the oe-core

[OE-core] [PATCH v2] gdk-pixbuf: Pick up ${NM} from the environment.

2012-03-05 Thread James Limbouris
Signed-off-by: James Limbouris ja...@digitalmatter.com.au --- .../gdk-pixbuf-2.24.0/configure_nm.patch | 18 ++ meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.0.bb |3 ++- 2 files changed, 20 insertions(+), 1 deletions(-) create mode 100644

[OE-core] [PATCH 2/4] self-hosted: Fix multiple libx11 error

2012-03-05 Thread edwin . zhai
From: Zhai Edwin edwin.z...@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.z...@intel.com ---

[OE-core] [PATCH 0/4] Fixes for multilib and VTE, Mar 6, 2012

2012-03-05 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com RP, 2 fixes for multilib. 1 for VTE, which just revert a simple commit after last VTE upgrade. Although doesn't hit the root cause, it fix the end user experience issue and is more light-weight than reverting whole VTE upgrade. We can revisit it for root

[OE-core] [PATCH 4/4] shadow-sysroot: Fix for multilib

2012-03-05 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com Fix following error in multilib build: ERROR: Task do_package_setscene depends upon nonexistant task poky/meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb:do_populate_sysroot_setscene From richard.pur...@linuxfoundation.org Signed-off-by: Zhai Edwin

[OE-core] [PATCH 1/4] vte: fix scroll issue

2012-03-05 Thread edwin . zhai
From: Zhai Edwin edwin.z...@intel.com On qemu x86-64, scrollbar in vte got broken with one commit to change the way of emiting changed signal. This patch revert it as work around. [YOCTO #1906] got fixed. Signed-off-by: Zhai Edwin edwin.z...@intel.com --- meta/recipes-support/vte/vte.inc

[OE-core] [PATCH 3/4] multilib: extend all recipes in multilib.conf

2012-03-05 Thread edwin . zhai
From: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Zhai Edwin edwin.z...@intel.com --- meta/conf/multilib.conf | 313 --- 1 files changed, 297 insertions(+), 16 deletions(-) diff --git