Re: [OE-core] rpm generation question

2016-04-19 Thread Mark Hatle
On 4/19/16 7:15 PM, Tudor Florea wrote: > > > On 19/04/2016 21:02, Mark Hatle wrote: >> On 4/19/16 12:05 PM, Tudor Florea wrote: >>> As part of our test infrastructure we're attempting to install ptest >>> packages (and execute the tests accordingly). >>> Attempting to install ptest for valgrind

Re: [OE-core] [PATCH 1/3] create-pull-request: create branch on remote if not found

2016-04-19 Thread Robert Yang
Updated in the repo: (add option -a to auto push or set CONTRIB_AUTO_PUSH in env). git://git.openembedded.org/openembedded-core-contrib rbt/cpr http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/cpr Robert Yang (3): create-pull-request: create branch on remote if

Re: [OE-core] rpm generation question

2016-04-19 Thread Tudor Florea
On 19/04/2016 21:02, Mark Hatle wrote: > On 4/19/16 12:05 PM, Tudor Florea wrote: >> As part of our test infrastructure we're attempting to install ptest >> packages (and execute the tests accordingly). >> Attempting to install ptest for valgrind fails with this error: >> >> error: Can't install

[OE-core] [PATCH][master][krogoth][jethro][fido 2/2] tzdata: update to 2016d

2016-04-19 Thread Armin Kuster
From: Armin Kuster Changes affecting future time stamps America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30. (Thanks to Alexander Krivenyshev for the heads-up.) Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00. (Thanks to Alexander Krivenyshev and

[OE-core] [PATCH][master][krogoth][jethro][fido 1/2] tzcode: update to 2016d

2016-04-19 Thread Armin Kuster
From: Armin Kuster they keep the versions in-sync. changes are all in data. Changes affecting future time stamps America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30. (Thanks to Alexander Krivenyshev for the heads-up.) Asia/Magadan switches from +10 to +11 on

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Andreas Müller
On Tue, Apr 19, 2016 at 4:54 PM, Richard Purdie wrote: > On Tue, 2016-04-19 at 16:11 +0200, Andreas Müller wrote: >> thanks a lot for your efforts. Do I understand this right: You >> suggest >> to use build sysroot (on my own risk - as I did before) and make

[OE-core] backports for jethro

2016-04-19 Thread Tim Kilbourn
What is the policy for backporting changes to released branches like jethro? I'm hitting an issue that was fixed in 2015 on master, but didn't get included in jethro 2.0.1. Is there any chance of having this cherrypicked so I can get the fix from the jethro branch in git? - commit

Re: [OE-core] xinput-calibrator startup question

2016-04-19 Thread Jussi Kukkonen
On 19 April 2016 at 21:24, Koen Kooi wrote: > >> Op 19 apr. 2016, om 17:12 heeft Jussi Kukkonen >> het volgende geschreven: >> >> Hi Koen, >> >> I was looking at xinput-calibrator in preparation for bug 9365 "Remove >> xtscal in preference

[OE-core] [PATCH] syslinux.bbclass: Remove APPEND from variable dependency

2016-04-19 Thread Otavio Salvador
The value of APPEND is already being tracked and does impact on the generated configuration file. This reverts the OE-Core:3c2d7ae5 commit as it is not need anymore. Signed-off-by: Otavio Salvador --- meta/classes/syslinux.bbclass | 1 - 1 file changed, 1 deletion(-)

[OE-core] [PATCH 1/2] syslinux.bbclass: The AUTO_SYSLINUXMENU value needs to be boolean

2016-04-19 Thread Otavio Salvador
The python code expects AUTO_SYSLINUXMENU to be a boolean value, otherwise the logic fails. This fixes the code comparing the value to "1" which is the value expected by the shell script code, counterpart. Signed-off-by: Otavio Salvador ---

[OE-core] [PATCH 2/2] syslinux.bbclass: Add AUTO_SYSLINUXMENU as variable dependency

2016-04-19 Thread Otavio Salvador
The value of AUTO_SYSLINUXMENU has impact on the generated configuration file so this needs to be added to the vardeps flag. Signed-off-by: Otavio Salvador --- meta/classes/syslinux.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] xinput-calibrator startup question

