Re: [OE-core] [PATCH v2 1/2] classes/uboot-extlinux-config: Add class

2016-10-03 Thread Ulf Magnusson
On Tue, Oct 4, 2016 at 12:24 AM, Ulf Magnusson wrote: > On Tue, Oct 4, 2016 at 12:08 AM, Ulf Magnusson wrote: >> Hello, >> >> On Mon, Oct 3, 2016 at 2:17 PM, Fabio Berton >> wrote: >>> This class allow the extlinux.conf

[OE-core] [PATCH V3] devtool: modify command fails to ignore source files

2016-10-03 Thread Stephano Cetola
With recent changes to recipeutils, the list of local files returned by get_recipe_local_files could possibly include source files. This only happens when the recipe contains a SRC_URI using subdir= to put files in the source tree. These files should be ignored when populating the list of local

[OE-core] [PATCH V3] devtool: modify command fails to ignore source files

2016-10-03 Thread Stephano Cetola
Changes since V2: Added os.sep to path name for decreased chance of false positive matches. Stephano Cetola (1): devtool: modify command fails to ignore source files scripts/lib/devtool/standard.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.10.0 --

Re: [OE-core] [PATCH V2] devtool: modify command fails to ignore source files

2016-10-03 Thread Stephano Cetola
On 10/04, Paul Eggleton wrote: > On Sun, 02 Oct 2016 16:58:24 Stephano Cetola wrote: > > With recent changes to recipeutils, the list of local files returned > > by get_recipe_local_files could possibly include source files. This > > only happens when the recipe contains a SRC_URI using subdir= to

Re: [OE-core] [PATCH V2] devtool: modify command fails to ignore source files

2016-10-03 Thread Paul Eggleton
On Sun, 02 Oct 2016 16:58:24 Stephano Cetola wrote: > With recent changes to recipeutils, the list of local files returned > by get_recipe_local_files could possibly include source files. This > only happens when the recipe contains a SRC_URI using subdir= to put > files in the source tree. These

Re: [OE-core] [PATCH] linux-libc-headers: if_tunnel: remove include of if/ip/in6.h

2016-10-03 Thread Bruce Ashfield
On Mon, Oct 3, 2016 at 3:55 PM, Khem Raj wrote: > What Repercussion does this have wrt APIs headers for future. Provided > this is a local patch. I think removing header includes like this can cause > issues. > It's something we could drop in the future, but these are mods

Re: [OE-core] [PATCH] makedevs: don't restrict device node paths to 40 characters

2016-10-03 Thread Khem Raj
> On Oct 2, 2016, at 11:41 PM, Andre McCurdy wrote: > > On Sun, Oct 2, 2016 at 1:37 PM, Khem Raj wrote: >> >>> On Sep 12, 2016, at 1:14 PM, Andre McCurdy wrote: >>> >>> 40 character paths work OK for device nodes in /dev but not

[OE-core] [PATCH V3] utils.bbclass: add function to check for git config user

2016-10-03 Thread Stephano Cetola
If attempting to patch a git repo without a proper git config setup, an error will occur saying user.name/user.email are needed by git am/apply. After some code was removed from kernel-yocto, it was simple enough to reproduce this error by creating a kernel patch and using a container to build.

[OE-core] [PATCH V3] add function to check for git config user

2016-10-03 Thread Stephano Cetola
Chnages since V2: moved functionality from sanity to utils utilize existing name / email variables Stephano Cetola (1): utils.bbclass: add function to check for git config user meta/classes/buildhistory.bbclass | 15 ++- meta/classes/kernel-yocto.bbclass | 3 +++

Re: [OE-core] [PATCH v2 1/2] classes/uboot-extlinux-config: Add class

2016-10-03 Thread Ulf Magnusson
On Tue, Oct 4, 2016 at 12:08 AM, Ulf Magnusson wrote: > Hello, > > On Mon, Oct 3, 2016 at 2:17 PM, Fabio Berton > wrote: >> This class allow the extlinux.conf generation for U-Boot use. >> The U-Boot support for it is given to allow the Generic

