Re: [OE-core] [PATCH v2 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
On mardi 24 janvier 2017 11:07:18 CET Khem Raj wrote: > How does this work with dropbear. Since we can use dropbear as a ssh > server alternative. Dropbear support has not been modified. SSHD_CONFIG has only been added to FEATURE_PACKAGES_ssh-server-openssh variable and only applies to OpenSSH (I

[OE-core] [PATCH v2] openssh: Security Advisory - openssh - CVE-2016-10010

2017-01-24 Thread Li Zhou
sshd in OpenSSH before 7.4, when privilege separation is not used, creates forwarded Unix-domain sockets as root, which might allow local users to gain privileges via unspecified vectors, related to serverloop.c. Porting patch from

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Andrew Goodbody
Further to this I see the following message in log.do_prepare_recipe_sysroot.20511 WARNING: Manifest /home/andrew/src/camol3/camol/build/tmp-camol-glibc/sstate-control/manifest-allarch-linux-libc-headers.populate_sysroot not found? Which is quite correct as that file does not exist, however th

[OE-core] ✗ patchtest: failure for openssh: Security Advisory - openssh - CVE-2016-10010

2017-01-24 Thread Patchwork
== Series Details == Series: openssh: Security Advisory - openssh - CVE-2016-10010 Revision: 1 URL : https://patchwork.openembedded.org/series/4949/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] [PATCH] openssh: Security Advisory - openssh - CVE-2016-10010

2017-01-24 Thread Li Zhou
sshd in OpenSSH before 7.4, when privilege separation is not used, creates forwarded Unix-domain sockets as root, which might allow local users to gain privileges via unspecified vectors, related to serverloop.c. Porting patch from

Re: [OE-core] [PATCH] elfutils: 0.166->0.168

2017-01-24 Thread Zheng, Ruoqin
Hi Jussi I really used git rename to produce 0.166 to 0.168 patch, but it did not work on last patch 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch. I guess it’s because I used a different way from the original author. I used git format-patch, maybe he used patch -Naur?

[OE-core] [PATCH v2] elfutils: 0.166->0.168

2017-01-24 Thread Zheng Ruoqin
1) Upgrade elfutils from 0.166 to 0.168 2) Delete 1 patch below to make it compatible with new version elfcmp-fix-self-comparision.patch 3) Modify 4 patches below to make it compatible with new version elfutils-0.166/hppa_backend.diff -> elfutils-0.168/hppa_backend.diff elfutils-0.166/m

[OE-core] ✗ patchtest: failure for [v2,1/1] gnutls: avoid accidentally using libseccomp

2017-01-24 Thread Patchwork
== Series Details == Series: [v2,1/1] gnutls: avoid accidentally using libseccomp Revision: 1 URL : https://patchwork.openembedded.org/series/4947/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] [oe-core][PATCH v2 1/1] gnutls: avoid accidentally using libseccomp

2017-01-24 Thread Joe Slater
Specify whether to use libseccomp or not. Do not just let configure check for it. Signed-off-by: Joe Slater --- meta/recipes-support/gnutls/gnutls.inc| 12 meta/recipes-support/gnutls/gnutls/arm_eabi.patch |2 +- 2 files changed, 13 insertions(+), 1 deletion(-) d

[OE-core] ✗ patchtest: failure for gnutls: account for ARM_EABI

2017-01-24 Thread Patchwork
== Series Details == Series: gnutls: account for ARM_EABI Revision: 1 URL : https://patchwork.openembedded.org/series/4945/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the pro

Re: [OE-core] [PATCH] staging: fix logic of guessing dependency manifest file in extend_recipe_sysroot