2016-04-19 Thread Koen Kooi
> Op 19 apr. 2016, om 17:12 heeft Jussi Kukkonen het > volgende geschreven: > > Hi Koen, > > I was looking at xinput-calibrator in preparation for bug 9365 "Remove > xtscal in preference of xinput-calibrator", and I'm wondering if you > remember the logic behind this

Re: [OE-core] rpm generation question

2016-04-19 Thread Mark Hatle
On 4/19/16 12:05 PM, Tudor Florea wrote: > As part of our test infrastructure we're attempting to install ptest > packages (and execute the tests accordingly). > Attempting to install ptest for valgrind fails with this error: > > error: Can't install valgrind-ptest-3.11.0-r0.1@ppce500mc: no

[OE-core] rpm generation question

2016-04-19 Thread Tudor Florea
As part of our test infrastructure we're attempting to install ptest packages (and execute the tests accordingly). Attempting to install ptest for valgrind fails with this error: error: Can't install valgrind-ptest-3.11.0-r0.1@ppce500mc: no package provides /this/is/a/bogus/interpreter/name

Re: [OE-core] bugzilla.yoctoproject.org policy for bugs against multiple releases

2016-04-19 Thread Khem Raj
See how gcc project manages it. May be that is sufficient for us too On Apr 19, 2016 9:41 AM, "Burton, Ross" wrote: > > On 19 April 2016 at 03:17, Christopher Larson wrote: > >> There may be something better out there, and if we can find it, great, >>

[OE-core] [PATCH] image_types: Ensure rootfs dependencies cover DEBUGFS

2016-04-19 Thread Richard Purdie
If you configure a bz2 debugfs, pbzip2-native currently isn't built. This patch makes sure the dependencies are added. Signed-off-by: Richard Purdie diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index e2467bd..122e080 100644

Re: [OE-core] bugzilla.yoctoproject.org policy for bugs against multiple releases

2016-04-19 Thread Burton, Ross
On 19 April 2016 at 03:17, Christopher Larson wrote: > There may be something better out there, and if we can find it, great, but > I think separate issues is better than not addressing the issue at all, but > only if the tooling is good enough to help reduce overhead on the

[OE-core] [PATCH 2/2] boost: improve configure

2016-04-19 Thread Ross Burton
Instead of adding a custom task (do_boostconfig) simply use the existing do_configure. Ensure that there are no relative paths in do_configure. Instead of editing the user-config.jam sample file in the source tree (which is entirely comments) and extending it on every build, create a new

[OE-core] [PATCH 1/2] boost: delete the build directory before rebuilding

2016-04-19 Thread Ross Burton
If there is an existing build directory when do enter do_compile() then delete it, as it contains the previous build. If the rebuild was caused because dependencies have changed we want to ensure that a rebuild actually happens. Signed-off-by: Ross Burton ---

[OE-core] [PATCH] packagegroup-core-tools-profile: Enable valgrind on ARMv7a and above

2016-04-19 Thread Felipe F. Tonello
Fixes: e5f41c221356 ("task-core-tools-profile: fix valgrind for arm and systemtap for mips") Valgrind works on ARMv7a and above. Signed-off-by: Felipe F. Tonello --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 6 -- 1 file changed, 4

[OE-core] xinput-calibrator startup question

2016-04-19 Thread Jussi Kukkonen
Hi Koen, I was looking at xinput-calibrator in preparation for bug 9365 "Remove xtscal in preference of xinput-calibrator", and I'm wondering if you remember the logic behind this commit: commit 6464bcd67d10ab9967ac83c27c413c1014be707e Author: Koen Kooi Date: Wed

[OE-core] [PATCH] image.bbclass: The wrong name is being used for the debug filesystem

