[OE-core] meta-xilinx moved to meta-xilinx-community

2013-05-23 Thread Elvis Dowson
Hi, The existing meta-xilinx repo has moved to meta-xilinx-community http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx-community/ This layer will contain community support for the Xilinx platforms, including legacy boards (ML507) and other soft-processor architectures. This paves the

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

2013-05-23 Thread Saul Wold
On 05/22/2013 09:02 PM, Jonathan Liu wrote: 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/volati

Re: [OE-core] [PATCH 0/7] run-postinsts refactoring

2013-05-23 Thread Saul Wold
On 05/23/2013 06:15 AM, Laurentiu Palcu wrote: Hi all, My work at #4484 revealed that the package managers deb/ipk/rpm handle removal of PM meta-data (when the PM is not deployed) and the delayed postinstalls execution in their own way. Currently we have: * run-postinsts (for deb/ipk) and rpm-

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

2013-05-23 Thread Jonathan Liu
Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Added missing util-linux dependency. Updated uClibc patches. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL

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

2013-05-23 Thread Jonathan Liu
- Remove /etc/resolvconf/run/interface from package as it actually uses /etc/resolvconf/run/interface - Create /var/run/resolvconf/interface on startup using populate-volatiles.sh and tmpfiles.d for systemd - Create symbolic link from /etc/resolvconf/run to /var/run/resolvconf Signed-off-by: Jonat

Re: [OE-core] Shortened git hashes causing pain

2013-05-23 Thread Gary Thomas
On 2013-05-23 16:52, Richard Purdie wrote: On Thu, 2013-05-23 at 09:28 -0600, Gary Thomas wrote: The shortening of the git hashes in this commit commit 77fc40a0f843e2488b356d90b64ef436c11c9973 Author: Richard Purdie Date: Sun May 19 13:21:55 2013 +0300 bitbake: fetch2: Short

[OE-core] gcc 4.8

2013-05-23 Thread Mark Hatle
I found an issue w/ the gcc 4.8 in oe-core as on Monday. Some of my automated build machines are RHEL 5.9 machines. These boxes have a host compiler that does not support -Wno-narrowing and -Wno-overlength-strings. Unfortunately, when building target gcc (via the cross compiler) the system tr

[OE-core] [PATCH 1/1] dropbear: a fix for hang in dropbearkey, built for x32

2013-05-23 Thread nitin . a . kamble
From: Nitin A Kamble This commit fixes runtime hang of 'dropbearkey' utility, built for a x32 target abi system. The hang was observed while generating ssh keys, with this command: dropbearkey -t dss -f private The issue is fixed by changing the code, where 'long' in x86_64 mode is assumed as

[OE-core] [PATCH 0/1] a x32 fix for dropbear hang

2013-05-23 Thread nitin . a . kamble
From: Nitin A Kamble Here is a single fix for a hang noticed in the dropbear, built for x32 abi target. Thanks, Nitin The following changes since commit e8197722de1f6006ceae0d4266de91c1db7278e3: buildhistory: Sync with bitbake changes (2013-05-23 11:51:53 +0100) are available in the git re

Re: [OE-core] Shortened git hashes causing pain

2013-05-23 Thread Gary Thomas
On 2013-05-23 09:28, Gary Thomas wrote: The shortening of the git hashes in this commit commit 77fc40a0f843e2488b356d90b64ef436c11c9973 Author: Richard Purdie Date: Sun May 19 13:21:55 2013 +0300 bitbake: fetch2: Shorten long srcrevs is causing some problems. I have a simple .bb

Re: [OE-core] [PATCH 0/1] Update automake to version 1.13.2

2013-05-23 Thread Saul Wold
On 05/23/2013 01:52 AM, Marko Lindqvist wrote: New upstream release, 1.13.2, has reverted some of the 1.13.0 backward compatibility dropping changes, for the duration of 1.13 series. Unlike earlier 1.13 releases, it can be used without breaking huge number of packages. I have not dug into it t

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

2013-05-23 Thread Jonathan Liu
On 24/05/2013 4:41 AM, Khem Raj wrote: please apply http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078987.html on top of this patch for this upgrade to work on uclibc Did you want me to squash this into the systemd update patch? Regards, Jonathan On May 23, 2013, at 2:15

Re: [OE-core] Shortened git hashes causing pain

