[OE-core] [PATCH V4 4/4] rpm-postinsts.bb: enable postinst logging

2013-05-22 Thread Qi.Chen
From: Chen Qi Enable postinst logging by checking the configuration in ${sysconfdir} /default/postinst. In this way, the postinst logging is enabled if 'debug-tweaks' is in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuild if IMAGE_FEATURES is changed. [YOCTO #4262] Signed-off

[OE-core] [PATCH V4 3/4] opkg: modify the run-postinst script to enable postinst logging

2013-05-22 Thread Qi.Chen
From: Chen Qi Enable postinst logging by checking the configuration in ${sysconfdir} /default/postinst. In this way, the postinst logging is enabled if 'debug-tweaks' is in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt if IMAGE_FEATURES is changed. [YOCTO #4262] Signed-off

[OE-core] [PATCH V4 2/4] dpkg: modify the run-postinst script to enable postinst logging

2013-05-22 Thread Qi.Chen
From: Chen Qi Enable postinst logging by checking the configuration in ${sysconfdir} /default/postinst. In this way, the postinst logging is enabled if 'debug-tweaks' is in IMAGE_FEATURES, and at the same time, we avoid unnecessary rebuilt if IMAGE_FEATURES is changed. [YOCTO #4262] Signed-off

[OE-core] [PATCH V4 1/4] image.bbclass: add postinst_enable_logging

2013-05-22 Thread Qi.Chen
From: Chen Qi Add a function postinst_enable_logging, so that when 'debug-tweaks' is in IMAGE_FEATURES, we create ${sysconfdir}/default/postinst config file, which is sourced by run-postinst scripts to determine whether to log or not, and where to log. [YOCTO #4262] Signed-off-by: Chen Qi ---

[OE-core] [PATCH V4 0/4] Postinst logging reimplementation

2013-05-22 Thread Qi.Chen
From: Chen Qi Goal: 1. Enable postinst logging if 'debug-tweaks' is in IMAGE_FEATURES 2. Make rpm, opkg and dpkg not depend on IMAGE_FEATURES and POSTLOG Implementation: 1. The run-postinst scripts will log outputs by checking the configuration in ${sysconfdir}/default/postinst. 2. The log loca

[OE-core] [PATCH] boot-directdisk: mount root by MBR disk signature for Linux 3.8+

2013-05-22 Thread Jonathan Liu
Signed-off-by: Jonathan Liu --- meta/classes/boot-directdisk.bbclass | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass index 3169043..736bee0 100644 --- a/meta/classes/boot-direct

Re: [OE-core] [PATCH v4] base-files: add /run directory from FHS 3 draft specification

2013-05-22 Thread Jonathan Liu
Note that I have rebased the patch so it depends on: - [PATCH v4] systemd: update to 204 Regards, Jonathan On 23 May 2013 14:02, Jonathan Liu wrote: > This adds the /run directory from the Filesystem Hierarchy Standard 3.0 > Draft [1] and refactors the filesystem as follows: > - Remove creatio

[OE-core] [PATCH] resolvconf: remove /var/volatile/run/resolvconf/interface from package

2013-05-22 Thread Jonathan Liu
resolvconf uses /etc/resolvconf/run/interface instead of /var/volatile/run/resolvconf/interface. Signed-off-by: Jonathan Liu --- meta/recipes-connectivity/resolvconf/resolvconf_1.71.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/resolvconf/resolv

[OE-core] [PATCH] dbus: remove /var/run from package as it is created on startup

2013-05-22 Thread Jonathan Liu
/var/run is a tmpfs that is created on startup. For sysvinit, /var/run/dbus is created by populate-volatiles.sh. For systemd, /var/run/dbus is created implicitly by dbus.socket when creating a listen stream socket at /var/run/dbus/system_bus_socket. Signed-off-by: Jonathan Liu --- meta/recipes-c

[OE-core] [PATCH v4] base-files: add /run directory from FHS 3 draft specification

2013-05-22 Thread Jonathan Liu
This adds the /run directory from the Filesystem Hierarchy Standard 3.0 Draft [1] and refactors the filesystem as follows: - Remove creation of /var/volatile/run - Remove creation of /var/volatile/lock - Remove symbolic link from /var/run to /var/volatile/run - Remove symbolic link from /var/lock t

Re: [OE-core] [PATCH v3] base-files: add /run directory from FHS 3 draft specification

2013-05-22 Thread Jonathan Liu
On 23 May 2013 02:33, Burton, Ross wrote: > Hi Jonathan > > On 22 May 2013 02:47, Jonathan Liu wrote: > > This adds the /run directory from the Filesystem Hierarchy Standard 3.0 > > Draft [1] and refactors the filesystem as follows: > > Good start! > > > - Remove /var/run from dbus package as it

Re: [OE-core] [oe] [RFC] Layers, PRINC and bbappends

2013-05-22 Thread Chris Larson
On Wed, May 22, 2013 at 3:14 AM, Phil Blundell wrote: > On Wed, 2013-05-22 at 09:47 +0100, Paul Barker wrote: > > I've just sent a patch to the yocto@ list to fix this but it's brought > > up two things: > > > > 1) In openembedded-core/meta/classes/image.bbclass SPLASH is set with > > '?='. I'm o

[OE-core] [PATCH] wget: disable uuid by default

2013-05-22 Thread Saul Wold
This will ensure a consistent build and not add additional dependency of util-linux to wget Signed-off-by: Saul Wold --- meta/recipes-extended/wget/wget.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/wget/wget.inc b/meta/recipes-extended/wget/wge

[OE-core] [PATCH v4] systemd: update to 204

2013-05-22 Thread Jonathan Liu
Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-strings-and-.patch | 41 --- ...ystemd-update-u

Re: [OE-core] [PATCH v3] systemd: update to 204

2013-05-22 Thread Saul Wold
On 05/22/2013 04:39 PM, Jonathan Liu wrote: Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-

Re: [OE-core] [PATCH v3] systemd: update to 204

2013-05-22 Thread Khem Raj
I will grind it with a uclibc build On May 22, 2013, at 4:39 PM, Jonathan Liu wrote: > Removed patches integrated upstream. > Added backport of fix for utmp not running at shutdown. > Updated serial-getty service. > > Signed-off-by: Jonathan Liu > --- > .../systemd-serialgetty/serial-getty@.s

Re: [OE-core] [PATCH v3] systemd: update to 204

2013-05-22 Thread Jonathan Liu
On 23/05/2013 9:39 AM, Jonathan Liu wrote: Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-s

Re: [OE-core] [CONSOLIDATED PULL 00/34] Update patch set

2013-05-22 Thread Jonathan Liu
On 23/05/2013 9:03 AM, Saul Wold wrote: Jonathan Liu (3): util-linux: Update to 2.23 populate-volatile.sh: remove repeated leading slashes in TNAME There was a small issue with populate-volatile.sh patch and I have submitted v4 (changed -n to -z in the last if condition). Please remove v3

[OE-core] [PATCH v3] systemd: update to 204

2013-05-22 Thread Jonathan Liu
Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-strings-and-.patch | 41 --- ...ystemd-update-u

[OE-core] [PATCH v4] populate-volatile.sh: remove repeated leading slashes in TNAME

2013-05-22 Thread Jonathan Liu
This avoids triple slashes in the generated /etc/volatile.cache to reduce disk usage and in the output when verbose mode is enabled. As all the paths for volatiles start with a slash, we can change TNAME=${ROOT_DIR}/${TNAME} to TNAME=${ROOT_DIR}${TNAME}. To avoid a double slash when ROOT_DIR is /,

[OE-core] [CONSOLIDATED PULL 00/34] Update patch set

2013-05-22 Thread Saul Wold
Richard, Here is a build and lightly boot tested. There were some issues on the AB, but not related to this patch set. You probably need to look at Phil's cross patch and I think that Martin's buildhistory patch is correct, if fixed my fetch issues locally. Sau! The following changes since

[OE-core] [PATCH v2] busybox: backport sulogin empty root password fix

2013-05-22 Thread Jonathan Liu
This allows system maintenance login if the root password is empty. Signed-off-by: Jonathan Liu --- .../busybox-sulogin-empty-root-password.patch | 58 ++ meta/recipes-core/busybox/busybox_1.20.2.bb| 1 + 2 files changed, 59 insertions(+) create mode 100644 me

[OE-core] [RFC][PATCH] buildhistory: adapt to fetcher changes

2013-05-22 Thread Martin Jansa
* bitbake commit: commit fb068bee47bb1a06f02447daf16c2b2a79c03288 Author: Richard Purdie Date: Sun May 19 13:17:58 2013 +0300 fetch2/git: Clean up sortable_revision Now we no longer try and provide increasing values from the fetcher, we can simplify the function structure for

Re: [OE-core] [PATCH] busybox: backport sulogin empty root password fix

2013-05-22 Thread Saul Wold
On 05/21/2013 10:10 PM, Jonathan Liu wrote: This allows system maintenance login if the root password is empty. Signed-off-by: Jonathan Liu --- .../busybox-sulogin-empty-root-password.patch | 58 ++ meta/recipes-core/busybox/busybox_1.20.2.bb| 3 +- 2 files

Re: [OE-core] [PATCH v3] base-files: add /run directory from FHS 3 draft specification

2013-05-22 Thread Burton, Ross
On 22 May 2013 17:33, Burton, Ross wrote: > On 22 May 2013 02:47, Jonathan Liu wrote: >> This adds the /run directory from the Filesystem Hierarchy Standard 3.0 >> Draft [1] and refactors the filesystem as follows: Oh, and have you tested the migration path, i.e. from a current master image, upg

Re: [OE-core] [PATCH v3] base-files: add /run directory from FHS 3 draft specification

2013-05-22 Thread Burton, Ross
Hi Jonathan On 22 May 2013 02:47, Jonathan Liu wrote: > This adds the /run directory from the Filesystem Hierarchy Standard 3.0 > Draft [1] and refactors the filesystem as follows: Good start! > - Remove /var/run from dbus package as it is created on startup > - Remove /var/volatile/run/resolvc

Re: [OE-core] [oe-commits] Laurentiu Palcu : libdrm: upgrade to 2.4.44

2013-05-22 Thread Martin Jansa
On Sun, May 12, 2013 at 04:33:07PM +, g...@git.openembedded.org wrote: > Module: openembedded-core.git > Branch: master > Commit: 563edb321594b007cae2294e807235ad22fd27da > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=563edb321594b007cae2294e807235ad22fd27da > > A

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Martin Jansa
On Wed, May 22, 2013 at 04:11:02PM +0100, Paul Eggleton wrote: > On Wednesday 22 May 2013 16:49:25 Martin Jansa wrote: > > Using combination of tabs and spaces in the same file (and even on the > > same lines) is quite bad, because it looks different based on tab length > > and can show wrong inden

Re: [OE-core] [PATCH 7/7] cmake: Update to 2.8.11

2013-05-22 Thread Saul Wold
On 05/22/2013 06:13 AM, Otavio Salvador wrote: On Tue, May 21, 2013 at 9:40 PM, Saul Wold mailto:s...@linux.intel.com>> wrote: Rebased support-oe-qt4-tools-names as some of the changes where added in the upstream code. Fixed in my branch! Thanks for the catch. Sau! Signed-off-b

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Paul Eggleton
On Wednesday 22 May 2013 16:49:25 Martin Jansa wrote: > Using combination of tabs and spaces in the same file (and even on the > same lines) is quite bad, because it looks different based on tab length > and can show wrong indentation in case like 8 spaces and 2 > 4-character-wide tabs on next line

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Martin Jansa
On Wed, May 22, 2013 at 09:02:39AM -0500, Mark Hatle wrote: > (Background) When the spacing was decided, looking at the existing OE recipes > and classes, the majority of things were indented such that python used tabs, > and recipe (shell scripting) used spaces. During the cleanup of the > scr

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Burton, Ross
On 22 May 2013 12:01, Andreas Müller wrote: > Haven't found at-spi2-gtk. Do you mean at-spi2-atk? Yes, typo, sorry. Ross ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembe

Re: [OE-core] [PATCH v2] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Burton, Ross
On 22 May 2013 13:51, Phil Blundell wrote: > I had thought we had virtual-gconv-ENCODING providers but apparently > that's not the case. So I think the answer at the moment is probably > no. I guess we should add something like that. Agreed. Filed https://bugzilla.yoctoproject.org/show_bug.cgi

Re: [OE-core] [PATCH 7/7] cmake: Update to 2.8.11

2013-05-22 Thread Otavio Salvador
On Tue, May 21, 2013 at 9:40 PM, Saul Wold wrote: > Rebased support-oe-qt4-tools-names as some of the changes where > > Signed-off-by: Saul Wold > I think the commit log is incomplete. Can you take a look? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br

Re: [OE-core] [PATCH v2] patch: use PACKAGECONFIG to ensure correct dependency for xattr

2013-05-22 Thread Mark Hatle
On 5/21/13 9:14 PM, Saul Wold wrote: This will enable or disable xattr with the correct dependency on attr as needed. Signed-off-by: Saul Wold Looks right. :) Acked-by: Mark Hatle --- meta/recipes-devtools/patch/patch_2.7.1.bb |3 +++ 1 file changed, 3 insertions(+) diff --git a/

Re: [OE-core] [PATCH v2] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Phil Blundell
On Wed, 2013-05-22 at 13:05 +0100, Burton, Ross wrote: > On 22 May 2013 11:58, Phil Blundell wrote: > > On Wed, 2013-05-22 at 13:57 +0300, Bogdan Marinescu wrote: > >> +RDEPENDS_${PN} = "glibc-gconv-iso8859-1" > > > > That will make it unbuildable with anything other than (e)glibc. Is > > this ok

[OE-core] [PATCH] sqlite3: update to 3.7.17

2013-05-22 Thread Jack Mitchell
From: Jack Mitchell build and runtime tested on armv7a Signed-off-by: Jack Mitchell --- .../recipes-support/sqlite/{sqlite3_3071602.bb => sqlite3_3071700.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/sqlite/{sqlite3_3071602.bb => sqlite3_3071700.bb}

Re: [OE-core] [PATCH v2] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Burton, Ross
On 22 May 2013 11:58, Phil Blundell wrote: > On Wed, 2013-05-22 at 13:57 +0300, Bogdan Marinescu wrote: >> +RDEPENDS_${PN} = "glibc-gconv-iso8859-1" > > That will make it unbuildable with anything other than (e)glibc. Is > this ok? Presumably in this case libiconv will be used. Is there a stand

Re: [OE-core] Poor first impression

2013-05-22 Thread Gary Thomas
On 2013-05-21 16:56, Richard Purdie wrote: On Tue, 2013-05-21 at 12:13 -0600, Gary Thomas wrote: On 2013-05-21 03:10, Richard Purdie wrote: On Fri, 2013-05-17 at 07:26 -0600, Gary Thomas wrote: I just tried to run Poky/Yocto on a fresh Ubuntu 12.04 system. I knew there would be missing bits

Re: [OE-core] [dylan][PATCH 00/41] Stable branch cherry-picks (cover letter only)

2013-05-22 Thread Paul Eggleton
On Monday 20 May 2013 16:05:15 Bruce Ashfield wrote: > On Mon, May 20, 2013 at 1:02 PM, Paul Eggleton > > wrote: > > On Monday 20 May 2013 17:54:21 Paul Eggleton wrote: > >> On Monday 20 May 2013 13:21:29 Otavio Salvador wrote: > >> > On Mon, May 20, 2013 at 12:58 PM, Paul Eggleton < > >> > > >>

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Andreas Müller
On Wed, May 22, 2013 at 12:31 PM, Burton, Ross wrote: > On 22 May 2013 09:31, Andreas Müller wrote: >> 1. systemd migration: >> >> From what I see the only major step left over is to bury meta-systemd. >> The only appends found there are those for oe-core. I asked for this >> long time ago [1] an

Re: [OE-core] [PATCH v2] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Phil Blundell
On Wed, 2013-05-22 at 13:57 +0300, Bogdan Marinescu wrote: > +RDEPENDS_${PN} = "glibc-gconv-iso8859-1" That will make it unbuildable with anything other than (e)glibc. Is this ok? p. ___ Openembedded-core mailing list Openembedded-core@lists.openembe

[OE-core] [PATCH v2] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Bogdan Marinescu
guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package. [YOCTO #4019] Signed-off-by: Bogdan Marinescu --- meta/recipes-devtools/guile/guile_2.0.9.bb |5 - 1 file changed, 4 insertions(+),

[OE-core] [PATCH] guile: added runtime dependency on glibc-gconv-iso8859-1

2013-05-22 Thread Bogdan Marinescu
guile needs to be able to convert strings from ISO-8859-1 in order to work properly. This patch adds a runtime dependency to the required convert package. Signed-off-by: Bogdan Marinescu --- meta/recipes-devtools/guile/guile_2.0.9.bb |5 - 1 file changed, 4 insertions(+), 1 deletion(-)

Re: [OE-core] [oe] OE TSC Minutes 7 May 2013

2013-05-22 Thread Burton, Ross
On 22 May 2013 09:31, Andreas Müller wrote: > 1. systemd migration: > > From what I see the only major step left over is to bury meta-systemd. > The only appends found there are those for oe-core. I asked for this > long time ago [1] and support was offered but... This is a 1.5 goal, and will be

Re: [OE-core] [oe] [RFC] Layers, PRINC and bbappends

2013-05-22 Thread Phil Blundell
On Wed, 2013-05-22 at 09:47 +0100, Paul Barker wrote: > I've just sent a patch to the yocto@ list to fix this but it's brought > up two things: > > 1) In openembedded-core/meta/classes/image.bbclass SPLASH is set with > '?='. I'm overriding this with '=' in > meta-raspberrypi/conf/machine/raspberr

Re: [OE-core] [oe] [RFC] Layers, PRINC and bbappends

2013-05-22 Thread Paul Eggleton
On Wednesday 22 May 2013 11:17:38 Martin Jansa wrote: > On Wed, May 22, 2013 at 09:47:39AM +0100, Paul Barker wrote: > > I've just sent a patch to the yocto@ list to fix this but it's brought > > up two things: > > > > 1) In openembedded-core/meta/classes/image.bbclass SPLASH is set with > > '?='.

Re: [OE-core] [oe] [RFC] Layers, PRINC and bbappends

2013-05-22 Thread Martin Jansa
On Wed, May 22, 2013 at 09:47:39AM +0100, Paul Barker wrote: > On 16 May 2013 00:02, Paul Barker wrote: > > On 15 May 2013 21:33, Richard Purdie > > wrote: > > > >> > >> (e.g. when I include > >> meta-raspberrypi, it changes the psplash logo, regardless of whether I'm > >> building for the pi).

Re: [OE-core] [oe] [RFC] Layers, PRINC and bbappends

2013-05-22 Thread Paul Barker
On 16 May 2013 00:02, Paul Barker wrote: > On 15 May 2013 21:33, Richard Purdie > wrote: > >> >> (e.g. when I include >> meta-raspberrypi, it changes the psplash logo, regardless of whether I'm >> building for the pi). >> >> In many ways the bbappend is too easy and encourages anti-social >> beh

Re: [OE-core] OE TSC Minutes 7 May 2013

2013-05-22 Thread Andreas Müller
On Tue, May 21, 2013 at 9:36 PM, Jeff Osier-Mixon wrote: > OpenEmbedded Technical Steering Committee > 7 May 2013 > > Attendees: > Koen (koen) > Khem (khem) > Fray (fray) > Paul (bluelightning) > Richard (RP) > Apologies: > > Notes: Jefro > > Agenda at a glance: > > 1. pick a chair > 2.

Re: [OE-core] [PATCH v3 1/8] clutter.bbclass: helper class for clutter and friends

2013-05-22 Thread Tomas Frydrych
On 21/05/13 17:51, Paul Eggleton wrote: > On Tuesday 21 May 2013 12:19:36 Phil Blundell wrote: >> On Tue, 2013-05-21 at 12:04 +0100, Tomas Frydrych wrote: >>> meta/classes/clutter.bbclass | 23 +++ >>> 1 file changed, 23 insertions(+) >>> create mode 100644 meta/classes/clut