Re: [OE-core] [PATCH] scripts/runqemu-internal: Work around qemux86 PAT bugs in linux 4.4.1

2016-02-13 Thread Richard Purdie
On Fri, 2016-02-12 at 17:04 -0500, Bruce Ashfield wrote: > On 2016-02-12 1:00 PM, Richard Purdie wrote: > > Since the upgrade of qemux86 to 4.4.1 we're seeing PAT issues when > > starting the X server. We need to fix the problem but the failing > > sanity tests mask out other issues and we need a w

Re: [OE-core] [PATCH 0/9] Upgrade uclibc/musl to latest

2016-02-13 Thread Richard Purdie
On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: > ltp upgrade is prerequisite for glibc 2.23 > patches to fix more musl recipes > distutils patch to let pythonic recipes work with devtool FWIW I tried running the nightly-musl target on the autobuilder. The intent is to start running this automa

Re: [OE-core] [PATCH] os-release: remove double-quotes around VERSION_ID value

2016-02-13 Thread Maciej Borzecki
> Dnia 12 luty 2016 o 22:49 Joshua G Lock > napisał(a): > > > On Fri, 2016-02-12 at 18:14 +0100, Maciej Borzecki wrote: > > > Dnia 12 luty 2016 o 13:15 Dmitry Rozhkov > > > napisał(a): > > > > > > This becomes crucial when ClearLinux's software > > > update mechanism is integrated into builds, b

[OE-core] [wic][PATCH v3 01/14] runqemu: add support for wic images

2016-02-13 Thread Ed Bartosh
Quemu should be able to run wic images this way: runqemu wic Tested with 'runqemu qemux86-64 wic-image-minimal wic' (From OE-Core rev: 8716be799949cb8bde7fa49cbea61312a3a93bb7) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/runqemu | 3 ++- scripts/runqemu

[OE-core] [wic][PATCH v3 00/14] Support for wic images in runqemu and oe-selftest

2016-02-13 Thread Ed Bartosh
Hi, This patchset contains set of fixes for wic, runqemu and oe-selftest to support booting and testing wic images in qemu. This work is based on Cristian's work from poky-contrib:ciorga/wic-testing Thank you Cristian! The patchset also includes bugfix for wic --use-uuid option and a bit of code

[OE-core] [wic][PATCH v3 02/14] runqemu: don't set KERNEL for wic images

2016-02-13 Thread Ed Bartosh
Wic images should be boot as is, without pointing qemu to the kernel binary. Current code doesn't use kernel, but sets KERNEL variable and shows kernel path in the console output. This can confuse users. Changed runqemu and runqemu-internal code to avoid setting KERNEL variable and show kernel pat

[OE-core] [wic][PATCH v3 04/14] oe-selftest: remove unused parameter

2016-02-13 Thread Ed Bartosh
From: Ed Bartosh Removed unused parameter 'test' from runqemu function. (From OE-Core rev: c688b3bcbb57099fa72a9728bc708b109802f7fc) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/devtool.py | 2 +- meta/lib/oeqa/selftest/imagefeatures.py | 6 +++---

[OE-core] [wic][PATCH v3 11/14] wic: fix processing of --use-uuid

2016-02-13 Thread Ed Bartosh
Processing of this option was lost during recent change of wks parsting. It was discovered during the work on booting wic images under qemu. Now, when -use-uuid is fixed it's possible to specify root partition by partition uuid. This will be done in the following commit. (From OE-Core rev: b4882e0

[OE-core] [wic][PATCH v3 07/14] oeqa/targetcontrol: support wic image type