Re: [OE-core] [PATCH V2] sanity: add function to check for git config user

2016-10-03 Thread Richard Purdie
On Sun, 2016-10-02 at 17:43 -0700, Stephano Cetola wrote: > If attempting to patch a git repo without a proper git config setup, > an error will occur saying user.name/user.email are needed by git > am/apply. After some code was removed from kernel-yocto, it was > simple enough to reproduce this

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Richard Purdie
On Mon, 2016-10-03 at 12:55 -0400, Bruce Ashfield wrote: > > > On Mon, Oct 3, 2016 at 12:07 PM, Bruce Ashfield .com> wrote: > > > > > > On Mon, Oct 3, 2016 at 12:03 PM, Burton, Ross > m> wrote: > > > > > > On 3 October 2016 at 16:57, Bruce

Re: [OE-core] [PATCH v2 1/2] classes/uboot-extlinux-config: Add class

2016-10-03 Thread Ulf Magnusson
Hello, On Mon, Oct 3, 2016 at 2:17 PM, Fabio Berton wrote: > This class allow the extlinux.conf generation for U-Boot use. > The U-Boot support for it is given to allow the Generic Distribution > Configuration specification use by OpenEmbedded-based products. > >

Re: [OE-core] [PATCH] linux-libc-headers: if_tunnel: remove include of if/ip/in6.h