2013-05-23 Thread Richard Purdie
On Thu, 2013-05-23 at 09:28 -0600, Gary Thomas wrote: > The shortening of the git hashes in this commit >commit 77fc40a0f843e2488b356d90b64ef436c11c9973 >Author: Richard Purdie >Date: Sun May 19 13:21:55 2013 +0300 > bitbake: fetch2: Shorten long srcrevs > is causing some proble

[OE-core] [PATCH] linux-firmware: Split 'ar3k' in a linux-firmware-ar3k package

2013-05-23 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index 414f47a

Re: [OE-core] [PATCH 3/3] utils: add trim_version() function

2013-05-23 Thread Chris Larson
On Thu, May 23, 2013 at 11:45 AM, Ross Burton wrote: > +def trim_version(version, num_parts=2): > +""" > +Return just the first of , split by periods. For > +example, trim_version("1.2.3", 2) will return "1.2". > +""" > +if type(version) is not str: > +raise TypeErro

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

2013-05-23 Thread Saul Wold
On 05/22/2013 09:02 PM, Jonathan Liu wrote: resolvconf uses /etc/resolvconf/run/interface instead of /var/volatile/run/resolvconf/interface. resolvconf uses /etc/resolvconf/run, but it really should be a link to /run/resolvconf/, with the interfaces created there. I don't thing keeping it in

[OE-core] [PATCH 3/3] utils: add trim_version() function

2013-05-23 Thread Ross Burton
Add a helper function that returns just the first of , split by periods. For example, trim_version("1.2.3", 2) will return "1.2". This should help reduce the spread of numerous copies of this idea across classes and recipes. Signed-off-by: Ross Burton --- meta/lib/oe/tests/test_utils.py | 2

[OE-core] [PATCH 2/3] test_utils: import functions directly for conciseness

2013-05-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oe/tests/test_utils.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/lib/oe/tests/test_utils.py b/meta/lib/oe/tests/test_utils.py index 779247a..8bb36f2 100644 --- a/meta/lib/oe/tests/test_utils.py +++ b/meta/lib/oe/t

[OE-core] [PATCH 1/3] test-utils: handle import bb failing and skip the test

2013-05-23 Thread Ross Burton
Instead of reporting an error when bb cannot be imported, skip the test instead. This makes it a lot easier to iterate a test suite when we don't care about this particular test. Signed-off-by: Ross Burton --- meta/lib/oe/tests/test_utils.py |6 +- 1 file changed, 5 insertions(+), 1 dele

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

2013-05-23 Thread Khem Raj
please apply http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078987.html on top of this patch for this upgrade to work on uclibc On May 23, 2013, at 2:15 AM, Jonathan Liu wrote: > Removed patches integrated upstream. > Added backport of fix for utmp not running at shutdown.

[OE-core] [PATCH] systemd: forward port uclibc patches to 204

2013-05-23 Thread Khem Raj
Signed-off-by: Khem Raj --- .../systemd/systemd/systemd-pam-fix-mkostemp.patch | 110 ++-- .../systemd/systemd/systemd-pam-fix-msformat.patch | 86 +++ 2 files changed, 99 insertions(+), 97 deletions(-) diff --git a/meta/recipes-core/systemd/systemd/systemd-pam-fix

[OE-core] [PATCH] binutils: the cat should always succeed when building config.cache

2013-05-23 Thread Saul Wold
There is a race condition between when the CONFIG_SITE list is generated and then used here via the cat to create the config.cache and in *all* configure scripts when reading from CONFIG_SITE. The race in this case is that the sstate setscene task runs on a package that contains a site config file

Re: [OE-core] [PATCH] siteinfo: add existiance check for site config file

2013-05-23 Thread Mark Hatle
On 5/23/13 10:51 AM, Saul Wold wrote: Ignore this patch, I was quick on the draw and did not notice the listdir which means the file is there, Could the issue be that the file -was- there, then we ncurses updated it and now it's no longer there? (or in the process of being written?) I've

Re: [OE-core] [PATCH] siteinfo: add existiance check for site config file

2013-05-23 Thread Saul Wold
Ignore this patch, I was quick on the draw and did not notice the listdir which means the file is there, Sau! On 05/23/2013 07:37 AM, Saul Wold wrote: There is a condition where ncurses adds a site config file to CONFIG_SITE list and then binutils configure tries to use the siteinfo list be

[OE-core] Shortened git hashes causing pain

2013-05-23 Thread Gary Thomas
The shortening of the git hashes in this commit commit 77fc40a0f843e2488b356d90b64ef436c11c9973 Author: Richard Purdie Date: Sun May 19 13:21:55 2013 +0300 bitbake: fetch2: Shorten long srcrevs is causing some problems. I have a simple .bbappend for gtk-sato-engine (attached) which j