2016-04-19 Thread Mark Hatle
[YOCTO #9487] The debug filesystem file name is ending in "debug_tar", it should be simply "tar". Strip the "debug_" piece as necessary. To avoid deleting the tar ball, when we've asked for just the tarball we need to check 't' and not 'realt'. The two hunks were suggested by RP. I've

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Richard Purdie
On Tue, 2016-04-19 at 16:11 +0200, Andreas Müller wrote: > thanks a lot for your efforts. Do I understand this right: You > suggest > to use build sysroot (on my own risk - as I did before) and make gdb > happy by linking sources? > > Problem I see is that we have multiple package archs e.g >

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Mark Hatle
Of course after hitting send, I noticed the example in 7 was missing on step.. :P On 4/19/16 9:47 AM, Mark Hatle wrote: > On 4/19/16 9:11 AM, Andreas Müller wrote: >> thanks a lot for your efforts. Do I understand this right: You suggest >> to use build sysroot (on my own risk - as I did before)

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Mark Hatle
On 4/19/16 9:11 AM, Andreas Müller wrote: > thanks a lot for your efforts. Do I understand this right: You suggest > to use build sysroot (on my own risk - as I did before) and make gdb > happy by linking sources? > > Problem I see is that we have multiple package archs e.g > ARM/ARMThumb/Machine

Re: [OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-19 Thread Andreas Oberritter
Hello Yannick, On 19.04.2016 14:46, Yannick Gicquel wrote: > This introduces a new task 'assemble_dtb' to handle the concatenation of > U-Boot > without DTB and the compiled U-Boot DTB while using CONFIG_OF_SEPARATE. > Basically, this task merges the u-boot-nodtb.bin and the device tree blob >

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Andreas Müller
On Tue, Apr 19, 2016 at 9:33 AM, Hongxu Jia wrote: > Hi all, > > With some investigation, there is an example to explain how to do remote > debug. > > Also file [YOCTO #9481] for document. > > Hi Andreas, > > Would you please have a look the example, to see if it could

Re: [OE-core] [PATCH] perf: pass DESTDIR in EXTRA_OEMAKE

2016-04-19 Thread Bruce Ashfield
On Tue, Apr 19, 2016 at 8:57 AM, Ross Burton wrote: > Instead of passing DESTDIR just in the make install invocation, pass it in > EXTRA_OEMAKE. This appears to stop perf from rebuilding at instal time > for me, > which appears to be the trigger for the random build

Re: [OE-core] [RFC PATCH 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-19 Thread Otavio Salvador
On Tue, Apr 19, 2016 at 9:46 AM, Yannick Gicquel wrote: > This is an initial support of fitImage signature to enable U-Boot verified > boot. This feature is implemented by adding a signature tag to the > configuration section of the generated fit-image.its file. > > When

Re: [OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-19 Thread Otavio Salvador
On Tue, Apr 19, 2016 at 9:46 AM, Yannick Gicquel wrote: > This introduces a new task 'assemble_dtb' to handle the concatenation of > U-Boot > without DTB and the compiled U-Boot DTB while using CONFIG_OF_SEPARATE. > Basically, this task merges the u-boot-nodtb.bin and

Re: [OE-core] [PATCH] base.bbclass: Introduce PACKAGECONFIG_CONFARGS variable

2016-04-19 Thread Otavio Salvador
Hello Martin, Hello Richard, Martin, thanks for updating the patch to comply to Richard's suggestions. On Tue, Apr 19, 2016 at 7:31 AM, Martin Jansa wrote: > * add separate variable for configuration options generated from > PACKAGECONFIG setting, this helps other

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Hongxu Jia
On 04/19/2016 08:31 PM, Mark Hatle wrote: On 4/19/16 2:33 AM, Hongxu Jia wrote: Hi all, With some investigation, there is an example to explain how to do remote debug. Also file [YOCTO #9481] for document. Hi Andreas, Would you please have a look the example, to see if it could fit your

[OE-core] [PATCH] perf: pass DESTDIR in EXTRA_OEMAKE

2016-04-19 Thread Ross Burton
Instead of passing DESTDIR just in the make install invocation, pass it in EXTRA_OEMAKE. This appears to stop perf from rebuilding at instal time for me, which appears to be the trigger for the random build failure. [ YOCTO #9182 ] Signed-off-by: Ross Burton ---

[OE-core] [RFC PATCH 1/4] u-boot: basic support of device tree blob reassembly

2016-04-19 Thread Yannick Gicquel
This introduces a new task 'assemble_dtb' to handle the concatenation of U-Boot without DTB and the compiled U-Boot DTB while using CONFIG_OF_SEPARATE. Basically, this task merges the u-boot-nodtb.bin and the device tree blob using the 'cat' command and overrides the u-boot.bin file which is

[OE-core] [RFC PATCH 2/4] u-boot: deploy u-boot nodtb and dtb files

2016-04-19 Thread Yannick Gicquel
This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. Signed-off-by: Yannick Gicquel --- meta/recipes-bsp/u-boot/u-boot.inc | 14 ++ 1 file changed, 14 insertions(+) diff --git a/meta/recipes-bsp/u-boot/u-boot.inc

[OE-core] [RFC PATCH 3/4] kernel: fitimage: support device tree compiler options

2016-04-19 Thread Yannick Gicquel
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" Signed-off-by: Yannick Gicquel

[OE-core] [RFC PATCH 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-19 Thread Yannick Gicquel
This is an initial support of fitImage signature to enable U-Boot verified boot. This feature is implemented by adding a signature tag to the configuration section of the generated fit-image.its file. When a UBOOT_SIGN_ENABLE variable is set to "1", the signature procedure is activated and

[OE-core] [RFC PATCH 0/4] U-Boot verified boot basic support

2016-04-19 Thread Yannick Gicquel
Hello, Please find a patchset proposal for U-Boot verified boot basic support. Before submitting those, I would like to ask people on this list some feedbacks on the way it's currently implemented. The verified boot support principle is to sign a kernel fitImage, thanks to an SSL keypair, and to

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: implement grubefi menu logic

2016-04-19 Thread Ed Bartosh
Hi Ioan-Adrian, It's my fault as I've rewritten ks parser and missed --menu implementation. Let me know if you need my help with this. It would be great if you also add test case for this feature to wic oe-selftest suite. Regards, Ed On Tue, Apr 19, 2016 at 03:17:56PM +0300, Ioan-Adrian Ratiu

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Mark Hatle
On 4/19/16 2:33 AM, Hongxu Jia wrote: > Hi all, > > With some investigation, there is an example to explain how to do remote > debug. > > Also file [YOCTO #9481] for document. > > Hi Andreas, > > Would you please have a look the example, to see if it could fit your case. > > Example: > > 1.

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Mark Hatle
On 4/18/16 11:32 PM, Paul Eggleton wrote: > On Mon, 18 Apr 2016 13:50:15 Mark Hatle wrote: >> On 4/18/16 9:16 AM, Andreas Müller wrote: >>> On Mon, Apr 18, 2016 at 3:55 PM, Burton, Ross > wrote: On 18 April 2016 at 14:08, Hongxu Jia wrote:

Re: [OE-core] [PATCH 1/3] create-pull-request: create branch on remote if not found

2016-04-19 Thread Bruce Ashfield
On Mon, Apr 18, 2016 at 11:13 PM, Robert Yang wrote: > > > On 04/19/2016 11:00 AM, Bruce Ashfield wrote: > >> >> >> On Mon, Apr 18, 2016 at 10:45 PM, Robert Yang > > wrote: >> >> Before this patch, we

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: implement grubefi menu logic

2016-04-19 Thread Ioan-Adrian Ratiu
Hello Ed, I've tested it on Jethro. Sorry about this. I'll look at the changes in wic's kickstart and redo/resubmit. Thank you, Ioan On Mon, 18 Apr 2016 16:24:11 +0300 Ed Bartosh wrote: > Hi Ioan-Adrian, > > Did you test if this patch works on master? > From the

[OE-core] [PATCH] git: update to 2.7.4

2016-04-19 Thread Alexander Kanavin
This should also fix recent CVEs: https://ma.ttias.be/remote-code-execution-git-versions-client-server-2-7-1-cve-2016-2324-cve-2016-2315/ Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/git/git_2.7.2.bb | 11 ---

[OE-core] [PATCH] license.bbclass: postpone image license manifest creation until image postprocessing phase

2016-04-19 Thread Markus Lehtonen
This is a proposed fix to yocto bug #9446. It should fix the reported issue although is was not able to reproduce the problem. Markus Lehtonen (1): license.bbclass: do write_deploy_manifest in image postprocessing meta/classes/license.bbclass | 5 - 1 file changed, 4 insertions(+), 1

[OE-core] [PATCH] license.bbclass: do write_deploy_manifest in image postprocessing

2016-04-19 Thread Markus Lehtonen
Call write_deploy_manifest() in image postprocessing phase, instead of rootfs postprocessing. The reason being that not necessarily all do_deploy tasks are dependencies of the do_rootfs and we might miss something. [YOCTO #9446] Signed-off-by: Markus Lehtonen

[OE-core] [PATCH 1/1] devtool: sdk-update: fix handling of UNINATIVE_CHECKSUM changes

2016-04-19 Thread Paul Eggleton
If UNINATIVE_CHECKSUM changes over an SDK update, bitbake within the extensible SDK will be broken because it will see that the matching uninative tarball doesn't exist and if there is a default value of UNINATIVE_URL it will attempt to download the file and will then fail because the checksums

[OE-core] [PATCH 0/1] Fix for eSDK update interaction with uninative checksum changes

2016-04-19 Thread Paul Eggleton
The following changes since commit e003ef038819c10f351bb8268b377626c95bb077: toasterconf.json: Update for krogoth release (2016-04-18 16:48:58 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/extsdk-uninative-update

[OE-core] [PATCH] base.bbclass: Introduce PACKAGECONFIG_CONFARGS variable

2016-04-19 Thread Martin Jansa
* add separate variable for configuration options generated from PACKAGECONFIG setting, this helps other bbclasses and recipes to take advantage of PACKAGECONFIG mechanism, without including other options from EXTRA_OECONF * e.g. meta-qt5 recipes are abusing EXTRA_OECONF to get options

Re: [OE-core] [PATCH][RFC] base.bbclass: Introduce EXTRA_CONF_PACKAGECONFIG variable

2016-04-19 Thread Martin Jansa
On Mon, Apr 18, 2016 at 07:49:51PM -0300, Otavio Salvador wrote: > On Mon, Apr 18, 2016 at 7:45 PM, Richard Purdie > wrote: > > On Mon, 2016-04-18 at 19:31 -0300, Otavio Salvador wrote: > >> On Fri, Mar 25, 2016 at 8:55 AM, Martin Jansa

[OE-core] [PATCHv2 1/1] bash: fixed ptest run-builtins failed

2016-04-19 Thread Dengke Du
1. redirect the stderr output of the command exec with -l option to /dev/null. Because when we run command exec with -l option in builtins.tests, it is a login shell, so it would read the file /etc/profile, that file executes the /usr/bin/resize which added by commit:

[OE-core] [PATCHv2 0/1] bash: fixed ptest run-builtins failed

2016-04-19 Thread Dengke Du
The following changes since commit ee25d0e3987d7732a2e46e1640693b4cf419a9fc: toasterconf.json: Update for krogoth release (2016-04-18 16:49:28 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib dengke/fixed-bash-ptest-run-builtins-failed

Re: [OE-core] [PATCH 01/17] conf/bitbake.conf package.bbclass: fix dbg package not contain sources while -fdebug-prefix-map used

2016-04-19 Thread Hongxu Jia
Hi all, With some investigation, there is an example to explain how to do remote debug. Also file [YOCTO #9481] for document. Hi Andreas, Would you please have a look the example, to see if it could fit your case. Example: 1. Build a image with gdbserver and gzip installed. The gzip is

Re: [OE-core] [PATCH 2/2] meta.bbclass: set INHIBIT_DEFAULT_DEPS

2016-04-19 Thread Richard Purdie
On Tue, 2016-04-19 at 15:33 +1200, Paul Eggleton wrote: > On Mon, 18 Apr 2016 21:27:25 Burton, Ross wrote: > > On 18 April 2016 at 03:57, Robert Yang > > wrote: > > > The recipe which inherits meta.bbclass doesn't require any > > > default deps. > > > > meta is only

[OE-core] [PATCH 1/1] bash: fixed run-builtins fail

2016-04-19 Thread Dengke Du
1.The ptest run-builtins of bash fail, because the script: (exec -l -a specialname {THIS_SH} -c 'echo $0') in the builtins.tests, it has option "-l", as the bash source code shell.c said when a shell run startup file if: argv[0][0] == '-' it is a login shell, it would read the file

[OE-core] [PATCH 0/1] bash: fix run-builtins

2016-04-19 Thread Dengke Du
The following changes since commit ee25d0e3987d7732a2e46e1640693b4cf419a9fc: toasterconf.json: Update for krogoth release (2016-04-18 16:49:28 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib dengke/fix-bash-ptest-run-builtins