[yocto] [meta-selinux][PATCH] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-09 Thread Dengke Du
1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is because the rpm in oe-core has become rpm4 from rpm5. 2. drop the patch for rpm5. 3. delete the does not exist files when run task do_package. Signed-off-by: Dengke Du --- recipes-devtools/rpm/rpm_5.4.16.bbappend | 10 --

Re: [yocto] [meta-selinux][PATCH] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-09 Thread Dengke Du
Please ignore this, thanks. On 2017年05月09日 15:41, Dengke Du wrote: 1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is because the rpm in oe-core has become rpm4 from rpm5. 2. drop the patch for rpm5. 3. delete the does not exist files when run task do_package. Signed-off-by:

Re: [yocto] [meta-raspberrypi] how to apply custom kernel configuration?

2017-05-09 Thread Bruce Ashfield
On 2017-05-08 6:08 PM, Andrei Gherzan wrote: On Sat, May 6, 2017 at 6:14 PM, Khem Raj wrote: On Sat, May 6, 2017 at 9:45 AM, Andrea Galbusera wrote: Hi! I was wondering how to apply some extra kernel configuration from a custom layer via a bbappend. I know that with meta-raspberrypi there ex

[yocto] [meta-security][PATCH] clamav: fix new build error

2017-05-09 Thread Armin Kuster
configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then! bypass check as our zlib is 1.2.11 Signed-off-by: Armin Kuster --- re

[yocto] [meta-security][PATCH 00/10] move tpm into its own layer

2017-05-09 Thread Armin Kuster
tpm recipes copied as-is This was done to allow inclusion of TPM components independent of the rest of the layer. minimizes layerdepends fixed incorrect use of DISTRO_FEATURES Updated tpm kernel configs to newer version added a few new packagegroups Armin Kuster (10): tpm: move to a sub lay

[yocto] [meta-security][PATCH 01/10] tpm: move to a sub layer

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/README | 0 meta-tpm/conf/layer.conf| 13 + meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend | 5 + .../libtpm/files/Convert-another-vdprintf-to-dp

[yocto] [meta-security][PATCH 04/10] packagegroup: remove tpm components

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../packagegroup/packagegroup-core-security.bb | 14 -- 1 file changed, 14 deletions(-) diff --git a/recipes-security/packagegroup/packagegroup-core-security.bb b/recipes-security/packagegroup/packagegroup-core-security.bb index 2180908..6

[yocto] [meta-security][PATCH 03/10] meta-tpm: add base package group as was in meta-security

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../packagegroup/packagegroup-security-tpm.bb | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm.bb diff --git a/meta-tpm/recipes-core/packagegroup/packagegroup-secur

[yocto] [meta-security][PATCH 02/10] change tpm from distro to machine feature

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend | 2 +- recipes-security/packagegroup/packagegroup-core-security.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_4.10.bbappend b/meta-

[yocto] [meta-security][PATCH 06/10] tpm-i2c: some systems us i2c TPM

2017-05-09 Thread Armin Kuster
add modules and i2c support Signed-off-by: Armin Kuster --- .../packagegroup/packagegroup-security-tpm-i2c.bb | 17 + 1 file changed, 17 insertions(+) create mode 100644 meta-tpm/recipes-core/packagegroup/packagegroup-security-tpm-i2c.bb diff --git a/meta-tpm/recipes-co

[yocto] [meta-security][PATCH 05/10] tpm packagegroups: split into logical units

2017-05-09 Thread Armin Kuster
this should help mitgate the need to pull in too many layers if swtpm in not wanted Signed-off-by: Armin Kuster --- .../packagegroup/packagegroup-security-tpm.bb | 9 - .../packagegroup/packagegroup-security-tpm2.bb | 18 ++ .../packagegroup/packagegroup

[yocto] [meta-security][PATCH 07/10] kernel tpm rework

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg | 5 + meta-tpm/recipes-kernel/linux/linux-yocto/tpm.scc | 3 +++ meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.cfg | 15 +++ meta-tpm/recipes-kernel/linux/linux-yocto/tpm_i2c.scc

[yocto] [meta-security][PATCH 08/10] tpm-image: used for testing for now.

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-core/images/security-tpm-image.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 meta-tpm/recipes-core/images/security-tpm-image.bb diff --git a/meta-tpm/recipes-core/images/security-tpm-image.bb b/meta-tpm/recipes

[yocto] [meta-security][PATCH 09/10] linux-stable: fix module selections

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- meta-tpm/recipes-kernel/linux/linux-yocto/tpm.cfg | 3 +++ meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg | 6 ++ meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc | 3 +++ meta-tpm/recipes-kernel/linux/linux-yocto_4.%.bbappend | 6 ++ 4 f

