Re: [OE-core] [PATCH 3/4] initscripts: support persistent /var/log

2016-12-12 Thread ChenQi
On 12/12/2016 04:05 PM, Patrick Ohly wrote: On Tue, 2016-11-22 at 18:10 +0800, Chen Qi wrote: ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core + if [ "${VOLATILE_LOG_DIR}" = "log" ]; then + echo "l root root 0755 /var/log /var/volatile/log" >> ${D}${sy

[OE-core] [PATCH] wpa-supplicant: 2.5 -> 2.6

2016-12-12 Thread Zheng Ruoqin
1)Upgrade wpa-supplicant from 2.5 to 2.6. 2)Delete 5 patches below, since they are integrated upstream. 0001-Reject-psk-parameter-set-with-invalid-passphrase-cha.patch 0001-WPS-Reject-a-Credential-with-invalid-passphrase.patch 0002-Reject-SET_CRED-commands-with-newline-characters-in-.patch

[OE-core] [PATCH 08/14] recipetool: add OE lib path

2016-12-12 Thread Paul Eggleton
The autotools code imports oe.package; we weren't experiencing a problem with this probably due to OE itself adding that path previously. Signed-off-by: Paul Eggleton --- scripts/recipetool | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/recipetool b/scripts/recipetool index 1052cd2.

[OE-core] [PATCH 13/14] oe-selftest: devtool: improve test_devtool_modify slightly

2016-12-12 Thread Paul Eggleton
* Check that man .in file actually gets modified, since sed -i doesn't fail if it it doesn't * Use a variable for man file path Signed-off-by: Paul Eggleton --- meta/lib/oeqa/selftest/devtool.py | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/

[OE-core] [PATCH 12/14] devtool: prevent BBHandledException from showing traceback

2016-12-12 Thread Paul Eggleton
If we don't catch this then attempting to run devtool in non-memres mode when bitbake is already running will produce a traceback instead of just an error message. Signed-off-by: Paul Eggleton --- scripts/devtool | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scr

[OE-core] [PATCH 14/14] oe-selftest: add basic tinfoil tests

2016-12-12 Thread Paul Eggleton
Add some tests to verify that the new tinfoil API is operating correctly. Signed-off-by: Paul Eggleton --- meta/lib/oeqa/selftest/tinfoil.py | 146 ++ 1 file changed, 146 insertions(+) create mode 100644 meta/lib/oeqa/selftest/tinfoil.py diff --git a/meta/li

[OE-core] [PATCH 06/14] classes/patch: move in logic to commit for additional tasks

2016-12-12 Thread Paul Eggleton
If PATCHTOOL is "git", and PATCH_COMMIT_FUNCTIONS is set to "1", for additional tasks between do_unpack and do_patch, make a git commit. This logic was previously implemented in devtool itself, but it makes more sense for it to be implemented in the patch class since that's where the rest of the lo

[OE-core] [PATCH 11/14] devtool: extract: disable basehash mismatch errors

2016-12-12 Thread Paul Eggleton
Using the setVariable commands here followed by buildFile will result in "basehash mismatch" errors, and that's expected since we are deviating *at runtime* from what was previously seen by changing these variable values. Set BB_HASH_IGNORE_MISMATCH to turn off the errors. Signed-off-by: Paul Eggl

[OE-core] [PATCH 10/14] lib/oe/recipeutils: drop parse_recipe_simple()

2016-12-12 Thread Paul Eggleton
This was intended to be used with tinfoil, but tinfoil now has its own parse_recipe() method to do this which works properly in the memres case. Signed-off-by: Paul Eggleton --- meta/lib/oe/recipeutils.py | 22 -- 1 file changed, 22 deletions(-) diff --git a/meta/lib/oe/reci

[OE-core] [PATCH 04/14] devtool / recipetool: use tinfoil parsing API

2016-12-12 Thread Paul Eggleton
Use Tinfoil.parse_recipe_file() and Tinfoil.parse_recipe() instead of the recipeutils equivalents, and replace any local duplicate implementations. This not only tidies up the code but also allows these calls to work in memres mode. Signed-off-by: Paul Eggleton --- scripts/lib/devtool/__init__.p

[OE-core] [PATCH 05/14] classes/base: fix license file checksumming when source not under TMPDIR

