[OE-core] [PATCH 3/3] udev-extraconf:fix rootless X write to usb storage failed

2013-04-12 Thread Hongxu Jia
Rootless X is owned by xuser, the problem is xuser doesn't have permissions to write usb storage when the type of filesystem is not one of ext2/3/4 or btrfs. ... mount /dev/sdb1 on /media/sdb1 type ext4 /dev/sdb2 on /media/sdb2 type vfat /dev/sdb3 on /media/sdb3 type ntfs /dev/sdb4 on /media/sdb4

[OE-core] [PATCH 1/3] xserver-nodm-init: Add xuser to disk group

2013-04-12 Thread Hongxu Jia
Add xuser to disk group, so it could have permissions to access disk storage. [YOCTO #4004] Signed-off-by: Hongxu Jia hongxu@windriver.com --- meta/recipes-graphics/x11-common/xserver-nodm-init.bb |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 0/3]udev-extraconf:fix rootless X write to usb storage failed

2013-04-12 Thread Hongxu Jia
The following need to be discussed: 1, Is it proper to change the group of storage dir to `disk', and grant it with w/r/x permissions? 2, Is it proper to add xuser to group `disk', is there a security issue? The following changes since commit 95b71d2b03a3a6dc5d32a7d6a84ec3420f39aa61:

[OE-core] [PATCH 2/3] connman.inc: Add xuser to disk group

2013-04-12 Thread Hongxu Jia
1, Add xuser to disk group, so it could have permissions to access disk storage. 2, When fix [YOCTO #4164] xserver-nodm-init: Add xuser to input group, it missed to sync with this file. [YOCTO #4004] Signed-off-by: Hongxu Jia hongxu@windriver.com ---

[OE-core] [OE-Core][dylan][PATCH] kernel.bbclass: Optionally create lib dir during deploy

2013-04-12 Thread Khem Raj
when we have multilib and a 64bit machine and initramfs then image/lib directory will not be created and it will end up with errors like | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_deploy | tar:

[OE-core] systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class)

2013-04-12 Thread Andreas Müller
On Thu, Apr 11, 2013 at 2:12 AM, Andreas Müller schnitzelt...@googlemail.com wrote: On Tue, Apr 9, 2013 at 10:01 PM, Martin Jansa martin.ja...@gmail.com wrote: On Tue, Mar 05, 2013 at 11:59:07PM +0100, Martin Jansa wrote: On Tue, Mar 05, 2013 at 11:50:41PM +0100, Andreas Müller wrote: On Tue,

Re: [OE-core] [PATCH 1/1] rpm: fix rpm2cpio segmentation fault

2013-04-12 Thread Kang Kai
On 2013年03月12日 23:30, Mark Hatle wrote: On 3/12/13 12:57 AM, Kang Kai wrote: On 2013年02月28日 22:34, Mark Hatle wrote: On 2/28/13 1:34 AM, Kang Kai wrote: When run rpm2cpio, it fails with segmentation fault. The root cause is no macro _db_path defined, when query its value get nothing then

Re: [OE-core] Master under test with gcc-4.8

2013-04-12 Thread Burton, Ross
On 12 April 2013 01:50, Saul Wold saul.w...@intel.com wrote: I have seen a couple of failures with an initial build in xmodmap and matchbox-panel (when building a sato image for x86). xmodmap is probably fixed by integrating this commit upstream:

[OE-core] [PATCH] xmodmap: fix compile with gcc 4.8

2013-04-12 Thread Ross Burton
With gcc 4.8 there are compile errors: xmodmap.c:289:5: error: implicit declaration of function 'asprintf' [-Werror=implicit-function-declaration] (and more) These have been fixed upstream so take the patch from git until 1.0.8 is released. Signed-off-by: Ross Burton ross.bur...@intel.com ---

Re: [OE-core] Master under test with gcc-4.8

2013-04-12 Thread Burton, Ross
On 12 April 2013 10:18, Burton, Ross ross.bur...@intel.com wrote: On 12 April 2013 01:50, Saul Wold saul.w...@intel.com wrote: I have seen a couple of failures with an initial build in xmodmap and matchbox-panel (when building a sato image for x86). xmodmap is probably fixed by integrating

Re: [OE-core] [PATCH 1/1] systemd: Upgrade to 199

2013-04-12 Thread Burton, Ross
Hi, On 12 April 2013 00:11, Andreas Müller schnitzelt...@googlemail.com wrote: Had no make-native so did manually build it and now systemd compiles fine now. Is there a reason why we don't build make-native - If remember correct there were fixes also for webkit-gtk parallel-make issues (ok -

[OE-core] [PATCH] sudo: update crypt.patch to use backport from upstream

2013-04-12 Thread Ross Burton
Upstream closed my bug and rewrote the patch, so update our patch with a backport from upstream. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/recipes-extended/sudo/files/crypt.patch | 112 +- 1 file changed, 94 insertions(+), 18 deletions(-) diff --git

[OE-core] [PATCH] wayland: only build the scanner in wayland-native

2013-04-12 Thread Ross Burton
We only build wayland-native for the scanner, so disable the bits we don't actually need. This gives us a small speed up but importantly should allow wayland-native to compile on older hosts such as CentOS 5 which currently fails. [ YOCTO #4245 ] Signed-off-by: Ross Burton ross.bur...@intel.com

Re: [OE-core] systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class)