[yocto] [meta-security][PATCH 10/10] tpm2: package groups fixes

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- .../packagegroup/packagegroup-security-tpm-i2c.bb | 2 ++ .../packagegroup/packagegroup-security-tpm.bb | 15 +++ .../packagegroup/packagegroup-security-tpm2.bb| 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) d

[yocto] [meta-security][PATCH] security-core package group: add few more apps

2017-05-09 Thread Armin Kuster
Signed-off-by: Armin Kuster --- recipes-security/packagegroup/packagegroup-core-security.bb | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-security/packagegroup/packagegroup-core-security.bb b/recipes-security/packagegroup/packagegroup-core-security.bb index 68

[yocto] meta-security does not set the right ACL to trouser config file (/etc/tsdc.conf)

2017-05-09 Thread Dominig ar Foll (Intel Open Source)
meta-security requires to predefine a user and group tss ibn order for bitbake to build an image. But it fails to set the correct ownership to the trouser conf file (/etc/tsdc.conf) Tspi_Context_Connect failed: 0x3011 - layer=tsp, code=0011 (17), Communication failure root@intel-corei7-64:~#

[yocto] how to activate tpm

2017-05-09 Thread Dominig ar Foll (Intel Open Source)
Hello, I am trying to get tpm working on a Minnowboard and a Joule. I have enabled tpm in meta-security. I can see that the Kernel config looks good (see extract bellow) tpm is enable in the BIOS (fails with TPM>PTT or dTPM 2.0) BUT i still cannot see

Re: [yocto] how to activate tpm

2017-05-09 Thread Hofemeier, Ulf
Hi Domining, Please check out this article. https://prosauce.org/blog/2016/1/11/minnowboard-max-enable-and-test-the-firmware-txe-tpm-20 Also, there has been a person in the MinnowBoard GitHub issue tracker who successfully enabled TPM2 for this platform. See the thread here: https://github.com/

[yocto] [PATCH] recipes-support: Add recipe for libgpiod

2017-05-09 Thread Marek Belisko
libgpiod - C library and tools for interacting with the linux GPIO character device Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use the character device instead. This library encapsulates the ioctl calls and data structures behind a straightforward API. Signed-off-by

Re: [yocto] [PATCH] recipes-support: Add recipe for libgpiod

2017-05-09 Thread akuster808
Marek, There is another mailing list that is geared towards the core development and recipes like this that are targeted for the main "meta" layer. You should resend this patch to: openembedded-c...@lists.openembedded.org. regards, Armin On 05/09/2017 02:10 PM, Marek Belisko wrote: libgp

Re: [yocto] [OE-core] [PATCH] recipes-support: Add recipe for libgpiod

2017-05-09 Thread Denys Dmytriyenko
Can libsoc help here? It's in meta-oe, but this libgpiod should be there too... On Tue, May 09, 2017 at 02:24:18PM -0700, akuster808 wrote: > Marek, > > There is another mailing list that is geared towards the core > development and recipes like this that are targeted for the main > "meta" layer.

Re: [yocto] [OE-core] [PATCH] recipes-support: Add recipe for libgpiod

2017-05-09 Thread Belisko Marek
On Tue, May 9, 2017 at 11:33 PM, Denys Dmytriyenko wrote: > Can libsoc help here? It's in meta-oe, but this libgpiod should be there > too... t can but according description sysfs api is deprecated and libgpiod implementing new gpio interface through char device. Sorry about to posting to wrong M

[yocto] [PATCH V2] rpm: modify the rpm bbappend file to suitable for rpm4

2017-05-09 Thread Dengke Du
1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is because the rpm in oe-core has become rpm4 from rpm5. 2. drop the patch for rpm5. 3. delete the does not exist files when run task do_package. Signed-off-by: Dengke Du --- recipes-devtools/rpm/rpm_5.4.16.bbappend | 10 --

[yocto] [meta-raspberrypi][PATCH 1/2] userland: Add missing GLES2 defines

2017-05-09 Thread Khem Raj
Needed by weston Signed-off-by: Khem Raj --- ...-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch | 30 ++ recipes-graphics/userland/userland_git.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 recipes-graphics/userland/userland/0014-GLES2-gl2ext.h-De

[yocto] [meta-raspberrypi][PATCH 2/2] mesa-gl: Enable gbm for rpi

2017-05-09 Thread Khem Raj
weston needs gbm support which is not in userland Signed-off-by: Khem Raj --- recipes-graphics/mesa/mesa-gl_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-graphics/mesa/mesa-gl_%.bbappend diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend b/recipes-graphics/mes