2016-12-12 Thread Paul Eggleton
With the changes to the code for extracting source for a recipe, we are properly executing the tasks for a recipe, which means their stamps (and therefore signatures) are important. When running devtool extract on the lsof recipe I noticed that do_fetch and do_unpack were executing a second time wh

[OE-core] [PATCH 09/14] devtool: fix extraction of source to work in memres mode

2016-12-12 Thread Paul Eggleton
Extracting the source for a recipe (as used by devtool's extract, modify and upgrade subcommands) requires us to run do_fetch, do_unpack, do_patch and any tasks that the recipe has inserted inbetween, and do so with a modified datastore primarily so that we can redirect WORKDIR and STAMPS_DIR in or

[OE-core] [PATCH 07/14] classes/patch: move several functions to oe.patch

2016-12-12 Thread Paul Eggleton
Move patch_path(), src_patches() and should_apply() to oe.patch, making them easier to call from elsewhere (particularly across the UI/server boundary). Signed-off-by: Paul Eggleton --- meta/classes/patch.bbclass | 105 ++-- meta/lib/oe/patch.py | 10

[OE-core] [PATCH 03/14] oe-selftest: use tinfoil.parse_recipe()

2016-12-12 Thread Paul Eggleton
Use tinfoil.parse_recipe() in order to allow oe-selftest to be used in memres mode. Signed-off-by: Paul Eggleton --- meta/lib/oeqa/utils/commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/lib/oeqa/utils/commands.py b/meta/lib/oeqa/utils/commands.py index 47cb

[OE-core] [PATCH 01/14] lib/oe/recipeutils: use cooker function instead of bb.providers

2016-12-12 Thread Paul Eggleton
We now have a function in cooker itself that can do this lookup; additionally, the rewritten tinfoil's cooker adapter has its own implementation that can work remotely, so if we use it then this function can work in that scenario as well. Signed-off-by: Paul Eggleton --- meta/lib/oe/recipeutils.

[OE-core] [PATCH 00/14] Tinfoil rework - OE-Core changes

2016-12-12 Thread Paul Eggleton
Tinfoil is an API that allows you to write simple utilities that call into BitBake code to read variables, parse recipes, etc. (as used by various scripts in BitBake & OE, including bitbake-layers, devtool, etc.) This patchset reworks tinfoil in order to address several limitations of the current i

[OE-core] [PATCH 02/14] oe-selftest: make tinfoil quiet when using to start QEMU

2016-12-12 Thread Paul Eggleton
We don't need to see the parsing/cache loading message in the oe-selftest output, so use the newly added quiet option to disable it. Signed-off-by: Paul Eggleton --- meta/lib/oeqa/utils/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/utils/commands.p

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-12 Thread Robert Yang
On 12/13/2016 02:29 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 13:56:05 Robert Yang wrote: Hi Paul, Thanks for reply, please see my comments inline. On 12/13/2016 12:45 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote: Fixed: MACHINE = "qemux86-64" require conf/mul

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-12 Thread Robert Yang
On 12/13/2016 02:33 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 14:01:08 Robert Yang wrote: On 12/13/2016 12:48 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: The contents are helpful to debug when the error happens. In this case removing this is OK because we're

[OE-core] [PATCH] libxi: 1.7.7 -> 1.7.8

2016-12-12 Thread Huang Qiyu
Upgrade libxi from 1.7.7 to 1.7.8. Signed-off-by: Huang Qiyu --- meta/recipes-graphics/xorg-lib/{libxi_1.7.7.bb => libxi_1.7.8.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxi_1.7.7.bb => libxi_1.7.8.bb} (81%) diff --git a/meta/recipes-

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-12 Thread Paul Eggleton
On Tue, 13 Dec 2016 14:01:08 Robert Yang wrote: > On 12/13/2016 12:48 PM, Paul Eggleton wrote: > > On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: > >> The contents are helpful to debug when the error happens. > > > > In this case removing this is OK because we're operating on an eSDK that > > the

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-12 Thread Paul Eggleton
On Tue, 13 Dec 2016 13:56:05 Robert Yang wrote: > Hi Paul, > > Thanks for reply, please see my comments inline. > > On 12/13/2016 12:45 PM, Paul Eggleton wrote: > > On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote: > >> Fixed: > >> MACHINE = "qemux86-64" > >> require conf/multilib.conf > >> MULTILI

Re: [OE-core] [PATCH 4/8] oe-publish-sdk: add pyshtables.py to .gitignore

2016-12-12 Thread Robert Yang
On 12/13/2016 12:59 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:33 Robert Yang wrote: Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal -cpopulate_sdk_ext [snip] ERROR: Failed

Re: [OE-core] [PATCH 1/8] populate_sdk_ext.bbclass: install multilib targets as populate_sdk does

2016-12-12 Thread Robert Yang
On 12/13/2016 12:55 PM, Paul Eggleton wrote: Hi Robert, There are a bunch of changes in here that don't relate to the multilib fix - details below. Thanks, I will split them into two commits. On Wed, 16 Nov 2016 22:19:30 Robert Yang wrote: Fixed: MACHINE = "qemux86-64" require conf/multi

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-12 Thread Robert Yang
On 12/13/2016 12:48 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: The contents are helpful to debug when the error happens. In this case removing this is OK because we're operating on an eSDK that the tests install. However, this wouldn't be appropriate for the dev

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-12 Thread Robert Yang
Hi Paul, Thanks for reply, please see my comments inline. On 12/13/2016 12:45 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote: Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake c

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-12 Thread Huang, Jie (Jackie)
> -Original Message- > From: Andre McCurdy [mailto:armccu...@gmail.com] > Sent: Monday, December 12, 2016 5:55 PM > To: Huang, Jie (Jackie) > Cc: Khem Raj; Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using > -O2

Re: [OE-core] [PATCH 4/8] oe-publish-sdk: add pyshtables.py to .gitignore

2016-12-12 Thread Paul Eggleton
On Wed, 16 Nov 2016 22:19:33 Robert Yang wrote: > Fixed: > MACHINE = "qemux86-64" > require conf/multilib.conf > MULTILIBS = "multilib:lib32" > DEFAULTTUNE_virtclass-multilib-lib32 = "x86" > > $ bitbake core-image-minimal -cpopulate_sdk_ext > [snip] > ERROR: Failed to update metadata as there have

Re: [OE-core] [PATCH 1/8] populate_sdk_ext.bbclass: install multilib targets as populate_sdk does

2016-12-12 Thread Paul Eggleton
Hi Robert, There are a bunch of changes in here that don't relate to the multilib fix - details below. On Wed, 16 Nov 2016 22:19:30 Robert Yang wrote: > Fixed: > MACHINE = "qemux86-64" > require conf/multilib.conf > MULTILIBS = "multilib:lib32" > DEFAULTTUNE_virtclass-multilib-lib32 = "x86" > >

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-12 Thread Paul Eggleton
On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: > The contents are helpful to debug when the error happens. In this case removing this is OK because we're operating on an eSDK that the tests install. However, this wouldn't be appropriate for the devtool oe- selftest tests since they are operating

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-12 Thread Paul Eggleton
On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote: > Fixed: > MACHINE = "qemux86-64" > require conf/multilib.conf > MULTILIBS = "multilib:lib32" > DEFAULTTUNE_virtclass-multilib-lib32 = "x86" > > $ bitbake core-image-minimal -cpopulate_sdk_ext > [snip] > ERROR: Source tree path > /path/to/tmp/work/qe

[OE-core] [PATCH] util-linux: 2.28.1 -> 2.29

2016-12-12 Thread Zheng Ruoqin
Upgrade util-linux from 2.28.1 to 2.29 Signed-off-by: Zheng Ruoqin --- .../util-linux/{util-linux_2.28.1.bb => util-linux_2.29.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-core/util-linux/{util-linux_2.28.1.bb => util-linux_2.29.bb} (84%) diff --

Re: [OE-core] [PATCH 0/8] Fixes for eSDK and testsdkext

2016-12-12 Thread Robert Yang
Ping, any comments on this thread, please ? // Robert On 11/17/2016 02:19 PM, Robert Yang wrote: The following changes since commit a675b2c89e477af088faee9b3be96eae19a85f0b: sanity.bbclass: fix logging of an error (2016-11-15 15:18:50 +) are available in the git repository at: git://

[OE-core] [PATCH 2/2] classes/image: suppress log_check mechanism for warnings/errors logged through BitBake

2016-12-12 Thread Paul Eggleton
If you printed a warning through bb.warn() / bbwarn or an error through bb.error() / bberror, this was also being picked up by our log_check mechanism that was designed to pick up warnings and errors printed by other programs used during do_rootfs. This meant you saw not only the warning or error i

[OE-core] [PATCH 1/2] lib/oe/rootfs: fix log_check warnings being printed twice with RPM packaging

2016-12-12 Thread Paul Eggleton
We were calling _log_check() in the RPM-specific rootfs class as well as in the base class; this is unnecessary and resulted in any errors/warnings generated during the actual package installation time triggering two warnings instead of one. Drop the call from RpmRootfs._create() to fix this. Sign

[OE-core] [PATCH 0/2] Fix log_check warnings for bb* logging functions

2016-12-12 Thread Paul Eggleton
This patchset requires the patch I just sent to the bitbake-devel mailing list ("lib/bb/build: enable access to logger within tasks"). The following changes since commit d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf: targetloader.py: drop test for ClassType (2016-12-12 15:16:39 +) are availabl

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-12 Thread Burton, Ross
On 12 December 2016 at 20:51, Mark Asselstine wrote: > I think the discussion I pointed to in the commit log closes the door on > any > such change. Specific the comment from Lennart -- > https://github.com/systemd/systemd/issues/3810#issuecomment-235290526 > > They don't want the library to be f

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-12 Thread Mark Asselstine
On Monday, December 12, 2016 11:59:04 AM EST Khem Raj wrote: > > On Dec 12, 2016, at 11:36 AM, Mark Asselstine > > wrote: > > > > When building systemd with multilib support enabled in your build you > > will get the following QA warnings (if the 'libdir' QA check is > > enabled.) > > > > WARNIN

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-12 Thread Burton, Ross
On 12 December 2016 at 19:59, Khem Raj wrote: > Can we check if systemd can be a bit more flexible and accept it to go > into multilib libdir ? > this patch can be then applied if its not acceptable to systemd community. > Agreed, whilst I get that systemd really wants to use /lib as "libexec in

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-12 Thread Khem Raj
> On Dec 12, 2016, at 11:36 AM, Mark Asselstine > wrote: > > When building systemd with multilib support enabled in your build you > will get the following QA warnings (if the 'libdir' QA check is > enabled.) > > WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \ > library

[OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-12 Thread Mark Asselstine
When building systemd with multilib support enabled in your build you will get the following QA warnings (if the 'libdir' QA check is enabled.) WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \ library in wrong location: /lib/systemd/.debug/libsystemd-shared-232.so systemd:

Re: [OE-core] [PATCH 1/2] go: Add recipes for golang compilers and tools

2016-12-12 Thread Khem Raj
> On Dec 12, 2016, at 4:36 AM, Gary Thomas wrote: > > Looking at these recipes and they seem like a good starting point. > I did have some issues though: > > * bitbake go - didn't create any target installable packages, although the > .../image directory seemed to be well populated. Yeah most

Re: [OE-core] [PATCH] fontconfig: Fix namespace conflicts with glibc

2016-12-12 Thread Khem Raj
> On Dec 12, 2016, at 4:45 AM, Burton, Ross wrote: > > Has fallout, for example libxft: > > | ../../libXft-2.3.2/src/xftfreetype.c:675:43: error: ‘FC_CHAR_WIDTH’ > undeclared (first use in this function) > OK, I wasn’t aware this is exported API, I will tweak the patch accordingly. > Ross >

[OE-core] [PATCH] oe-pkgdata-util: Make read-value handle override variables

2016-12-12 Thread Ola x Nilsson
Some variables in pkgdata files have a package-name override. When the bare variable can not be found, try with the override-variant. PKGSIZE is one such variable, and already had special code to handle this. Test included. Signed-off-by: Ola x Nilsson --- meta/lib/oeqa/selftest/pkgdata.py |

[OE-core] [PATCH v5] classes: Fix alternatives and rc.d ordering

2016-12-12 Thread David Vincent
When using an alternative as an initscript, the ordering between update-rc.d and update-alternatives tasks during prerm and postinst tasks must always be the following in order to work: * prerm: - stop daemon - remove alternative * postinst: - add alternative - start daemon Th

[OE-core] Yocto Project Status WW51

2016-12-12 Thread Saul Wold
Current Dev Position: YP 2.3 M1 -> M2 Next Deadline: YP 2.3 M1 by Dec. 12, 2016 (TODAY!!) YP 2.3 M2 by Jan 23, 2017 SWAT team rotation: Tracy -> Alejandro https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: * Today is the M1 feature free

[OE-core] [PATCH v4] rootfs: Modify RPM installation

2016-12-12 Thread David Vincent
When using a custom RPM data directory instead of the default dir '/var/lib/rpm', the final image did not contain any of the database files in the expected location. This commit takes into account the 'rpmlibdir' variable set into 'rootfs_rpm.bbclass'. Signed-off-by: David Vincent --- meta/lib/o

[OE-core] [PATCH] busybox: allow libiproute to handle table ids larger than 255

2016-12-12 Thread André Draszik
From: Lukasz Nowak These changes are required for compatibility with ConnMan, which by default uses table ids greater than 255. Signed-off-by: Lukasz Nowak --- ...biproute-handle-table-ids-larger-than-255.patch | 132 + meta/recipes-core/busybox/busybox_1.24.1.bb|

Re: [OE-core] [PATCH] module.bbclass: allow to override location of Module.symvers

2016-12-12 Thread André Draszik
ping On Mon, 2016-11-21 at 09:37 +, André Draszik wrote: > From: André Draszik > > Requiring all build systems for external kernel modules to > place Module.symvers directly into ${B}/. is quite an > artificial assumption/requirement. It doesn't have to end > up there, but could easily end u

[OE-core] [PATCH 2/2] harfbuzz: upgrade to 1.3.4

2016-12-12 Thread Maxin B. John
1.3.3 -> 1.3.4 Signed-off-by: Maxin B. John --- .../harfbuzz/{harfbuzz_1.3.3.bb => harfbuzz_1.3.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/harfbuzz/{harfbuzz_1.3.3.bb => harfbuzz_1.3.4.bb} (88%) diff --git a/meta/recipes-graphi

[OE-core] [PATCH 1/2] libunistring: Update version 0.9.6 -> 0.9.7

2016-12-12 Thread Maxin B. John
The license has changed from LGPLv3+ to "LGPLv3+ or GPLv2" * README (Copyright): Rewrite section * doc/libunistring.texi (Licenses): Change accordingly Signed-off-by: Maxin B. John --- .../{libunistring_0.9.6.bb => libunistring_0.9.7.bb} | 12 +++- 1 file changed,

Re: [OE-core] [PATCH] edgerouter.conf: enable generation of wic.bmap

2016-12-12 Thread Christopher Larson
On Mon, Dec 12, 2016 at 3:58 AM, Ed Bartosh wrote: > On Sat, Dec 10, 2016 at 11:40:38AM -0700, Christopher Larson wrote: > > On Fri, Dec 9, 2016 at 10:46 AM, Ed Bartosh > > wrote: > > > > > Enabled generation of block map(bmap) files for wic images > > > built for edgerouter machine. This should

Re: [OE-core] [PATCH 1/3] libxml2: Necessary changes before fixing CVE-2016-5131 Fix comaparation with root node in xmlXPathCmpNodes and NULL pointer deref in XPointer

2016-12-12 Thread Burton, Ross
On 12 December 2016 at 13:53, Valek, Andrej wrote: > I think, there was a web-page delay. Patch 3/3 is already there: > http://lists.openembedded.org/pipermail/openembedded-core/ > 2016-December/130046.html > > Yeah, obviously posting about it meant it arrived. :) Ross -- __

Re: [OE-core] [PATCH 1/3] libxml2: Necessary changes before fixing CVE-2016-5131 Fix comaparation with root node in xmlXPathCmpNodes and NULL pointer deref in XPointer

2016-12-12 Thread Valek, Andrej
Hi Ross, I think, there was a web-page delay. Patch 3/3 is already there: http://lists.openembedded.org/pipermail/openembedded-core/2016-December/130046.html Andrej From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: 12. decembra 2016 14:44 To: Valek, Andrej (CT DD DS EU SK BT) Cc: OE-core

[OE-core] [PATCH] sstatesig: don't squash dependencies of useradd packages

2016-12-12 Thread Maxin B. John
Without this change, sstate dependency filter squashes dependencies of packages which inherits useradd class. That causes failures while rebuilding it for another MACHINE. Fixes [YOCTO #8078] Signed-off-by: Maxin B. John --- meta/lib/oe/sstatesig.py | 7 +++ 1 file changed, 7 insertions(+)

[OE-core] [PATCH 3/3] libxml2: Fix more NULL pointer derefs

2016-12-12 Thread Andrej Valek
The NULL pointer dereferencing could produced some security problems. This is a preventive security fix. Signed-off-by: Andrej Valek Signed-off-by: Pascal Bach --- .../libxml2/libxml2-fix_NULL_pointer_derefs.patch | 46 ++ meta/recipes-core/libxml/libxml2_2.9.4.bb

Re: [OE-core] [PATCH 1/3] libxml2: Necessary changes before fixing CVE-2016-5131 Fix comaparation with root node in xmlXPathCmpNodes and NULL pointer deref in XPointer

2016-12-12 Thread Burton, Ross
I see part 1 and 2 but no part 3. Also, have you asked upstream if they'll be making a point release with these in? Ross On 12 December 2016 at 13:20, Andrej Valek wrote: > xpath: > - Check for errors after evaluating first operand. > - Add sanity check for empty stack. > - Include comparat

[OE-core] [PATCH 3/3] piglit: Upgrade to current master head

2016-12-12 Thread Jussi Kukkonen
Remove upstreamed patches. Signed-off-by: Jussi Kukkonen --- .../0001-cmake-Link-test-utils-with-ldl.patch | 41 ...0001-cmake-Link-utils-with-xcb-explicitly.patch | 54 -- meta/recipes-graphics/piglit/piglit_git.bb | 6 +-- 3 files changed, 2 i

[OE-core] [PATCH 1/3] piglit: Package tests in compressed form as well

2016-12-12 Thread Jussi Kukkonen
Modify packaging so that generated tests are available in two forms: * piglit-generated-tests contains the tests as they are now (1.5GB when installed) * piglit-generated-tests-compressed contains a tar.gz with the same files (45 MB when installed) Add wrapper script that decompresses the test

[OE-core] [PATCH 2/3] core-tools-testapps: Re-add piglit

2016-12-12 Thread Jussi Kukkonen
Piglit was removed from testapps in 9e227ecb3a because it made sdk images massive. Add piglit back now that the installed size is no longer humongous: it still needs 1.5 GB free space at runtime but the image sizes stay reasonable. Signed-off-by: Jussi Kukkonen --- meta/recipes-core/packagegroup

[OE-core] [PATCH 0/3] Upgrade piglit, compress generated tests

2016-12-12 Thread Jussi Kukkonen
These patches were already on the list in another patchset, the only change is that piglit-generated-tests now RDEPENDS on tar. Original cover letter follows: Piglit was removed because the current version was making sdk images too large. This patchset reduces the installed size by 1.5GB and add

[OE-core] [PATCH 2/3] libxml2: fix CVE-2016-4658 Disallow namespace nodes in XPointer points and ranges

2016-12-12 Thread Andrej Valek
Namespace nodes must be copied to avoid use-after-free errors. But they don't necessarily have a physical representation in a document, so simply disallow them in XPointer ranges. Signed-off-by: Andrej Valek Signed-off-by: Pascal Bach --- .../libxml/libxml2/libxml2-CVE-2016-4658.patch | 269

[OE-core] [PATCH 1/3] libxml2: Necessary changes before fixing CVE-2016-5131 Fix comaparation with root node in xmlXPathCmpNodes and NULL pointer deref in XPointer

2016-12-12 Thread Andrej Valek
xpath: - Check for errors after evaluating first operand. - Add sanity check for empty stack. - Include comparation in changes from xmlXPathCmpNodesExt to xmlXPathCmpNodes Signed-off-by: Andrej Valek Signed-off-by: Pascal Bach --- .../libxml2/libxml2-fix_node_comparison.patch | 67 +

Re: [OE-core] [PATCH] libpcap: Disable exposed bits of WinPCAP remote capture support

2016-12-12 Thread Burton, Ross
On 12 December 2016 at 06:55, Lei, Maohui wrote: > I met the same issue when I build wireshark comes from meta-oe. > Why this patch hasn't been merged yet? > I had the wrong tag on it locally so it didn't get merged. In staging now. Ross -- ___ Open

[OE-core] [PATCH] curl: add ptest

2016-12-12 Thread Maxin B. John
Add ptest support to curl [YOCTO #6707] Signed-off-by: Cristian Iorga Signed-off-by: Maxin B. John --- .../curl/0001-runtests.pl-remove-warning.patch | 31 ++ meta/recipes-support/curl/curl/run-ptest | 5 meta/recipes-support/curl/curl_7.51.0.bb

Re: [OE-core] [PATCH] fontconfig: Fix namespace conflicts with glibc

2016-12-12 Thread Burton, Ross
Has fallout, for example libxft: | ../../libXft-2.3.2/src/xftfreetype.c:675:43: error: ‘FC_CHAR_WIDTH’ undeclared (first use in this function) Ross On 11 December 2016 at 23:07, Khem Raj wrote: > glibc 2.25 will come with TS 18661-1 macro definitions in limits.h which > ends with following err

Re: [OE-core] [PATCH 1/2] go: Add recipes for golang compilers and tools

2016-12-12 Thread Gary Thomas
On 2016-11-10 01:39, Khem Raj wrote: This is converging the recipes for go from meta-virtualization and oe-meta-go Add recipes for go 1.7 go.bbclass is added to ease out writing recipes for go packages Signed-off-by: Khem Raj --- meta/classes/go.bbclass| 74 +

Re: [OE-core] [PATCH] edgerouter.conf: enable generation of wic.bmap

2016-12-12 Thread Ed Bartosh
On Sat, Dec 10, 2016 at 11:40:38AM -0700, Christopher Larson wrote: > On Fri, Dec 9, 2016 at 10:46 AM, Ed Bartosh > wrote: > > > Enabled generation of block map(bmap) files for wic images > > built for edgerouter machine. This should simplify flashing > > images with bmaptool. > > > > [YOCTO #106

[OE-core] [PATCH 03/12] xf86-input-evdev: Upgrade 2.10.3 -> 2.10.4

2016-12-12 Thread Jussi Kukkonen
Tiny update to XINPUT ABI 24. Signed-off-by: Jussi Kukkonen --- .../{xf86-input-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.3.bb => xf86-input-evdev_2.10.4.bb} (8

[OE-core] [PATCH 04/12] xf86-input-keyboard: Upgrade 1.8.1 -> 1.9.0

2016-12-12 Thread Jussi Kukkonen
Small update with ABI 23 support. Signed-off-by: Jussi Kukkonen --- .../{xf86-input-keyboard_1.8.1.bb => xf86-input-keyboard_1.9.0.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-keyboard_1.8.1.bb => xf86-input-keyboard_1.9.

[OE-core] [PATCH 01/12] libxfont2: Add recipe

2016-12-12 Thread Jussi Kukkonen
This is the same old libxfont but with a new API. xserver-xorg 1.19 depends on libxfont2. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/xorg-lib/libxfont2_2.0.1.bb | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 meta/recipes-graphics/xorg-lib/libxfont2

[OE-core] [PATCH 10/12] xf86-video-omap: Upgrade 0.4.4 -> 0.4.5

2016-12-12 Thread Jussi Kukkonen
Support ABI 23. Signed-off-by: Jussi Kukkonen --- .../{xf86-video-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb}| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-video-omap_0.4.4.bb => xf86-video-omap_0.4.5.bb} (89%) diff --git a/

[OE-core] [PATCH 12/12] xf86-input-libinput: Upgrade 0.22 -> 0.23

2016-12-12 Thread Jussi Kukkonen
Bug fixes + libinput now supports tablets (but wacom driver is used instead if it is installed). Signed-off-by: Jussi Kukkonen --- .../{xf86-input-libinput_0.22.0.bb => xf86-input-libinput_0.23.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-dr

[OE-core] [PATCH 11/12] xf86-video-vmware: Upgrade 13.1.0 -> 13.2.1

2016-12-12 Thread Jussi Kukkonen
Bug fixes, ABI 23 support. Rebase the add-option-for-vmwgfx patch. Signed-off-by: Jussi Kukkonen --- .../0002-add-option-for-vmwgfx.patch | 37 -- ...mware_13.1.0.bb => xf86-video-vmware_13.2.1.bb} | 4 +-- 2 files changed, 23 insertions(+), 18 deletions(-) re

[OE-core] [PATCH 07/12] xf86-input-mouse: Remove git recipe

2016-12-12 Thread Jussi Kukkonen
Last used revision is from 8 years ago. Signed-off-by: Jussi Kukkonen --- .../xorg-driver/xf86-input-mouse_git.bb| 18 -- 1 file changed, 18 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb diff --git a/meta/recipes-graph

[OE-core] [PATCH 08/12] xf86-input-synaptics: Upgrade 1.8.3 -> 1.9.0

2016-12-12 Thread Jussi Kukkonen
Bug fixes, new hw support, support for XINPUT ABI 23. Signed-off-by: Jussi Kukkonen --- .../{xf86-input-synaptics_1.8.3.bb => xf86-input-synaptics_1.9.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-synaptics_1.8.3.bb => xf8

[OE-core] [PATCH 09/12] xf86-input-synaptics: Remove git recipe

2016-12-12 Thread Jussi Kukkonen
Last source revision is from 8 years ago. Signed-off-by: Jussi Kukkonen --- .../xorg-driver/xf86-input-synaptics_git.bb| 18 -- 1 file changed, 18 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb diff --git a/meta/recipe

[OE-core] [PATCH 06/12] xf86-input-mouse: Upgrade 1.9.1 -> 1.9.2

2016-12-12 Thread Jussi Kukkonen
Tiny update with ABI 23/24 support. Signed-off-by: Jussi Kukkonen --- .../{xf86-input-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-mouse_1.9.1.bb => xf86-input-mouse_1.9.2.bb

[OE-core] [PATCH 05/12] xf86-input-keyboard: Remove git recipe

2016-12-12 Thread Jussi Kukkonen
Last used revision was from 8 years ago. Signed-off-by: Jussi Kukkonen --- .../xorg-driver/xf86-input-keyboard_git.bb | 16 1 file changed, 16 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb diff --git a/meta/recipes-g

[OE-core] [PATCH 00/12] Xorg 1.19 and related driver updates

2016-12-12 Thread Jussi Kukkonen
Fairly large xorg release (it's been more than a year since 1.18), with input and video ABI breaks. xfont2 is what xfont is now called: it's got a new API and it is parallel installable with the old one. Almost all of the driver updates are required because of the ABI changes. I've removed some g

[OE-core] [PATCH 02/12] xserver-xorg: Upgrade 1.18.4 -> 1.19.0

2016-12-12 Thread Jussi Kukkonen
* xserver depends on xfont2 now. * xwayland support requires wayland-scanner: Add patch to find wayland-scanner and protocol files while cross-compiling. * patch MONOTONIC_CLOCK check so it works when cross-compiling (otherwise we always end with no monotonic clock and xwayland compile fails)

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-12 Thread Andre McCurdy
On Sun, Dec 11, 2016 at 11:41 PM, Huang, Jie (Jackie) wrote: >> -Original Message- >> From: Khem Raj [mailto:raj.k...@gmail.com] >> Sent: Monday, December 12, 2016 2:37 PM >> To: Huang, Jie (Jackie) >> Cc: Patches and discussions about the oe-core layer >> Subject: Re: [OE-core] [PATCH] gl

Re: [OE-core] [PATCH 3/4] initscripts: support persistent /var/log

2016-12-12 Thread Patrick Ohly
On Tue, 2016-11-22 at 18:10 +0800, Chen Qi wrote: > ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/00_core > + if [ "${VOLATILE_LOG_DIR}" = "log" ]; then > + echo "l root root 0755 /var/log /var/volatile/log" >> > ${D}${sysconfdir}/default/volatiles/00_core > +

Re: [OE-core] [PATCH 2/4] base-files: respect VOLATILE_LOG_DIR

2016-12-12 Thread Patrick Ohly
On Tue, 2016-11-22 at 18:10 +0800, Chen Qi wrote: > - ${localstatedir}/volatile/log \ > + ${localstatedir}/${@['', > 'volatile/'][d.getVar('VOLATILE_LOG_DIR', True) == 'yes']}log \ I find the "if/else" expression easier to read, there's no need for an explicit d.getVar(), and t