2017-01-24 Thread Maciej Borzęcki
On Tue, Jan 24, 2017 at 11:08 PM, Richard Purdie wrote: > On Tue, 2017-01-24 at 14:05 -0800, Khem Raj wrote: >> >> On 1/24/17 5:50 AM, Maciej Borzecki wrote: >> > >> > Recipe sysroots introduced a change where dependencies ending with >> > "-cross" also >> > count as native tools and (see setscene

Re: [OE-core] [PATCH] staging: fix logic of guessing dependency manifest file in extend_recipe_sysroot

2017-01-24 Thread Richard Purdie
On Tue, 2017-01-24 at 14:05 -0800, Khem Raj wrote: > > On 1/24/17 5:50 AM, Maciej Borzecki wrote: > > > > Recipe sysroots introduced a change where dependencies ending with > > "-cross" also > > count as native tools and (see setscene_depvalid() for details). > > > > The same logic was missing f

Re: [OE-core] [PATCH] staging: fix logic of guessing dependency manifest file in extend_recipe_sysroot

2017-01-24 Thread Khem Raj
On 1/24/17 5:50 AM, Maciej Borzecki wrote: > Recipe sysroots introduced a change where dependencies ending with "-cross" > also > count as native tools and (see setscene_depvalid() for details). > > The same logic was missing from extend_recipe_sysroot(), hence for depency > named > `go-cross`

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Richard Purdie
On Tue, 2017-01-24 at 18:08 +, Andrew Goodbody wrote: > > > > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > > I'm running out of time to write this up and post properly but the > > patch I think should work is this: > > > > http://git.yoctoproject.org/cgit.cgi/poky-contri

Re: [OE-core] [oe-core][PATCH 1/1] gnutls: avoid accidentally using libseccomp

2017-01-24 Thread Andre McCurdy
On Tue, Jan 24, 2017 at 12:15 PM, Joe Slater wrote: > Specify whether to use libseccomp or not. Do not > just let configure check for it. > > Signed-off-by: Joe Slater > --- > meta/recipes-support/gnutls/gnutls.inc | 12 > 1 file changed, 12 insertions(+) > > diff --git a/meta/re

Re: [OE-core] [PATCH] python: Upgrade both python and python-native to 2.7.13

2017-01-24 Thread Burton, Ross
On 24 January 2017 at 06:55, Alejandro Hernandez wrote: > Rebased: > - python-native/multilib.patch > - python/multilib.patch > - python/01-use-proper-tools-for-cross-build.patch > > Upstream: > - CVE-2016-1000110 > > Signed-off-by: Alejandro Hernandez > Let's see if the mail to patchworks bri

[OE-core] [oe-core][PATCH 1/1] gnutls: avoid accidentally using libseccomp

2017-01-24 Thread Joe Slater
Specify whether to use libseccomp or not. Do not just let configure check for it. Signed-off-by: Joe Slater --- meta/recipes-support/gnutls/gnutls.inc | 12 1 file changed, 12 insertions(+) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls

[OE-core] [oe-core][PATCH 1/1] gnutls: account for ARM_EABI

2017-01-24 Thread Joe Slater
Do not reference unavailable system calls when building for ARM_EABI. Signed-off-by: Joe Slater --- meta/recipes-support/gnutls/gnutls/arm_eabi.patch | 19 +++ meta/recipes-support/gnutls/gnutls_3.5.7.bb |1 + 2 files changed, 20 insertions(+) create mode 100644 meta

Re: [OE-core] ✗ patchtest: failure for "Revert "populate_sdk_ext: whit..." and 6 more

2017-01-24 Thread Paul Eggleton
On Saturday, 21 January 2017 2:53:37 PM NZDT Patchwork wrote: > == Series Details == > > Series: "Revert "populate_sdk_ext: whit..." and 6 more > Revision: 1 > URL : https://patchwork.openembedded.org/series/4888/ > State : failure > > == Summary == > > > Thank you for submitting this patch s

Re: [OE-core] [PATCH v2 0/3] openssh: Make sshd-config a package

2017-01-24 Thread Khem Raj
On 1/24/17 1:07 AM, David Vincent wrote: > This series of patch introduces a new way of modifying OpenSSH sshd > configuration. Instead of modifying the files and launching the server with > custom options, a package which RPROVIDES sshd-config must be installed. > > The package to use is select

Re: [OE-core] [PATCH 1/1] package_ipk.bbclass: Add check for empty lines in DESCRIPTION

2017-01-24 Thread Christopher Larson
On Tue, Jan 24, 2017 at 1:37 AM, wrote: > From: Mariano Lopez > > opkg uses empty lines as separator for next package and if an ipk > file was packaged with empty lines in DESCRIPTION opkg won't be > able to handle such ipk file, this happens at execution time. > > This commit will add a check f

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Andrew Goodbody
> From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > On Tue, 2017-01-24 at 15:59 +, Andrew Goodbody wrote: > > Further to this I see the following message in > > log.do_prepare_recipe_sysroot.20511 > > > > WARNING: Manifest /home/andrew/src/camol3/camol/build/tmp-camol- > > glib

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Andrew Goodbody
> From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > On Tue, 2017-01-24 at 17:14 +, Andrew Goodbody wrote: > > > > > > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > > > On Tue, 2017-01-24 at 15:59 +, Andrew Goodbody wrote: > > > > > > > > Further to this

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Richard Purdie
On Tue, 2017-01-24 at 17:14 +, Andrew Goodbody wrote: > > > > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > > On Tue, 2017-01-24 at 15:59 +, Andrew Goodbody wrote: > > > > > > Further to this I see the following message in > > > log.do_prepare_recipe_sysroot.20511 > >

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Richard Purdie
On Tue, 2017-01-24 at 15:59 +, Andrew Goodbody wrote: > Further to this I see the following message in > log.do_prepare_recipe_sysroot.20511 > > WARNING: Manifest /home/andrew/src/camol3/camol/build/tmp-camol- > glibc/sstate-control/manifest-allarch-linux-libc- > headers.populate_sysroot not f

[OE-core] [PATCH 1/1] package_ipk.bbclass: Add check for empty lines in DESCRIPTION

2017-01-24 Thread mariano . lopez
From: Mariano Lopez opkg uses empty lines as separator for next package and if an ipk file was packaged with empty lines in DESCRIPTION opkg won't be able to handle such ipk file, this happens at execution time. This commit will add a check for empty lines in DESCRIPTION when generating to ipk p

Re: [OE-core] [PATCH][Morty] binutils-2.27.inc: Fix alignment frags for aarch64

2017-01-24 Thread akuster808
On 01/23/2017 10:48 PM, Mike Looijmans wrote: On 18-01-17 17:09, akuster808 wrote: On 01/18/2017 04:08 AM, Nathan Rossi wrote: On 18 January 2017 at 19:37, Mike Looijmans wrote: Could someone at least please say "yes" or "no"? I now have three projects waiting for this patch to be includ

Re: [OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Marko Lindqvist
Probably unrelated, but glibc people were hoping autoconf-2.70 release before they release glibc-2.25 as post-2.24 glibc configure has some problem post-2.69 autoconf would resolve. I don't know if they have managed to work around their issue some other way when autoconf release has still failed t

[OE-core] configure error for glibc 2.25.2

2017-01-24 Thread Andrew Goodbody
I get the following configure error when trying to rebuild my tree today after doing a sync. Is this a core issue or something wrong in my tree? Thanks, Andrew | checking installed Linux kernel header files... missing or too old! | configure: error: GNU libc requires kernel header files from |

[OE-core] [PATCH 4/8] wic: remove unused API DirectImageCreator.get_disk_names

2017-01-24 Thread Ed Bartosh
Signed-off-by: Ed Bartosh --- scripts/lib/wic/imager/direct.py | 26 -- 1 file changed, 26 deletions(-) diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 63f1fa1..6340a59 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/

[OE-core] [PATCH 8/8] selftest: wic: test default output directory

2017-01-24 Thread Ed Bartosh
As tests now explicitly specify output directory we don't need test_alternate_output_dir test case. However, we need to test wic output to default output location. Removed test_alternate_output_dir test case. Added test_default_output_dir test case. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/s

[OE-core] [PATCH 7/8] selftest: wic: explicitly specify output directory

2017-01-24 Thread Ed Bartosh
wic started to use current directory as a default output dir. Specified output directory in wic command line to make tests more predictable and easier to maintain. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/wic.py | 72 +-- 1 file changed, 42 ins

[OE-core] [PATCH 6/8] image_types: use correct output directory

2017-01-24 Thread Ed Bartosh
Wic put result images into /build, which was confusing. Now it's fixed in wic code and images are put into output directory. Changed code in image_types to reflect this. [YOCTO #10783] Signed-off-by: Ed Bartosh --- meta/classes/image_types.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 delet

[OE-core] [PATCH 2/8] wic: get rid of baseimager inheritance

2017-01-24 Thread Ed Bartosh
Simplified DirectImageCreator code by removing inheritance from BaseImageCreator. This inheritance doesn't make much sense as DirectImageCreator is the only class that was inherited from BaseImageCreator. Signed-off-by: Ed Bartosh --- scripts/lib/wic/imager/baseimager.py | 191 --

[OE-core] [PATCH 5/8] wic: direct.py: get rid of names with two underscores

2017-01-24 Thread Ed Bartosh
Attributes with two leading underscores are mangled in Python and used mainly for avoiding name clashes with names from subclasses. They're not needed in most of wic classes. Signed-off-by: Ed Bartosh --- scripts/lib/wic/imager/direct.py | 50 +++- 1 file chan

[OE-core] [PATCH 3/8] wic: make workdir a temporary directory

2017-01-24 Thread Ed Bartosh
Wic used hardcoded path /var/tmp/wic/ as a work directory, which caused conflicts if two wic instances run in parallel. Made work directory unique and temporary. Moved results from work directory to output directory when they're ready. [YOCTO #10783] Signed-off-by: Ed Bartosh --- scripts/lib/w

[OE-core] [PATCH 1/8] wic: change default output directory

2017-01-24 Thread Ed Bartosh
Set default output directory to current dir. [YOCTO #10783] Signed-off-by: Ed Bartosh --- scripts/wic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wic b/scripts/wic index 8918cb4..54cbe96 100755 --- a/scripts/wic +++ b/scripts/wic @@ -88,7 +88,7 @@ def wic_create_

[OE-core] [PATCH 0/8] Fix for #10783 wic should not be writing out to /var/tmp/wic

2017-01-24 Thread Ed Bartosh
Hi, This patchset changes default output location for wic images from /var/tmp/wic/build to the current directory. It also includes a bit of refactoring of DirectImageCreator class. The following changes since commit 62d7d4130202d8ede16abf9e7d779361ca70847e: build-appliance-image: Update to

[OE-core] [PATCH] staging: fix logic of guessing dependency manifest file in extend_recipe_sysroot

2017-01-24 Thread Maciej Borzecki
Recipe sysroots introduced a change where dependencies ending with "-cross" also count as native tools and (see setscene_depvalid() for details). The same logic was missing from extend_recipe_sysroot(), hence for depency named `go-cross` the manifest file would default to `manifest-allarch-go-cros

[OE-core] [PATCH] wipe-sysroot: remove

2017-01-24 Thread Ross Burton
This script was useful to delete the sysroot so that future builds happen from a clean sysroot. Now that recipes have their own sysroot this script doesn't need to exist anymore, and if in fact if used will break your TMPDIR. Signed-off-by: Ross Burton --- scripts/wipe-sysroot | 54

[OE-core] [PATCH 1/2] ppp: update SRC_URI

2017-01-24 Thread Ross Burton
ppp.samba.org has disappeared from the Internet and isn't responding anymore, so point the SRC_URI at the canonical samba.org download server instead. Signed-off-by: Ross Burton --- meta/recipes-connectivity/ppp/ppp_2.4.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/met

[OE-core] [PATCH 2/2] rsync: update SRC_URI

2017-01-24 Thread Ross Burton
rsync.samba.org has disappeared from the Internet and isn't responding anymore, so point the SRC_URI at the canonical samba.org download server instead. Signed-off-by: Ross Burton --- meta/recipes-devtools/rsync/rsync.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/r

[OE-core] [PATCH] toolchain-scripts: remove CCACHE_PATH from environment script

2017-01-24 Thread Joshua Lock
CCACHE_PATH was added to the toolchain-scripts in commit 1d31ddb856a80ba9da1a64ed5d701dc0f7351ef7 without a detailed explanation as to why. This commit removes that environment variable as it's causing failures since the introduction of host_gcc_version() to oe.utils in d36f41e56586080ee8330278

[OE-core] [PATCH 8/9] xf86-input-evdev: Upgrade 2.10.4 -> 2.10.5

2017-01-24 Thread Jussi Kukkonen
Small release with bug fixes and config improvements. Signed-off-by: Jussi Kukkonen --- .../{xf86-input-evdev_2.10.4.bb => xf86-input-evdev_2.10.5.bb} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-evdev_2.10.4.bb => xf86-i

[OE-core] [PATCH 6/9] libxkbcommon: Upgrade 0.7.0 -> 0.7.1

2017-01-24 Thread Jussi Kukkonen
Small release with bug fixes. Signed-off-by: Jussi Kukkonen --- .../xorg-lib/{libxkbcommon_0.7.0.bb => libxkbcommon_0.7.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxkbcommon_0.7.0.bb => libxkbcommon_0.7.1.bb} (83%) diff --g

[OE-core] [PATCH 7/9] libxpm: Upgrade 3.5.11 -> 3.5.12

2017-01-24 Thread Jussi Kukkonen
Tiny bug fix release. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/xorg-lib/{libxpm_3.5.11.bb => libxpm_3.5.12.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxpm_3.5.11.bb => libxpm_3.5.12.bb} (81%) diff --git a/meta/recipes-

[OE-core] [PATCH 9/9] xserver-xorg: Upgrade 1.19.0 -> 1.19.1

2017-01-24 Thread Jussi Kukkonen
Point release with bug fixes. Signed-off-by: Jussi Kukkonen --- .../xorg-xserver/{xserver-xorg_1.19.0.bb => xserver-xorg_1.19.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.19.0.bb => xserver-xorg_1.19.1.bb} (88%) di

[OE-core] [PATCH 5/9] libxi: Upgrade 1.7.8 -> 1.7.9

2017-01-24 Thread Jussi Kukkonen
Tiny bug fix release. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/xorg-lib/{libxi_1.7.8.bb => libxi_1.7.9.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{libxi_1.7.8.bb => libxi_1.7.9.bb} (81%) diff --git a/meta/recipes-graphics/

[OE-core] [PATCH 3/9] libevdev: Upgrade 1.5.4 -> 1.5.6

2017-01-24 Thread Jussi Kukkonen
Only changes in helper tools and a header (to support new keycodes in linux 4.9 headers). Signed-off-by: Jussi Kukkonen --- .../recipes-support/libevdev/{libevdev_1.5.4.bb => libevdev_1.5.6.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libevdev/{libev

[OE-core] [PATCH 4/9] libinput: Upgrade 1.5.0 -> 1.6.0

2017-01-24 Thread Jussi Kukkonen
Bug fixes, new quirks and touchpad acceleration improvements. Signed-off-by: Jussi Kukkonen --- .../recipes-graphics/wayland/{libinput_1.5.0.bb => libinput_1.6.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/wayland/{libinput_1.5.0.bb => libinput_1.6

[OE-core] [PATCH 0/9] Minor version upgrades

2017-01-24 Thread Jussi Kukkonen
Uneventful version upgrades around the graphics stack. Notably missing is mesa: the 17.0 release should happen shortly. There's no reason to squeeze these into M2. Thanks, Jussi The following changes since commit 62d7d4130202d8ede16abf9e7d779361ca70847e: build-appliance-image: Update to ma

[OE-core] [PATCH 2/9] gtk+3: Upgrade 3.22.5 -> 3.22.7

2017-01-24 Thread Jussi Kukkonen
Point releases with mostly just bug fixes. Signed-off-by: Jussi Kukkonen --- meta/recipes-gnome/gtk+/{gtk+3_3.22.5.bb => gtk+3_3.22.7.bb} | 4 ++-- ...tk-icon-utils-native_3.22.5.bb => gtk-icon-utils-native_3.22.7.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename me

[OE-core] [PATCH 1/9] freetype: Upgrade 2.7.0 -> 2.7.1

2017-01-24 Thread Jussi Kukkonen
Bug fixes and some new features: support for Adobe CFF2 font format and OpenType 1.8 variation fonts. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/freetype/{freetype_2.7.bb => freetype_2.7.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/fr

Re: [OE-core] Recipe specific sysroots: New failure to compile Go

2017-01-24 Thread Kristian Amlie
On 24/01/17 11:17, Jussi Kukkonen wrote: > On 24 January 2017 at 11:36, Kristian Amlie > wrote: > [snip] > > > /home/jenkins/workspace/yoctobuild/build-qemu/tmp/work/x86_64-linux/go-native/1.7.4-r0/recipe-sysroot-native/usr/lib/go-bootstrap-native-1.4.3/pkg/t

Re: [OE-core] Recipe specific sysroots: New failure to compile Go

2017-01-24 Thread Jussi Kukkonen
On 24 January 2017 at 11:36, Kristian Amlie wrote: [snip] > /home/jenkins/workspace/yoctobuild/build-qemu/tmp/ > work/x86_64-linux/go-native/1.7.4-r0/recipe-sysroot-native/ > usr/lib/go-bootstrap-native-1.4.3/pkg/tool/linux_amd64/6l: > readsym out of sync > | WARNING: exit code 2 from a shell com

Re: [OE-core] How to use WIC to generate raw flash images

2017-01-24 Thread Ed Bartosh
On Tue, Jan 24, 2017 at 09:56:17AM +0100, Mike Looijmans wrote: > On 23-01-17 11:34, Ed Bartosh wrote: > ... > >>- How do I set padding to be 0xFF instead of 0x00? > >The same thing here. Currently wic images are sparse files created by > >os.ftruncate, but it's not a big deal to fill them with 0x

Re: [OE-core] How to use WIC to generate raw flash images

2017-01-24 Thread Mike Looijmans
On 23-01-17 11:34, Ed Bartosh wrote: ... - How do I set padding to be 0xFF instead of 0x00? The same thing here. Currently wic images are sparse files created by os.ftruncate, but it's not a big deal to fill them with 0xFF Correct me if I'm wrong here... - All flash media (NOR, NAND) prefers

[OE-core] Recipe specific sysroots: New failure to compile Go

2017-01-24 Thread Kristian Amlie
After the new feature, recipe specific sysroots, was added, I'm facing the following compile error when compiling Go: --- ERROR: go-native-1.7.4-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/workspace/yoctobuild/build-qemu/

Re: [OE-core] Passing additional data from packages to be used during image creation

2017-01-24 Thread Pascal Bach
On 21.01.2017 12:44, Richard Purdie wrote: > On Thu, 2017-01-19 at 10:16 +0100, Pascal Bach wrote: >> I would like to pass some additional data generated during the >> creation of a package to the image creation step. >> The idea is to use this data to generate a more detailed manifest of >> what

[OE-core] [PATCH 1/3] openssh: Package server configuration

2017-01-24 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent --- meta/recipes-connectivity/openssh/openssh_7.3p1.bb | 47 ++ 1 file ch

[OE-core] [PATCH 3/3] rootfs-postcommands: Modify ssh-related commands

2017-01-24 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent --- meta/classes/rootfs-postcommands.bbclass | 28 +++- 1 file change

[OE-core] [PATCH 2/3] core-image: Set default sshd configuration

2017-01-24 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

[OE-core] [PATCH v2 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
This series of patch introduces a new way of modifying OpenSSH sshd configuration. Instead of modifying the files and launching the server with custom options, a package which RPROVIDES sshd-config must be installed. The package to use is selected using a new variable called SSHD_CONFIG which is u

Re: [OE-core] [PATCH] elfutils: 0.166->0.168

2017-01-24 Thread Jussi Kukkonen
On 24 January 2017 at 09:13, Zheng Ruoqin wrote: > 1) Upgrade elfutils from 0.166 to 0.168 > 2) Delete 1 patch below to make it compatible with new version > elfcmp-fix-self-comparision.patch > 3) Modify 4 patches below to make it compatible with new version > elfutils-0.166/hppa_backend.

[OE-core] [PATCH 3/3] rootfs-postcommands: Modify ssh-related commands

2017-01-24 Thread David Vincent
OpenSSH configuration is now a symlink which points to the desired configuration, so the functions that modified it must be updated to modify the target and not override it. Signed-off-by: David Vincent --- meta/classes/rootfs-postcommands.bbclass | 28 +++- 1 file change

[OE-core] [PATCH 1/3] openssh: Package server configuration

2017-01-24 Thread David Vincent
Split sshd configuration for read-write/read-only rootfs in two distinct packages. Also, add a package dependency between openssh-sshd package and a provider of sshd-config. Signed-off-by: David Vincent --- meta/recipes-connectivity/openssh/openssh_7.3p1.bb | 47 ++ 1 file ch

[OE-core] [PATCH 2/3] core-image: Set default sshd configuration

2017-01-24 Thread David Vincent
When selecting OpenSSH as ssh server provider instead of dropbear, also install the correct configuration depending on whether the final rootfs is read-only or not. Signed-off-by: David Vincent --- meta/classes/core-image.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

[OE-core] [PATCH 0/3] openssh: Make sshd-config a package

2017-01-24 Thread David Vincent
This series of patch introduces a new way of modifying OpenSSH sshd configuration. Instead of modifying the files and launching the server with custom options, a package which RPROVIDES sshd-config must be installed. The package to use is selected using a new variable called SSHD_CONFIG which is u