2013-04-12 Thread Burton, Ross
Hi Andreas, On 12 April 2013 09:56, Andreas Müller schnitzelt...@googlemail.com wrote: OK - just in case I have spare cycles to start this: I am afraid I lost overview regarding distro features. I found systemd and sysvinit which can be set both - still correct? Ross could you please link me

Re: [OE-core] systemd/sysvinit switches (was [meta-systemd][PATCH 1/2] Delete systemd class)

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 11:46:16AM +0100, Burton, Ross wrote: Hi Andreas, On 12 April 2013 09:56, Andreas Müller schnitzelt...@googlemail.com wrote: OK - just in case I have spare cycles to start this: I am afraid I lost overview regarding distro features. I found systemd and sysvinit

[OE-core] systemd postinsts failing when trying to enable masked service

2013-04-12 Thread Martin Jansa
We had crond.service masked to prevent crond sysvinit script being started. Now with crond.service pulled by PN (cronie) it tries to start it and fails: Configuring cronie. Failed to issue method call: Unit crond.service is masked. I guess I can disable it again with SYSTEMD_AUTO_ENABLE or keep

[OE-core] recipe for openssl 1.0.1

2013-04-12 Thread David Hirst
Is there as recipe for openssl version 1.0.1, having problems with it and wondered if I am just re-inventing the wheel. if any one has pointers or a recipe coudl you let me know Thanks -- David Hirst hirst...@gmail.com ___ Openembedded-core mailing

Re: [OE-core] recipe for openssl 1.0.1

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 07:10:16AM -0400, David Hirst wrote: Is there as recipe for openssl version 1.0.1, having problems with it and wondered if I am just re-inventing the wheel. if any one has pointers or a recipe coudl you let me know

Re: [OE-core] [PATCH] build-appliance-image: update to newer poky revision

2013-04-12 Thread Iorga, Cristian
OK, you are right. However, this is not the final version, this is needed in order to update the git proxy in Hob. -Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Thursday, April 11, 2013 7:35 PM To: Iorga, Cristian Cc: openembedded-core@lists.openembedded.org

[OE-core] refs to git.pokylinux.org - git.yoctoproject.org

2013-04-12 Thread Robert P. J. Day
there is a small number of references in oe-core to git.pokylinux.org, which i imagine would make sense to update to git.yoctoproject.org, no? i'll let someone else handle that as i'm not sure if there's any reason to keep the original references. rday --

Re: [OE-core] The build issue of wayland-native on Linux distros with old glibc

2013-04-12 Thread Luo Zhenhua-B19537
Thanks for the comments and patch, the patch works well during our build test. Best Regards, Zhenhua -Original Message- From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] Sent: Friday, April 12, 2013 4:42 AM To: Khem Raj Cc: Luo Zhenhua-B19537; Guo Chunrong-B40290;

Re: [OE-core] Master under test with gcc-4.8

2013-04-12 Thread Khem Raj
Thanks Ross On Apr 12, 2013, at 3:02 AM, Burton, Ross ross.bur...@intel.com wrote: On 12 April 2013 10:18, Burton, Ross ross.bur...@intel.com wrote: On 12 April 2013 01:50, Saul Wold saul.w...@intel.com wrote: I have seen a couple of failures with an initial build in xmodmap and

[OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES

2013-04-12 Thread Martin Jansa
oe-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc defines pkg_postinst_wpa-supplicant with: if [ x$DBUSPID != x ]; then /etc/init.d/dbus-1 reload || true fi and /etc/init.d/dbus-1 is missing without sysvinit in DISTRO_FEATURES Thanks to true

Re: [OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 04:20:15PM +0200, Martin Jansa wrote: oe-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc the same is in avahi.inc (pkg_postinst_avahi-daemon) defines pkg_postinst_wpa-supplicant with: if [ x$DBUSPID != x ]; then

[OE-core] [PATCH] mesa-demos: fix build with non-Mesa GL stacks

2013-04-12 Thread Ross Burton
These patches from upstream allow mesa-demos to build and run against a non-Mesa GL stack. Thanks to Tom Zanussi for doing this work for EMGD in meta-intel, and Otavio Salvador for confirming it also works for Freescale. [ YOCTO #3469 ] Signed-off-by: Ross Burton ross.bur...@intel.com ---

Re: [OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES

2013-04-12 Thread Burton, Ross
On 12 April 2013 15:20, Martin Jansa martin.ja...@gmail.com wrote: oe-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc defines pkg_postinst_wpa-supplicant with: if [ x$DBUSPID != x ]; then /etc/init.d/dbus-1 reload || true fi and

Re: [OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 03:24:57PM +0100, Burton, Ross wrote: On 12 April 2013 15:20, Martin Jansa martin.ja...@gmail.com wrote: oe-core/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc defines pkg_postinst_wpa-supplicant with: if [ x$DBUSPID != x ]; then

Re: [OE-core] wpa-supplicant postinsts failing without sysvinit in DISTRO_FEATURES

2013-04-12 Thread Burton, Ross
On 12 April 2013 15:43, Martin Jansa martin.ja...@gmail.com wrote: I have noticed this when testing upgrade paths, but general-purpose abstraction will became quite complicated in images which have both sysvinit and systemd scripts (I guess that checking which init is running will be needed to

[OE-core] [PATCH] package/image.bbclass: Fix multilib rprovides

2013-04-12 Thread Richard Purdie
allarch multilib recipes are meant to provide a list of different multilib variants. Unfortunately since the pkgdata also has mappings for these, they get mapped back to the original package name which means the effect is undone at package creation time when the remapping code is called. This

[OE-core] [PATCH] multilib.conf: Workaround opkg multilib issues

2013-04-12 Thread Richard Purdie
Multilib with opkg hasn't worked since the --force-overwrite option was dropped in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6 Since we merged the libexecdir changes, we also need the --force-maintainer flag to avoid conf file conflicts. Both

Re: [OE-core] Missing Upstream-Status tag in patch files.

2013-04-12 Thread Phil Blundell
On Thu, 2013-04-11 at 07:40 -0700, Saul Wold wrote: Li Wang - meta/recipes-gnome/librsvg/librsvg-2.32.1/librsvg-CVE-2011-3146.patch Khem Raj - meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-r22178.patch Khem Raj -

Re: [OE-core] [PATCH] multilib.conf: Workaround opkg multilib issues

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 05:46:30PM +0100, Richard Purdie wrote: Multilib with opkg hasn't worked since the --force-overwrite option was dropped in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=88a9f6db3482623c9cb54fb03db1045051cec9f6 Since we merged the libexecdir changes, we also

Re: [OE-core] Missing Upstream-Status tag in patch files.

2013-04-12 Thread Saul Wold
On 04/12/2013 10:01 AM, Phil Blundell wrote: On Thu, 2013-04-11 at 07:40 -0700, Saul Wold wrote: Li Wang - meta/recipes-gnome/librsvg/librsvg-2.32.1/librsvg-CVE-2011-3146.patch Khem Raj - meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-r22178.patch Khem Raj -

[OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Mark Hatle
The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf: IMAGE_INSTALL_append = hello-mod bitbake lib32-core-image-minimal The system will translate names and prepend 'lib32-', unless the package begins

Re: [OE-core] [bitbake-devel] Checksum failure encountered with download

2013-04-12 Thread Trevor Woerner
Sorry for not noticing this sooner. On Thu, Apr 11, 2013 at 9:30 AM, Martin Jansa martin.ja...@gmail.com wrote: My proposal is to add md5sum of downloaded file to ChecksumError and rename it to file.md5sum in if isinstance(e, ChecksumError): Would it be possible to make this behaviour

Re: [OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Bruce Ashfield
On Fri, Apr 12, 2013 at 3:42 PM, Mark Hatle mark.ha...@windriver.com wrote: The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf: IMAGE_INSTALL_append = hello-mod bitbake lib32-core-image-minimal

Re: [OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Mark Hatle
On 4/12/13 3:06 PM, Bruce Ashfield wrote: On Fri, Apr 12, 2013 at 3:42 PM, Mark Hatle mark.ha...@windriver.com wrote: The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf: IMAGE_INSTALL_append =

Re: [OE-core] [PATCH] qemu.inc: depend on qemu-native only with runqemu DISTRO_FEATURE

2013-04-12 Thread Martin Jansa
On Sun, Mar 03, 2013 at 01:59:28AM +0100, Martin Jansa wrote: On Mon, Feb 04, 2013 at 12:18:24PM +, Richard Purdie wrote: On Mon, 2013-02-04 at 10:57 +0100, Martin Jansa wrote: * qemu images are usefull even without qemu installed on build machine. Some people are building on one

[OE-core] [PATCH 0/1] Fix handling of bblayers.conf updating

2013-04-12 Thread Paul Eggleton
Fixes endless looping and other bad behaviour in the code that updates bblayers.conf on startup. This is an important fix for the 1.4 release. The following change since commit 6af6df6c6507cae61dbd9d6994ff4162b54df451: oprofile: Add Upstream-Status and description to patch (2013-04-12

[OE-core] [PATCH 1/1] classes/sanity: fix handling of bblayers.conf updating

2013-04-12 Thread Paul Eggleton
Fix the fairly long-standing problem of treating a newer bblayers.conf in the same manner as an older one (reporting that it had been updated even if nothing was done). The recent work to do a reparse without having to manually re-run bitbake turned this from an annoyance into an endless loop, so

Re: [OE-core] [bitbake-devel] Checksum failure encountered with download

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 03:44:41PM -0400, Trevor Woerner wrote: Sorry for not noticing this sooner. On Thu, Apr 11, 2013 at 9:30 AM, Martin Jansa martin.ja...@gmail.com wrote: My proposal is to add md5sum of downloaded file to ChecksumError and rename it to file.md5sum in if isinstance(e,

Re: [OE-core] [PATCH] hello-mod: Ensure the produced package name begins with kernel-module-

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 04:06:56PM -0400, Bruce Ashfield wrote: On Fri, Apr 12, 2013 at 3:42 PM, Mark Hatle mark.ha...@windriver.com wrote: The special key kernel-module- is necessary for the system to avoid a package rename when installing a multilib image. For example: local.conf:

Re: [OE-core] [PATCHv2 1/2][for-danny] linux-dtb: Add simple DTB symlinks for devicetree

2013-04-12 Thread Maupin, Chase
-Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Maupin, Chase Sent: Wednesday, April 10, 2013 3:53 PM To: Burton, Ross Cc: openembedded-core@lists.openembedded.org Subject: Re:

Re: [OE-core] [PATCH][for-danny] kernel bbclass: return to original directory in do_deploy

2013-04-12 Thread Maupin, Chase
-Original Message- From: Maupin, Chase Sent: Thursday, April 11, 2013 8:44 AM To: Maupin, Chase; Denys Dmytriyenko Cc: openembedded-core@lists.openembedded.org Subject: RE: [OE-core] [PATCH][for-danny] kernel bbclass: return to original directory in do_deploy -Original

Re: [OE-core] [PATCH 1/1] classes/sanity: fix handling of bblayers.conf updating

2013-04-12 Thread Martin Jansa
On Fri, Apr 12, 2013 at 09:16:51PM +0100, Paul Eggleton wrote: Fix the fairly long-standing problem of treating a newer bblayers.conf in the same manner as an older one (reporting that it had been updated even if nothing was done). The recent work to do a reparse without having to manually

Re: [OE-core] [PATCH 1/1] classes/sanity: fix handling of bblayers.conf updating

2013-04-12 Thread Richard Purdie
On Fri, 2013-04-12 at 23:10 +0200, Martin Jansa wrote: On Fri, Apr 12, 2013 at 09:16:51PM +0100, Paul Eggleton wrote: Fix the fairly long-standing problem of treating a newer bblayers.conf in the same manner as an older one (reporting that it had been updated even if nothing was done). The

Re: [OE-core] [PATCH] multilib.conf: Workaround opkg multilib issues

2013-04-12 Thread Richard Purdie
On Fri, 2013-04-12 at 19:43 +0200, Martin Jansa wrote: On Fri, Apr 12, 2013 at 05:46:30PM +0100, Richard Purdie wrote: Multilib with opkg hasn't worked since the --force-overwrite option was dropped in