Re: [OE-core] [PATCH 5/7] run-postinsts: make it generic

2013-05-23 Thread Burton, Ross
On 23 May 2013 14:15, Laurentiu Palcu wrote: > This patch intends to make run-postinsts generic and deprecate > rpm-postinsts. Here's why: If it's generic, please move it out of the dpkg/ directory in oe-core. Ross ___ Openembedded-core mailing list Op

Re: [OE-core] Query for multilib support in Yocto

2013-05-23 Thread Mark Hatle
On 5/23/13 3:46 AM, Luo Zhenhua-B19537 wrote: Hi all, I am trying the multilib feature of Yocto, and I want to make sure if below scenarios are supported, who can help to clarify? Thanks in advance. For standalone toolchain built by "bitbake meta-toolchain" 1. Can the same gcc binary build bot

Re: [OE-core] [PATCH] libpam: fix multilib packaging issue for pam-plugins

2013-05-23 Thread Mark Hatle
On 5/23/13 3:01 AM, Ming Liu wrote: libpam might miss ABI specific dependencies for pam-plugins-*, for RPM uses generic names to check the packages depending on it and doesn't consider the arch, which will lead to packaging issues in multilib build. pam_plugin_hook is added because the plugin pa

[OE-core] [PATCH] siteinfo: add existiance check for site config file

2013-05-23 Thread Saul Wold
There is a condition where ncurses adds a site config file to CONFIG_SITE list and then binutils configure tries to use the siteinfo list before ncurses has installed the file. The existance test is there in the BBPATH search, but not in the SYSROOTCACHE check, so add it here. Signed-off-by: Saul

[OE-core] [PATCH 7/7] rpm: replace rpm-postinsts dependency with run-postinsts

2013-05-23 Thread Laurentiu Palcu
run-postinsts is generic and will handle rpm delayed postinsts just fine. No need to use another recipe. Signed-off-by: Laurentiu Palcu --- meta/recipes-devtools/rpm/rpm_5.4.9.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta

[OE-core] [PATCH 6/7] rootfs_rpm.bbclas: switch to using run-postinsts

2013-05-23 Thread Laurentiu Palcu
Since run-postinsts was made generic, use it for RPM too. Signed-off-by: Laurentiu Palcu --- meta/classes/rootfs_rpm.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index d1d6eff..5027cee 100644 ---

[OE-core] [PATCH 5/7] run-postinsts: make it generic

2013-05-23 Thread Laurentiu Palcu
This recipe is used only when the package manager is not deployed on target and there still are delayed postinstalls that need to be run on target. At the moment, run-postinsts is targeted to dpkg/opkg. RPM uses another recipe, called rpm-postinsts which, in turn, is used even when the rpm package

[OE-core] [PATCH 4/7] core-image-minimal: do not remove packaging files in the rootfs postprocess

2013-05-23 Thread Laurentiu Palcu
Since the removal of PM's meta-data was moved in image.bbclass, after rootfs_*_do_rootfs() runs, there's no need to remove the files in rootfs postprocess stage. Also, if the meta-data is removed then there's no way we can save the postinstalls to /etc/(deb|ipk)-postinsts later. For RPM, it doesn'

[OE-core] [PATCH 3/7] image.bbclass: remove unneeded files from the image

2013-05-23 Thread Laurentiu Palcu
This patch creates a new function, rootfs_remove_unneeded(), that will be called after rootfs_*_do_rootfs is called and which will handle delayed postinstalls in a generic fashion, for all backends in the same way. Signed-off-by: Laurentiu Palcu --- meta/classes/image.bbclass | 33

[OE-core] [PATCH 2/7] rootfs_*.bbclass: add some helper functions

2013-05-23 Thread Laurentiu Palcu
This patch adds the following helper functions: * delayed_postinsts - outputs the list of delayed postinstalls; * save_postinsts - this will save the delayed postinstalls for ipk/deb in /etc/(ipk|deb)_postinsts; * rootfs_remove_packages - removes packages from an image; Additionaly, this pat

[OE-core] [PATCH 1/7] systemd: add udev-utils dependency for udev-hwdb

2013-05-23 Thread Laurentiu Palcu
udev-hwdb needs udevadm tool to compile the hardware index. Signed-off-by: Laurentiu Palcu --- meta/recipes-core/systemd/systemd_199.bb |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_199.bb b/meta/recipes-core/systemd/systemd_199.bb index b1cc046..09e