2016-02-13 Thread Ed Bartosh
Added 'wic' to the list image types supported by targetcontrol. This is a preparation for booting and testing wic images with oe-selftest. [YOCTO #8498] (From OE-Core rev: 7dda053fbd1ea1354b7720cfa691470ba88ef5b9) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/lib/oeqa/targ

[OE-core] [wic][PATCH v3 10/14] oe-selftest: add new wic testcase

2016-02-13 Thread Ed Bartosh
Added test_qemu testcase to boot wic-image-minimal and test that 2 partitions mentioned in .wks are mounted. [YOCTO #8499] (From OE-Core rev: 6fb015d0847fe7d259d654d4a99bf4c328f810ab) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/wic.py | 12 +++-

[OE-core] [wic][PATCH v3 09/14] wic-image-minimal: update .wks to boot by qemu

2016-02-13 Thread Ed Bartosh
With below list of changes wic-image-minimal can be boot by qemu: - Changed device name sda -> vda. - Added root=/dev/vda2 to the kernel command line. - Changed mount point for core partition to /mnt to have it mounted on boot time. (From OE-Core rev: f085274711f561f97a2c89f40bb0

[OE-core] [wic][PATCH v3 06/14] oeqa/targetcontrol: make ssh control optional

2016-02-13 Thread Ed Bartosh
Added new parameter 'ssh' to targetcontrol 'start' method to be able to test images without running ssh server. [YOCTO #8498] (From OE-Core rev: 1c3c66aadd43092bc19242b0651ee810cc31fe7c) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- meta/lib/oeqa/targetcontrol.py | 18 +

[OE-core] [wic][PATCH v3 03/14] runqemu: support path/to/-.wic

2016-02-13 Thread Ed Bartosh
Supported providing wic image path to runqemu: runquemu path/to/-.wic [YOCTO #8691] (From OE-Core rev: 58a3bfb1e4b493200820cdf0bf3fc79e31e792de) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/runqemu | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

[OE-core] [wic][PATCH v3 05/14] qemurunner: add parameter to method 'start'

2016-02-13 Thread Ed Bartosh
QemuRunner requires pair of ip addresses provided through kernel commandline for method 'start' to work. These ip addresses are used to connect to the image using ssh and run tests there. However, this functionality should not be mandatory as testing doesn't always require ssh connection. Some test

[OE-core] [wic][PATCH v3 13/14] oe-selftest: pylinted wic tests

2016-02-13 Thread Ed Bartosh
Fixed the following pylint warnings: C: 45, 0: Line too long (91/80) (line-too-long) C:105, 0: Wrong continued indentation. ignore_status=True).status) ^ | (bad-continuation) W: 83, 8: Redefining built-in 'vars' (redefined-builti

[OE-core] [wic][PATCH v3 14/14] oe-selftest: don't use specific tasks

2016-02-13 Thread Ed Bartosh
Image should be build usual way, i.e. using bitbake . Specifying do_mage_complete and do_rootfs_wicenv tasks should not be needed anymore as those tasks should be run by bitbake for every image. Removed specifying do_mage_complete and do_rootfs_wicenv tasks from bitbake calls. (From OE-Core rev:

[OE-core] [wic][PATCH v3 12/14] wic-image-minimal: use uuid for root partition

2016-02-13 Thread Ed Bartosh
Used --uuid option to generate PARTUUID for root partion and gpt partition type. As this image is used in runtime testing under qemu it makes sense to ensure that this way of specifying root partition works. Added dependency to gptfdisk-native to wic-image-minimal recipe to be able to create gpt p

[OE-core] [wic][PATCH v3 08/14] wic-image-minimal: change IMAGE_FSTYPES

2016-02-13 Thread Ed Bartosh
Replaced wic.bz2 -> wic in the recipe. Replaced wic.bz2 -> wic in oe-selftest test case. wic-image-minimal is going to be booted in qemu and tested. As runqemu doesn't support compressed images this recipe needs to produce raw wic image. (From OE-Core rev: 3ce91db94f4b921566dce0dc6f91a422009be06b

Re: [OE-core] [PATCH 0/9] Upgrade uclibc/musl to latest

2016-02-13 Thread Khem Raj
On Sat, Feb 13, 2016 at 12:23 AM, Richard Purdie wrote: > On Wed, 2016-02-10 at 17:43 +, Khem Raj wrote: >> ltp upgrade is prerequisite for glibc 2.23 >> patches to fix more musl recipes >> distutils patch to let pythonic recipes work with devtool > > FWIW I tried running the nightly-musl targ

Re: [OE-core] [poky] [PATCH 1/1] poky: update qemu* to prefer 4.4 kernel

2016-02-13 Thread Richard Purdie
I'm moving the discussion to OE-Core and pulling in some kernel people. I think I understand what is wrong and how to fix it but I could use someone who actually knows this code. To summarise the story so far, on qemux86, X doesn't start and there is a backtrace in the logs: x86/PAT: Xorg:705 map

[OE-core] [jethro][PATCH] libgcrypt: Security fix CVE-2015-7511

2016-02-13 Thread Armin Kuster
From: Armin Kuster CVE-2015-7511 libgcrypt: side-channel attack on ECDH with Weierstrass curves affects libgcrypt < 1.6.5 Patch 1 is a dependancy patch. simple macro name change. Patch 2 is the cve fix. Signed-off-by: Armin Kuster --- .../libgcrypt/files/CVE-2015-7511_1.patch | 245

Re: [OE-core] [poky] [PATCH 1/1] poky: update qemu* to prefer 4.4 kernel

2016-02-13 Thread Bruce Ashfield
On Sat, Feb 13, 2016 at 12:17 PM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > I'm moving the discussion to OE-Core and pulling in some kernel people. > I think I understand what is wrong and how to fix it but I could use > someone who actually knows this code. > > To summarise th