[OE-core] [PATCH] go-mod.bbclass: use append to add `modcacherw`

2020-09-26 Thread Peter A. Bigot
This class provided default build flags but includes the base go class which also provides default flags. Use a different mechanism to extend the default flags without discarding `-trimpath` from the base class. Signed-off-by: Peter A. Bigot --- meta/classes/go-mod.bbclass | 2 +- 1 file

[OE-core] [PATCH] timezone: include leap second data in tzdata-core

2020-08-29 Thread Peter A. Bigot
Conversion between UTC and continuous time scales like TAI requires information about leap seconds. Signed-off-by: Peter A. Bigot --- meta/recipes-extended/timezone/tzdata.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-extended/timezone/tzdata.bb b/meta/recipes

[OE-core] [PATCH v3] bluez5: fix builds that require ell support

2020-08-25 Thread Peter A. Bigot
, or it can be copied into the bluez build directory from an existing sibling source directory. Since bitbake builds do not provide a sibling source directory tell bluez to look for it as an external library in the conditions where it's required. Signed-off-by: Peter A. Bigot --- v3: Follow

[OE-core] [PATCH v2] bluez5: fix builds that require ell support

2020-08-25 Thread Peter A. Bigot
Shortly after the recipe was updated to add ell as a mesh dependency the way ell was integrated into bluez5 was changed. Use the external ell dependency rather than the default to build one internal to bluez5. --- meta/recipes-connectivity/bluez5/bluez5.inc | 7 --- 1 file changed, 4

[OE-core] [PATCH] bluez5: fix builds that require ell support

2020-08-24 Thread Peter A. Bigot
Shortly after the recipe was updated to add ell as a mesh dependency the way ell was integrated into bluez5 was changed. Add the new configuration options required for an external ell. Signed-off-by: Peter A. Bigot --- meta/recipes-connectivity/bluez5/bluez5.inc | 4 ++-- 1 file changed, 2

[OE-core] [PATCH] bluez5: add mesh dependency on ell

2018-11-13 Thread Peter A. Bigot
Introduced at or before 5.50. Signed-off-by: Peter A. Bigot --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 9d9739e952..7708e7c88b

[OE-core] [rocko][PATCH] beaglebone: Find /boot partition on mmcblk0

2018-03-06 Thread Peter A. Bigot
system drops into emergency mode. Signed-off-by: Drew Moseley <drew.mose...@northern.tech> Signed-off-by: Peter A. Bigot <p...@pabigot.com> --- This was originally submitted by Drew Moseley, but AFAICT it never made it to patchwork. See: https://lists.yoctoproject.org/pipermail/poky/2

Re: [OE-core] npm.bbclass support for deep native modules?

2016-11-28 Thread Peter A. Bigot
On 11/28/2016 04:11 AM, Paul Eggleton wrote: Hi Peter, On Sat, 26 Nov 2016 18:17:48 Peter A. Bigot wrote: I'm using the current head of morty and trying to get a handle on the new nodejs support in OE. I'm failing to build a recipe for statsd. Starting with this: devtool add 'npm

[OE-core] npm.bbclass support for deep native modules?

2016-11-26 Thread Peter A. Bigot
I'm using the current head of morty and trying to get a handle on the new nodejs support in OE. I'm failing to build a recipe for statsd. Starting with this: devtool add 'npm://registry.npmjs.org;name=statsd;version=0.8.0' bitbake statsd produces an error related to the modern-syslog

Re: [OE-core] Wrong sstate signatures for cross toolchain Was: [yocto] Building gdb-7.10 for arm with master

2016-03-10 Thread Peter A. Bigot
On 03/09/2016 05:02 PM, Richard Purdie wrote: On Wed, 2016-03-09 at 23:50 +0100, Martin Jansa wrote: What's even more interesting is that even gcc-cross-initial has different signatures for 2 ARM MACHINEs with different DEFAULTTUNES OE qemuarm7@ ~/build/oe-core $ grep ^DEFAULTTUNE=