[OE-core] [PATCH 0/7] run-postinsts refactoring

2013-05-23 Thread Laurentiu Palcu
Hi all, My work at #4484 revealed that the package managers deb/ipk/rpm handle removal of PM meta-data (when the PM is not deployed) and the delayed postinstalls execution in their own way. Currently we have: * run-postinsts (for deb/ipk) and rpm-postinsts (for rpm) for running the delayed po

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

2013-05-23 Thread Richard Purdie
On Thu, 2013-05-23 at 22:31 +1000, Jonathan Liu wrote: > On 23/05/2013 9:38 PM, Richard Purdie wrote: > > On Thu, 2013-05-23 at 14:02 +1000, Jonathan Liu wrote: > >> /var/run is a tmpfs that is created on startup. > >> For sysvinit, /var/run/dbus is created by populate-volatiles.sh. > >> For system

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

2013-05-23 Thread Jonathan Liu
On 23/05/2013 9:38 PM, Richard Purdie wrote: On Thu, 2013-05-23 at 14:02 +1000, Jonathan Liu wrote: /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 lis

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

2013-05-23 Thread Richard Purdie
On Thu, 2013-05-23 at 14:02 +1000, Jonathan Liu wrote: > /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/syste

Re: [OE-core] [PATCH] libdrm: fix packaging after last upgrade

2013-05-23 Thread Burton, Ross
On 23 May 2013 09:55, Martin Jansa wrote: > -FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode*" > +FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test" Why not just capture ${bindir}/* and we won't have this problem in the future? Ross

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

2013-05-23 Thread Jonathan Liu
Removed patches integrated upstream. Added backport of fix for utmp not running at shutdown. Updated serial-getty service. Added missing util-linux dependency. Signed-off-by: Jonathan Liu --- .../systemd-serialgetty/serial-getty@.service | 16 +- ...se-AC_CHECK_TOOL-for-objcopy-strings-and

[OE-core] [PATCH] libdrm: fix packaging after last upgrade

2013-05-23 Thread Martin Jansa
* 2.4.44 adds 2 more tests kmstest and vbltest which got packaged to PN, causing PKG rename and breaking upgrade path * check_data_file_clashes: Package libdrm wants to install file /usr/lib/libdrm.so.2 But that file is already provided by package * libdrm2 * check_data_file_clashe

[OE-core] [PATCH 0/1] Update automake to version 1.13.2

2013-05-23 Thread Marko Lindqvist
New upstream release, 1.13.2, has reverted some of the 1.13.0 backward compatibility dropping changes, for the duration of 1.13 series. Unlike earlier 1.13 releases, it can be used without breaking huge number of packages. The following changes since commit aeb704fee8b4ffeaeddcdb36ae4e1d62c264ce42

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

2013-05-23 Thread Burton, Ross
On 23 May 2013 09:27, Erik Botö wrote: > I'd like util-linux added to DEPENDS to avoid the issue described in > http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078641.html > . > > Most of the times util-linux seems to be staged in sysroot due to other > dependencies, but I guess

[OE-core] Query for multilib support in Yocto

2013-05-23 Thread Luo Zhenhua-B19537
Hi all, I am trying the multilib feature of Yocto, and I want to make sure if below scenarios are supported, who can help to clarify? Thanks in advance. For standalone toolchain built by "bitbake meta-toolchain" 1. Can the same gcc binary build both 32b and 64b applications or two different g

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

2013-05-23 Thread Laurentiu Palcu
On 05/22/2013 07:07 PM, Martin Jansa wrote: > 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

[OE-core] [PATCH] libpam: fix multilib packaging issue for pam-plugins

2013-05-23 Thread Ming Liu
libpam might miss ABI specific dependencies for pam-plugins-*, for RPM uses generic names to check the packages depending on it and doesn't consider the arch, which will lead to packaging issues in multilib build. pam_plugin_hook is added because the plugin packages are dynamically generated, so w

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

2013-05-23 Thread Martin Jansa
On Wed, May 22, 2013 at 04:03:05PM -0700, Saul Wold wrote: > 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 c

[OE-core] [PATCH] rm_work.bbclass: ignore failure for removing pseudo folder

2013-05-23 Thread Ming Liu
When building over NFS2/3 server, removal of pseudo folders will fail in some cases for there are files in it still used by pseudo daemon, thus cause ".nfsX" files generated which can't be removed by clients. This will lead rm_work task fo fail. These failures could be safely ignored because "