2016-10-03 Thread Khem Raj
What Repercussion does this have wrt APIs headers for future. Provided this is a local patch. I think removing header includes like this can cause issues. On Oct 3, 2016 9:55 AM, "Bruce Ashfield" wrote: commit 1fe8e0f074c [include/uapi/linux/if_tunnel.h: include

Re: [OE-core] [PATCH] db: Remove unneeded PR

2016-10-03 Thread Paul Eggleton
On Mon, 03 Oct 2016 14:30:15 Aníbal Limón wrote: > On 10/03/2016 02:25 PM, Paul Eggleton wrote: > > On Mon, 03 Oct 2016 14:17:27 Aníbal Limón wrote: > >> The PR is not need so remove it after upgrade to 6.0.35. > >> > >> Signed-off-by: Aníbal Limón > >> --- > >> >

Re: [OE-core] [PATCH] db: Remove unneeded PR

2016-10-03 Thread Aníbal Limón
On 10/03/2016 02:25 PM, Paul Eggleton wrote: > On Mon, 03 Oct 2016 14:17:27 Aníbal Limón wrote: >> The PR is not need so remove it after upgrade to 6.0.35. >> >> Signed-off-by: Aníbal Limón >> --- >> meta/recipes-support/db/db_6.0.35.bb | 2 -- >> 1 file changed,

Re: [OE-core] [PATCH] db: Remove unneeded PR

2016-10-03 Thread Paul Eggleton
On Mon, 03 Oct 2016 14:17:27 Aníbal Limón wrote: > The PR is not need so remove it after upgrade to 6.0.35. > > Signed-off-by: Aníbal Limón > --- > meta/recipes-support/db/db_6.0.35.bb | 2 -- > 1 file changed, 2 deletions(-) > > diff --git

[OE-core] [PATCH] db: Remove unneeded PR

2016-10-03 Thread Aníbal Limón
The PR is not need so remove it after upgrade to 6.0.35. Signed-off-by: Aníbal Limón --- meta/recipes-support/db/db_6.0.35.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-support/db/db_6.0.35.bb b/meta/recipes-support/db/db_6.0.35.bb index

Re: [OE-core] [RFC] iptables: add systemd helper unit to load/restore rules

2016-10-03 Thread Pau Espin Pedrol
Hi, can you please use ${systemd_system_unitdir} instead of ${systemd_unitdir}/system? Pau Espin Pedrol 2016-09-08 13:29 GMT+02:00 Jack Mitchell : > From: Jack Mitchell > > there is currently no way to automatically load iptable rules > in OE. Add a systemd

Re: [OE-core] Crazy display

2016-10-03 Thread Stephen Arnold
I do mostly remote screen sessions (on gentoo host, sometimes ubuntu/debian vm) and occasional local terminal (xfce term but remote could be console only). The fact that I have not seen this once is just *weird* (and I'm pretty damn good about hitting the annoying bits). Steve On Mon, Oct 3,

[OE-core] [PATCH] systemtap: add dependency on boost

2016-10-03 Thread Martin Jansa
* otherwise the build may fail with: | ERROR: oe_runmake failed | In file included from ../../git/staprun/../util.h:44:0, | from ../../git/staprun/../util.cxx:17: | ../../git/staprun/../stringtable.h:17:29: fatal error: boost/version.hpp: No such file or directory | #include |

Re: [OE-core] Crazy display

2016-10-03 Thread Paul Eggleton
On Fri, 16 Sep 2016 10:00:12 Paul Eggleton wrote: > On Thu, 15 Sep 2016 22:51:47 Richard Purdie wrote: > > On Fri, 2016-09-16 at 08:41 +1200, Paul Eggleton wrote: > > > On Thu, 15 Sep 2016 22:26:09 Gary Thomas wrote: > > > > On 2016-09-15 22:12, Burton, Ross wrote: > > > > > On 15 September 2016

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Bruce Ashfield
On Mon, Oct 3, 2016 at 12:07 PM, Bruce Ashfield wrote: > > > On Mon, Oct 3, 2016 at 12:03 PM, Burton, Ross > wrote: > >> >> On 3 October 2016 at 16:57, Bruce Ashfield >> wrote: >> >>> Out of curiosity, what image type

[OE-core] [PATCH] linux-libc-headers: if_tunnel: remove include of if/ip/in6.h

2016-10-03 Thread Bruce Ashfield
commit 1fe8e0f074c [include/uapi/linux/if_tunnel.h: include linux/if.h, linux/ip.h and linux/in6.h] breaks the builds of net-tools. We remove the new includes until such a time that userspace can adapt to the new kernel headers. Signed-off-by: Bruce Ashfield ---

Re: [OE-core] [PATCH 4/4] binutils: apply RPATH fixes from our libtool patches

2016-10-03 Thread Khem Raj
This looks fine On Oct 3, 2016 7:17 AM, "Ross Burton" wrote: > We don't autoreconf/libtoolize binutils as it has very strict > requirements, so > extend our patching of the stock libtool to include two fixes to RPATH > behaviour, as part of the solution to ensure that

Re: [OE-core] [PATCH 3/4] binutils: fix typo in libtool patch

2016-10-03 Thread Khem Raj
Good catch On Oct 3, 2016 7:17 AM, "Ross Burton" wrote: > There was a clear typo in a function name, correct it. > > Signed-off-by: Ross Burton > --- > meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch | 3 > +-- > 1 file changed,

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Burton, Ross
On 3 October 2016 at 16:57, Bruce Ashfield wrote: > Out of curiosity, what image type is this ? built core-image-sato, > kernel-dev for > x86-64 and they all worked. > net-tools (via core-image-full-cmdline -c populate_sdk) for intel-corei7-64. Ross --

Re: [OE-core] [PATCH V2] sanity: add function to check for git config user

2016-10-03 Thread Stephano Cetola
On 10/03, Burton, Ross wrote: > On 3 October 2016 at 01:43, Stephano Cetola > wrote: > > > +# If the user hasn't set up their name/email, set some defaults > > +check_git_config() { > > + if [ -z "$1" ]; then > > + name="OE" > > + else

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Bruce Ashfield
On Mon, Oct 3, 2016 at 12:03 PM, Burton, Ross wrote: > > On 3 October 2016 at 16:57, Bruce Ashfield > wrote: > >> Out of curiosity, what image type is this ? built core-image-sato, >> kernel-dev for >> x86-64 and they all worked. >> > >

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Bruce Ashfield
On Mon, Oct 3, 2016 at 11:57 AM, Bruce Ashfield wrote: > > > On Mon, Oct 3, 2016 at 11:51 AM, Bruce Ashfield < > bruce.ashfi...@windriver.com> wrote: > >> On 2016-10-03 11:45 AM, Burton, Ross wrote: >> >>> >>> On 3 October 2016 at 06:54, Bruce Ashfield

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Bruce Ashfield
On Mon, Oct 3, 2016 at 11:51 AM, Bruce Ashfield < bruce.ashfi...@windriver.com> wrote: > On 2016-10-03 11:45 AM, Burton, Ross wrote: > >> >> On 3 October 2016 at 06:54, Bruce Ashfield > > wrote: >> >> The big thing to note

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Bruce Ashfield
On 2016-10-03 11:45 AM, Burton, Ross wrote: On 3 October 2016 at 06:54, Bruce Ashfield > wrote: The big thing to note about this update .. is that the libc-headers bump to the 4.8 final tarball picked up some uapi

Re: [OE-core] [PATCH 0/7] linux-yocto: consolidated (and hopefully final) pull request

2016-10-03 Thread Burton, Ross
On 3 October 2016 at 06:54, Bruce Ashfield wrote: > The big thing to note about this update .. is that the libc-headers bump > to the 4.8 final tarball picked up some uapi headers that broke the build > of ppp. I never would have thought it was possible, but it

Re: [OE-core] [PATCH V2] sanity: add function to check for git config user

2016-10-03 Thread Burton, Ross
On 3 October 2016 at 01:43, Stephano Cetola wrote: > +# If the user hasn't set up their name/email, set some defaults > +check_git_config() { > + if [ -z "$1" ]; then > + name="OE" > + else > + name="$1" > + fi > +

[OE-core] [PATCH] oeqa/sshcontrol: Handle interrupted system call error

2016-10-03 Thread Richard Purdie
Deal with an interrupted system call gracefully: |   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/sshcontrol.py", line 55, in _run | if select.select([self.process.stdout], [], [], 5)[0] != []: | InterruptedError: [Errno 4] Interrupted

Re: [OE-core] [PATCH] gmock: fixed installing pkgconfig file and libraries on x86_64 architecture

2016-10-03 Thread Mateusz Nowakowski
ok, done :) On Fri, 2016-09-30 at 22:42 +0100, Burton, Ross wrote: > > On 30 September 2016 at 23:18, Mateusz Nowakowski s...@gmail.com> wrote: > > Signed-off-by: Mateusz Nowakowski > > > > As this is for meta-oe, the patch should go to openembedded-devel@lis

[OE-core] [PATCH 1/4] classes/cross: set lt_cv_sys_lib_dlsearch_path_spec

2016-10-03 Thread Ross Burton
This variable is used by libtool to know what paths are on the default loader search path. As we have modified loader paths, cross.bbclass can tell libtool that both the sysroot libdir and the host library paths are searched, so no RPATHs for those will be generated. Signed-off-by: Ross Burton

[OE-core] [PATCH 3/4] binutils: fix typo in libtool patch

2016-10-03 Thread Ross Burton
There was a clear typo in a function name, correct it. Signed-off-by: Ross Burton --- meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[OE-core] [PATCH 2/4] classes/native: set lt_cv_sys_lib_dlsearch_path_spec

2016-10-03 Thread Ross Burton
This variable is used by libtool to know what paths are on the default loader search path. As we have modified loader paths, native.bbclass can tell libtool that both the sysroot libdir and the host library paths are searched, so no RPATHs for those will be generated. Signed-off-by: Ross Burton

[OE-core] [PATCH 4/4] binutils: apply RPATH fixes from our libtool patches

2016-10-03 Thread Ross Burton
We don't autoreconf/libtoolize binutils as it has very strict requirements, so extend our patching of the stock libtool to include two fixes to RPATH behaviour, as part of the solution to ensure that native binaries don't have RPATHs pointing at the host system's /usr/lib. This generally doesn't

[OE-core] [PATCH v2 2/2] u-boot: Add support to use uboot-extlinux-config class

2016-10-03 Thread Fabio Berton
Use uboot-extlinux-config class to create extlinux.conf file and then install inside /boot/extlinux directory and also put file to deploy dir. This file will be only create if UBOOT_EXTLINUX is set to 1. You can use DEPLOYDIR/extlinux.conf file to install into final image using wic setting:

[OE-core] [PATCH v2 1/2] classes/uboot-extlinux-config: Add class

2016-10-03 Thread Fabio Berton
This class allow the extlinux.conf generation for U-Boot use. The U-Boot support for it is given to allow the Generic Distribution Configuration specification use by OpenEmbedded-based products. This class can be inherited by u-boot recipes to create extlinux.conf and boot using menu options.

Re: [OE-core] [PATCH 1/2] classes/uboot-extlinux-config: Add class

2016-10-03 Thread Fabio Berton
Hi Ulf, Thanks for review. I agree and I'll change code and use bb.fatal() instead of FuncFailed and send a v2. Fabio On Fri, Sep 30, 2016 at 8:07 PM, Ulf Magnusson wrote: > On Sat, Oct 1, 2016 at 12:54 AM, Ulf Magnusson > wrote: > > On Fri, Sep 30,

[OE-core] [PATCH 1/1] xf86-video-intel: Upgrade to recent git

2016-10-03 Thread Jussi Kukkonen
Upgrade from the latest snapshot to a recent git revision. Without this xvideo does not work on skylake: Backporting the specific fixes turned out to be too complex. Remove patches that are in upstream already, rebase disable-x11-dri3.patch. Fixes [YOCTO #10041] Signed-off-by: Jussi Kukkonen

[OE-core] [PATCH 0/1] xf86-video-intel: Upgrade to recent git

2016-10-03 Thread Jussi Kukkonen
Currently xvideo is broken on skylake because our xf86-video-intel is way too old (it's the last snapshot but that was 21 months ago). The problem can be reproduced with gtk-play (select goom visualization from context menu) or testxvideo from xvideo-tests. Most distros have moved to a recent git

Re: [OE-core] Psplash on Systemd with progress bar

2016-10-03 Thread Burton, Ross
On 3 October 2016 at 10:47, srikanth krishnakar wrote: > Thanks for your response. You are right about the splash support in > splash.. but at least I wanted to eliminate the progress bar that is anyway > non-functional. I masked the psplash_draw_progress and its

Re: [OE-core] [PATCH v2] scripts: add new script 'native'

2016-10-03 Thread Ed Bartosh
On Sun, Oct 02, 2016 at 04:30:58PM +0200, Ulf Magnusson wrote: > On Sun, Oct 2, 2016 at 4:15 PM, Jérémy Rosen wrote: > > "native" might be a bit too generic... > > > > could I suggest oe_native-run or bitbake-native ? > > > > something that says it's yocto-galaxy specific

Re: [OE-core] [PATCH 0/1] Avoid unnecessary dependency on awk in devtool deploy-target

2016-10-03 Thread Peter Kjellerstedt
> -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: den 3 oktober 2016 01:47 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 0/1] Avoid unnecessary dependency on awk > in devtool deploy-target > > > On Sep 30,

Re: [OE-core] Psplash on Systemd with progress bar

2016-10-03 Thread srikanth krishnakar
Hello Khem, Thanks for your response. You are right about the splash support in splash.. but at least I wanted to eliminate the progress bar that is anyway non-functional. I masked the psplash_draw_progress and its associated psplash_fb_draw_image functions but the progress bar border still shows

Re: [OE-core] [PATCH] makedevs: don't restrict device node paths to 40 characters

2016-10-03 Thread Andre McCurdy
On Sun, Oct 2, 2016 at 1:37 PM, Khem Raj wrote: > >> On Sep 12, 2016, at 1:14 PM, Andre McCurdy wrote: >> >> 40 character paths work OK for device nodes in /dev but not for >> device nodes created in a chroot, LXC container, etc. >> >> Since the 'path'