Re: [OE-core] [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack

2015-04-06 Thread Peter A. Bigot
On 04/06/2015 04:39 PM, Christopher Larson wrote: On Mon, Apr 6, 2015 at 2:21 PM, Peter A. Bigot p...@pabigot.com mailto:p...@pabigot.com wrote: On 04/06/2015 09:32 AM, Iorga, Cristian wrote: Well, 1. Peter, Otavio: There is not a single doubt about moving

Re: [OE-core] [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack

2015-04-06 Thread Peter A. Bigot
A. Bigot Cc: Patches and discussions about the oe-core layer Subject: Re: [OE-core] [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack On Mon, Apr 6, 2015 at 9:57 AM, Peter A. Bigot p...@pabigot.com wrote: On 04/06/2015 02:31 AM, Iorga, Cristian wrote: I thought of 1.9

Re: [OE-core] [PATCH 5/5] bluetooth.bbclass: set bluez5 as the default BT stack

2015-04-06 Thread Peter A. Bigot
On 04/06/2015 02:31 AM, Iorga, Cristian wrote: I thought of 1.9 as the preparatory stage for complete removal of bluez4, so that in 2.0 it would be very easy to remove the support for bluez4. Continuing to have bluez5 added to DISTRO_FEATURES create the impression that BlueZ5 is still a

Re: [OE-core] [PATCH 00/11] BlueZ 5 as bluetooth alternative stack

2015-02-17 Thread Peter A. Bigot
On 02/16/2015 09:06 AM, Cristian Iorga wrote: Based on Peter A. Bigot Bluez5 switch patchset. Full credit given to original authors. Some changes/adaptations needed, all doneand implemented by Cristian Iorga. I ran this through a build with no problems. For the record, the changes I detected

Re: [OE-core] [PATCHv3 00/10] bluez4/bluez5 selection fixing Yocto 5031

2015-02-10 Thread Peter A. Bigot
On 02/10/2015 09:43 AM, Burton, Ross wrote: On 8 February 2015 at 21:16, Christopher Larson clar...@kergoth.com mailto:clar...@kergoth.com wrote: DISTRO_FEATURES_append = bluez5 PREFERRED_PROVIDER_bluez-hcidump = bluez5 PNBLACKLIST[bluez-hcidump] = superseded

[OE-core] [PATCHv3 00/10] bluez4/bluez5 selection fixing Yocto 5031

2015-02-08 Thread Peter A. Bigot
error (2015-02-08 08:00:30 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib pabigot/bluez5 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pabigot/bluez5 Peter A. Bigot (10): bluez5: upgrade to 5.28 bluetooth.bbclass: simplify recipe inference

[OE-core] [PATCHv3 06/10] gstreamer1.0-plugins-bad: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc| 6 +++--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-multimedia

[OE-core] [PATCHv3 09/10] libpcap: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/libpcap/libpcap.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index a12eb16..979665c 100644

[OE-core] [PATCHv3 07/10] ofono: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/ofono/ofono.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index bf44fca..70647d9 100644 --- a/meta

[OE-core] [PATCHv3 01/10] bluez5: upgrade to 5.28

2015-02-08 Thread Peter A. Bigot
notification handling hex2hcd graduated to installed tool; two new noinst tools See: http://www.bluez.org/release-of-bluez-5-28/ Signed-off-by: Peter A. Bigot p...@pabigot.com --- .../recipes-connectivity/bluez5/{bluez5_5.27.bb = bluez5_5.28.bb} | 7 --- 1 file changed, 4 insertions(+), 3 deletions

[OE-core] [PATCHv3 02/10] bluetooth.bbclass: simplify recipe inference of bluetooth provider

2015-02-08 Thread Peter A. Bigot
PACKAGECONFIG[bluez5] = --enable-bluez5,--disable-bluez5,bluez5 [YOCTO #5031] Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/classes/bluetooth.bbclass | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/classes/bluetooth.bbclass diff --git a/meta/classes

[OE-core] [PATCHv3 03/10] packagegroup-base: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-core/packagegroups/packagegroup-base.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index f4b2cd5

[OE-core] [PATCHv3 08/10] neard: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/neard/neard.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index 31bc6dd..6b6b1da 100644 --- a/meta

[OE-core] [PATCHv3 05/10] qt-mobility: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc index ae1769d..b3d23d4 100644 --- a/meta

[OE-core] [PATCHv3 10/10] connman: depend on distro provider of bluez

2015-02-08 Thread Peter A. Bigot
connman currently supports both bluez4 and bluez5 without distinguishing them at configuration time. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/connman/connman.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes

[OE-core] [PATCHv3 04/10] pulseaudio: select distro preference for bluez provider

2015-02-08 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index 99cad76

Re: [OE-core] add bluetooth-bluez5 distro feature

2015-02-06 Thread Peter A. Bigot
On 02/06/2015 05:42 AM, Sylvestre Gallon wrote: Hi, Here is an attempt to add the bluetooth-bluez5 distro feature. This feature will allow to generate an image using bluez5 instead of bluez4. There's a patch set that's still awaiting review since November for this that some folks have been

Re: [OE-core] [PATCH] gcc: upgrade to 4.9.2 and fix the bug #6824

2015-01-12 Thread Peter A. Bigot
On 01/11/2015 09:12 PM, Lei Maohui wrote: fix the yocto bug #6824 backport from gcc Signed-off-by: Lei Maohui leimao...@cn.fujitsu.com --- meta/recipes-devtools/gcc/gcc-4.9.inc | 12 +- ...e500-double-in-SPE_SIMD_REGNO_P-registers.patch | 13 ++

[OE-core] [PATCH] bluez5: upgrade to 5.27

2015-01-09 Thread Peter A. Bigot
- Bug fixes in A2DP, OBEX, GATT, and mgmt - Low Energy Secure Connections with 3.19+ kernels See: http://www.bluez.org/release-of-bluez-5-27/ See: http://www.bluez.org/release-of-bluez-5-26/ Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/bluez5/{bluez5_5.25.bb

Re: [OE-core] [PATCH] systemd-networkd: cherry picking route handling patch

2015-01-08 Thread Peter A. Bigot
On 01/08/2015 01:44 PM, Maciej Borzecki wrote: On 01/08 12:13, Otavio Salvador wrote: On Thu, Jan 8, 2015 at 6:43 AM, Maciej Borzecki maciej.borze...@open-rnd.pl wrote: static route to the gateway, to workaround a misconfigured DHCP server that would assign an address from network pool that

Re: [OE-core] [PATCH v2 4/4] busybox-mdev: Support automatic mounting of block devices

2015-01-01 Thread Peter A. Bigot
On 01/01/2015 03:07 AM, Mike Looijmans wrote: On 01/01/2015 03:49 AM, Khem Raj wrote: On Dec 18, 2014, at 6:17 AM, Mike Looijmans mike.looijm...@topic.nl wrote: Upon inserting a USB stick or similar device, mdev will run an automounter script that mounts valid partitions on /media/device.

Re: [OE-core] [PATCH v2 1/1] buildtools-tarball: restore missing git tools

2014-12-06 Thread Peter A. Bigot
On 12/06/2014 07:01 AM, Otavio Salvador wrote: On Fri, Dec 5, 2014 at 11:39 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Friday 05 December 2014 16:30:44 Otavio Salvador wrote: On Fri, Dec 5, 2014 at 4:09 PM, Paul Eggleton paul.eggle...@linux.intel.com wrote: Since the split out

Re: [OE-core] [PATCH 0/3] Miscellaneous bluez patches

2014-12-04 Thread Peter A. Bigot
Ping. These are independent of the RFC patches. On 11/26/2014 01:44 PM, Peter A. Bigot wrote: These resolve the conflict for provider of hcidump between bluez4 and bluez5, provide a new package containing the useful tools in bluez5 that upstream doesn't think should be installed, and provides

Re: [OE-core] [RFC v2 0/9] Proposed solution to bluez4/bluez5 selection

2014-12-04 Thread Peter A. Bigot
Any feedback on this approach? Thanks. Peter On 11/26/2014 01:46 PM, Peter A. Bigot wrote: Here's a new approach to bluez5 integration for YOCTO #5031 based on RP's feedback from the last attempt. Though the lib interface is supposedly compatible between bluez4 and bluez5 the dbus interface

[OE-core] [PATCH 2/3] bluez5: add a package for tools left in the build area

2014-11-26 Thread Peter A. Bigot
are treated similarly by bluez5. Make these tools available in the bluez5-noinst-tools package, in a way that allows control over which tools are packaged, with the default being all that are provided in a particular release of bluez. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes

[OE-core] [PATCH 3/3] bluez5: support experimental through PACKAGECONFIG

2014-11-26 Thread Peter A. Bigot
Make it simple to enable the experimental plugins and tools. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/bluez5/bluez5.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5

[OE-core] [PATCH 1/3] bluez-hcidump: select provider as bluez4 or bluez5

2014-11-26 Thread Peter A. Bigot
bluez-hcidump was a separate package in bluez4, but was integrated into bluez5. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/conf/distro/include/default-providers.inc | 1 + meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb | 2 ++ meta/recipes-connectivity/bluez5/bluez5.inc

[OE-core] [PATCH 0/3] Miscellaneous bluez patches

2014-11-26 Thread Peter A. Bigot
Peter A. Bigot (3): bluez-hcidump: select provider as bluez4 or bluez5 bluez5: add a package for tools left in the build area bluez5: support experimental through PACKAGECONFIG meta/conf/distro/include/default-providers.inc | 1 + .../bluez/bluez-hcidump_2.5.bb | 2

[OE-core] [RFC v2 7/9] neard: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/neard/neard.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index e714cad..1a7ac8d 100644 --- a/meta

[OE-core] [RFC v2 6/9] ofono: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/ofono/ofono.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 9f65f4f..5017a61 100644 --- a/meta

[OE-core] [RFC v2 1/9] bluetooth.bbclass: simplify recipe inference of bluetooth provider

2014-11-26 Thread Peter A. Bigot
PACKAGECONFIG[bluez5] = --enable-bluez5,--disable-bluez5,bluez5 Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/classes/bluetooth.bbclass | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/classes/bluetooth.bbclass diff --git a/meta/classes/bluetooth.bbclass

[OE-core] [RFC v2 4/9] qt-mobility: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc index ae1769d..b3d23d4 100644 --- a/meta

[OE-core] [RFC v2 5/9] gstreamer1.0-plugins-bad: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc| 6 +++--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-multimedia

[OE-core] [RFC v2 2/9] packagegroup-base: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-core/packagegroups/packagegroup-base.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index f4b2cd5

[OE-core] [RFC v2 9/9] connman: depend on distro provider of bluez

2014-11-26 Thread Peter A. Bigot
connman currently supports both bluez4 and bluez5 without distinguishing them at configuration time. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/connman/connman.inc | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes

[OE-core] [RFC v2 3/9] pulseaudio: select distro preference for bluez provider

2014-11-26 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index db144a9

[OE-core] [RFC v2 0/9] Proposed solution to bluez4/bluez5 selection

2014-11-26 Thread Peter A. Bigot
-contrib/log/?h=pabigot/rfc-v2/bluez5 Peter A. Bigot (9): bluetooth.bbclass: simplify recipe inference of bluetooth provider packagegroup-base: select distro preference for bluez provider pulseaudio: select distro preference for bluez provider qt-mobility: select distro preference for bluez

Re: [OE-core] [PATCH 1/3] pseudo: default --without-passwd-fallback

2014-11-15 Thread Peter A. Bigot
On 11/14/2014 10:16 AM, Burton, Ross wrote: Hi Peter, Something in this series isn't working nicely with multilib enabled. http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ross/pseudo is the branch I was testing it in, hopefully I pulled in all the right pieces.

[OE-core] opkg/rpm inconsistencies in multilib image installations

2014-11-15 Thread Peter A. Bigot
tl;dr: multilib apparently defines its own root directory underneath ${IMAGE_ROOT} which includes copies of /etc files like passwd that are not known to pseudo. opkg and rpm differ in whether useradd scripts are run when a multilib package is installed, resulting in failures to add

Re: [OE-core] why does useradd.bbclass loop retrying its commands?

2014-11-15 Thread Peter A. Bigot
On 11/15/2014 10:22 AM, Richard Purdie wrote: On Fri, 2014-11-14 at 23:37 -0600, Peter A. Bigot wrote: The useradd, groupadd, and groupmems commands in useradd.bbclass are executed in a loop with up to 10 failed attempts before they give up. This appears to have always been the case, as long

[OE-core] [PATCH V2 1/7] pseudo: support --without-passwd-fallback configuration option

2014-11-15 Thread Peter A. Bigot
A bug in pseudo 1.6.2 results in lock failures if this option is present. Signed-off-by: Peter A. Bigot p...@pabigot.com --- ...do_client.c-protect-pwd_lck-against-magic.patch | 56 ++ meta/recipes-devtools/pseudo/pseudo_1.6.2.bb | 1 + 2 files changed, 57 insertions

[OE-core] [PATCH V2 0/7] prevent pseudo host passwd/group contamination

2014-11-15 Thread Peter A. Bigot
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pabigot/pseudo Peter A. Bigot (7): pseudo: support --without-passwd-fallback configuration option pseudo: support multiple search directories in PSEUDO_PASSWD image.bbclass: search both rootfs and native staging for passwd files pseudo

[OE-core] [PATCH V2 2/7] pseudo: support multiple search directories in PSEUDO_PASSWD

2014-11-15 Thread Peter A. Bigot
This makes it possible to use --without-passwd-fallback when building images where the preferred passwd files are not available until after installation has begun. Signed-off-by: Peter A. Bigot p...@pabigot.com --- v2 change: correct the 0003 patch description to eliminate the implication

Re: [OE-core] opkg/rpm inconsistencies in multilib image installations

2014-11-15 Thread Peter A. Bigot
On 11/15/2014 10:21 AM, Peter A. Bigot wrote: tl;dr: multilib apparently defines its own root directory underneath ${IMAGE_ROOT} which includes copies of /etc files like passwd that are not known to pseudo. opkg and rpm differ in whether useradd scripts are run when a multilib package

[OE-core] [PATCH V2 4/7] pseudo: default --without-passwd-fallback

2014-11-15 Thread Peter A. Bigot
No good reason exists to fall back to the build host /etc files when attempting to resolve user and group information. Recipe dependencies should be updated so the correct target files are available. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-devtools/pseudo/pseudo_1.6.2.bb

[OE-core] [PATCH V2 5/7] pseudo: provide fallback passwd and group files

2014-11-15 Thread Peter A. Bigot
stub files, matching in content what will eventually be on the target, that can be used in the cases where the target files are not yet available. The requirements for minimum stub are the usernames and groups identified in meta/files/fs-perms.txt. Signed-off-by: Peter A. Bigot p...@pabigot.com

[OE-core] [PATCH V2 6/7] bitbake.conf: pseudo fall back to last-resort passwd files

2014-11-15 Thread Peter A. Bigot
to fall-back to the last-resort files it installs if the target ones aren't there yet. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 2a8a37f..0ccaac0

[OE-core] [PATCH V2 3/7] image.bbclass: search both rootfs and native staging for passwd files

2014-11-15 Thread Peter A. Bigot
in the image rootfs. Signed-off-by: Peter A. Bigot p...@pabigot.com --- v2 change: fallback to ${STAGING_DIR_NATIVE} instead of ${STAGING_DIR_TARGET}. meta/classes/image.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes

[OE-core] [PATCH V2 7/7] useradd.bbclass: set PSEUDO_PASSWD consistent with root directory

2014-11-15 Thread Peter A. Bigot
, and the user might already be in the IMAGE_ROOT files, causing a failure during rootfs population. Fix this by ensuring the files pseudo looks at when doing useradd stuff are the same ones that useradd.bbclass will be manipulating. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/classes

Re: [OE-core] [PATCH 1/3] pseudo: default --without-passwd-fallback

2014-11-14 Thread Peter A. Bigot
On 11/14/2014 10:16 AM, Burton, Ross wrote: Hi Peter, Something in this series isn't working nicely with multilib enabled. http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ross/pseudo is the branch I was testing it in, hopefully I pulled in all the right pieces.

Re: [OE-core] [PATCH 1/3] pseudo: default --without-passwd-fallback

2014-11-14 Thread Peter A. Bigot
On 11/14/2014 10:47 AM, Peter A. Bigot wrote: On 11/14/2014 10:16 AM, Burton, Ross wrote: Hi Peter, Something in this series isn't working nicely with multilib enabled. http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ross/pseudo is the branch I was testing it in, hopefully I pulled

[OE-core] why does useradd.bbclass loop retrying its commands?

2014-11-14 Thread Peter A. Bigot
The useradd, groupadd, and groupmems commands in useradd.bbclass are executed in a loop with up to 10 failed attempts before they give up. This appears to have always been the case, as long as that file has been present. Is there any reason why an initial failed attempt to execute one of

Re: [OE-core] [RFC 07/14] qt-mobility: switch to virtual/bluez

2014-11-13 Thread Peter A. Bigot
On 11/13/2014 04:06 AM, Richard Purdie wrote: On Wed, 2014-11-12 at 07:48 -0600, Peter A. Bigot wrote: You raise some good questions. I'll come back to whether the name for whatever provides build-time support for bluetooth should be spelled virtual/bluez or something else. Naming is probably

Re: [OE-core] [PATCH 2/3] pseudo: provide fallback passwd and group files

2014-11-12 Thread Peter A. Bigot
On 11/12/2014 01:36 AM, zhangxiao wrote: On 2014年11月02日 01:04, Peter A. Bigot wrote: Normally pseudo is built with --without-passwd-fallback, which requires that somebody provide target passwd and group files. Those come from base-passwd in OE, but base-passwd cannot be built without first

Re: [OE-core] [RFC 07/14] qt-mobility: switch to virtual/bluez

2014-11-12 Thread Peter A. Bigot
On 11/12/2014 05:06 AM, Richard Purdie wrote: On Mon, 2014-11-10 at 15:13 -0600, Peter A. Bigot wrote: Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-qt/qt4/qt

Re: [OE-core] [PATCH 2/3] pseudo: provide fallback passwd and group files

2014-11-12 Thread Peter A. Bigot
On 11/12/2014 08:31 PM, zhangxiao wrote: On 2014年11月12日 19:15, Peter A. Bigot wrote: On 11/12/2014 01:36 AM, zhangxiao wrote: On 2014年11月02日 01:04, Peter A. Bigot wrote: Normally pseudo is built with --without-passwd-fallback, which requires that somebody provide target passwd and group

Re: [OE-core] [PATCH] Bluez5: Add gatttool to new package bluez5-tools

2014-11-10 Thread Peter A. Bigot
On 11/07/2014 06:42 AM, Burton, Ross wrote: On 4 November 2014 05:04, Qian Lei qianl.f...@cn.fujitsu.com mailto:qianl.f...@cn.fujitsu.com wrote: # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT +install

[OE-core] [RFC 05/14] packagegroup-base: switch to VIRTUAL-RUNTIME_bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-core/packagegroups/packagegroup-base.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb index f4b2cd5

[OE-core] [RFC 06/14] pulseaudio: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc index db144a9..f06b15c

[OE-core] [RFC 03/14] default-providers: support virtual/bluez

2014-11-10 Thread Peter A. Bigot
Select between bluez4 and bluez5 by setting the PREFERRED_PROVIDER for virtual/bluez to one or the other, and VIRTUAL-RUNTIME for bluez to match. [YOCTO #5031] Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/conf/distro/include/default-providers.inc | 2 ++ meta/recipes-connectivity

[OE-core] [RFC 11/14] libpcap: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/libpcap/libpcap.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index a12eb16..5d34c4b 100644

[OE-core] [RFC 09/14] ofono: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/ofono/ofono.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 9f65f4f..aa02ac7 100644 --- a/meta/recipes

[OE-core] [RFC 07/14] qt-mobility: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc index ae1769d..61b5281 100644 --- a/meta/recipes

[OE-core] [RFC 01/14] bluez5: upgrade to 5.25

2014-11-10 Thread Peter A. Bigot
See: http://www.bluez.org/release-of-bluez-5-23/ See: http://www.bluez.org/release-of-bluez-5-24/ See: http://www.bluez.org/release-of-bluez-5-25/ Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/bluez5/bluez5_5.22.bb | 3 --- meta/recipes-connectivity/bluez5

[OE-core] [RFC 04/14] bluez-hcidump: select provider for bluez4/bluez5

2014-11-10 Thread Peter A. Bigot
bluez-hcidump was a separate package in bluez4, but was integrated into bluez5. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/conf/distro/include/default-providers.inc | 1 + meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb | 2 ++ meta/recipes-connectivity/bluez5/bluez5.inc

[OE-core] [RFC 12/14] connman: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/connman/connman.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index f121a81..9af7d87 100644

[OE-core] [RFC 14/14] bluez5: add a package for tools left in the build area

2014-11-10 Thread Peter A. Bigot
are treated similarly by bluez5. Make these tools available in the bluez5-noinst-tools package, in a way that allows control over which tools are packaged, with the default being all that are provided in a particular release of bluez. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes

[OE-core] [RFC 08/14] gstreamer1.0-plugins-bad: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
Be aware that current versions of gstreamer1.0-plugins-bad (through 1.4.3) do not currently support bluez5, and will silently disable bluetooth support until that has been addressed upstream. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/gstreamer/gstreamer1.0

[OE-core] [RFC 02/14] bluez5: fix QA error from configure option

2014-11-10 Thread Peter A. Bigot
The systemdunitdir option was split into systemdsystemunitdir and systemduserunitdir before bluez5 was ever released, so this produced a QA error and was ignored. There appears to be no reason to override the inferred default, so replace it with an explicit --enable-systemd. Signed-off-by: Peter

[OE-core] [RFC 00/14] add virtual/bluez

2014-11-10 Thread Peter A. Bigot
/poky-contrib pabigot/wip/virtual-bluez http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pabigot/wip/virtual-bluez Peter A. Bigot (14): bluez5: upgrade to 5.25 bluez5: fix QA error from configure option default-providers: support virtual/bluez bluez-hcidump: select provider

[OE-core] [RFC 13/14] bluez5: support experimental through PACKAGECONFIG

2014-11-10 Thread Peter A. Bigot
Make it simple to enable the experimental plugins and tools. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/bluez5/bluez5.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5

[OE-core] [RFC 10/14] neard: switch to VIRTUAL-RUNTIME_bluez

2014-11-10 Thread Peter A. Bigot
Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-connectivity/neard/neard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index e714cad..f3e684c3 100644 --- a/meta/recipes

Re: [OE-core] [RFC 08/14] gstreamer1.0-plugins-bad: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
On 11/10/2014 05:20 PM, Martin Jansa wrote: On Mon, Nov 10, 2014 at 03:13:05PM -0600, Peter A. Bigot wrote: Be aware that current versions of gstreamer1.0-plugins-bad (through 1.4.3) do not currently support bluez5, and will silently disable bluetooth support until that has been addressed

Re: [OE-core] [RFC 06/14] pulseaudio: switch to virtual/bluez

2014-11-10 Thread Peter A. Bigot
On 11/10/2014 05:20 PM, Martin Jansa wrote: On Mon, Nov 10, 2014 at 03:13:03PM -0600, Peter A. Bigot wrote: Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes

Re: [OE-core] [PATCH 0/2] support numeric owner/group tar image format

2014-11-03 Thread Peter A. Bigot
On 11/03/2014 08:55 AM, Mark Hatle wrote: On 11/2/14, 4:48 AM, Peter A. Bigot wrote: A classic approach to building SD card images with varying rootfs sizes is to create the filesystem and unpack a tar rootfs image onto it. When done outside pseudo the encoded user and group names from the tar

[OE-core] [PATCH 2/2] image_types.bbclass: add tar --numeric-owner support

2014-11-02 Thread Peter A. Bigot
-by: Peter A. Bigot p...@pabigot.com --- meta/classes/image_types.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 42d7231..50657ab 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass

[OE-core] [PATCH 0/2] support numeric owner/group tar image format

2014-11-02 Thread Peter A. Bigot
assignment for common names like messagebus and ntp. A solution is to create the rootfs archive using the numeric values obtained from the target /etc files under pseudo, rather than the corresponding names. This series provides this function as a new image file format nug.tar. Peter A. Bigot (2

[OE-core] [PATCH 1/2] image_types.bbclass: whitespace and reorder

2014-11-02 Thread Peter A. Bigot
Use a multi-line value to set IMAGE_TYPES and put all the compressed versions of a format on one line. Other than moving ext2.lzma this is just whitespace. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/classes/image_types.bbclass | 16 +++- 1 file changed, 15 insertions

Re: [OE-core] [PATCH 2/2] image_types.bbclass: add tar --numeric-owner support

2014-11-02 Thread Peter A. Bigot
On 11/02/2014 09:01 AM, Richard Purdie wrote: On Sun, 2014-11-02 at 04:48 -0600, Peter A. Bigot wrote: tar format normally stores user and group as names, which is the right thing to use when target passwd and group files are available. When unpacking a rootfs archive onto a mounted SD card

[OE-core] [PATCH 0/3] prevent pseudo host passwd/group contamination

2014-11-01 Thread Peter A. Bigot
dependency on base-passwd that should be added to the failing recipe. Peter A. Bigot (3): pseudo: default --without-passwd-fallback pseudo: provide fallback passwd and group files bitbake.conf: pseudo fall back to last-resort passwd files meta/conf/bitbake.conf | 2

[OE-core] [PATCH 1/3] pseudo: default --without-passwd-fallback

2014-11-01 Thread Peter A. Bigot
No good reason exists to fall back to the build host /etc files when attempting to resolve user and group information. Recipe dependencies should be updated so the correct target files are available. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/recipes-devtools/pseudo/pseudo_1.6.2.bb

[OE-core] [PATCH 3/3] bitbake.conf: pseudo fall back to last-resort passwd files

2014-11-01 Thread Peter A. Bigot
to fall-back to the last-resort files it installs if the target ones aren't there yet. Signed-off-by: Peter A. Bigot p...@pabigot.com --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 2a8a37f..0ccaac0

[OE-core] [PATCH 2/3] pseudo: provide fallback passwd and group files

2014-11-01 Thread Peter A. Bigot
stub files, matching in content what will eventually be on the target, that can be used in the cases where the target files are not yet available. The requirements for minimum stub are the usernames and groups identified in meta/files/fs-perms.txt. Signed-off-by: Peter A. Bigot p...@pabigot.com

Re: [OE-core] [PATCH 0/3] pseudo+image.bbclass: changes to avoid host contamination

2014-11-01 Thread Peter A. Bigot
On 10/31/2014 11:15 PM, Peter A. Bigot wrote: On 10/13/2014 05:35 PM, Peter Seebach wrote: On Mon, 13 Oct 2014 17:29:26 -0500 Peter A. Bigot p...@pabigot.com wrote: Basically, even if root is a special case, taking this path means making assumptions about what the application is doing based

[OE-core] preferred remotes for git pulls?

2014-10-31 Thread Peter A. Bigot
There are two changes (virtual/bluez and pseudo-no-host-passwd) that I'd like to rework and propose for master now that it's reopened. Both are likely to touch multiple files. Previous comments and the wiki how-to suggest that git-pull is preferred over patchwork-only for multi-patch changes

[OE-core] issues encountered using wic

2014-10-31 Thread Peter A. Bigot
I've started to transition to wic (in master) in hopes it reduces the amount of host passwd contamination resulting from creating SD images by untarring the rootfs onto an SD card. I've run into the following initial issues: First, wic requires a populated rootfs, by default in the recipe

Re: [OE-core] [PATCH v2] gcc: backport tow patches to fix ICE in dwarf2out_var_location

2014-10-31 Thread Peter A. Bigot
A. Bigot p...@pabigot.com Peter Signed-off-by: Jackie Huang jackie.hu...@windriver.com --- meta/recipes-devtools/gcc/gcc-4.9.inc | 2 + .../gcc/gcc-4.9/0058-gcc-r212171.patch | 113 + .../0059-gcc-PR-rtl-optimization-63348.patch | 59

Re: [OE-core] issues encountered using wic

2014-10-31 Thread Peter A. Bigot
On 10/31/2014 02:55 PM, Maciek Borzecki wrote: On pią, 2014-10-31 at 11:47 -0500, Tom Zanussi wrote: Hi, On Fri, 2014-10-31 at 10:36 -0500, Peter A. Bigot wrote: I've started to transition to wic (in master) in hopes it reduces the amount of host passwd contamination resulting from creating

Re: [OE-core] [PATCH 0/3] pseudo+image.bbclass: changes to avoid host contamination

2014-10-31 Thread Peter A. Bigot
On 10/13/2014 05:35 PM, Peter Seebach wrote: On Mon, 13 Oct 2014 17:29:26 -0500 Peter A. Bigot p...@pabigot.com wrote: Basically, even if root is a special case, taking this path means making assumptions about what the application is doing based on what system/libc functions it invokes. Too

Re: [OE-core] [PATCH] gcc: fix ICE in dwarf2out_var_location

2014-10-29 Thread Peter A. Bigot
On 10/28/2014 10:41 PM, Khem Raj wrote: On Tue, Oct 28, 2014 at 7:34 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com Fixed the ICE: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21261 this looks ok. but we need the test case too. and

  1   2   >