Re: [yocto] How to fix SSH interfactive promotion for Yocto Linux embedded system

2019-07-24 Thread Zoran Stojsavljevic
And, YES, since BysuBox supplies very reduced set of commands... You should put these options > -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o > ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o > UserKnownHostsFile=/dev/null ... in the following file:/etc/ssh/ssh_config Hope this

Re: [yocto] How to fix SSH interfactive promotion for Yocto Linux embedded system

2019-07-24 Thread Zoran Stojsavljevic
> scp -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o > ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o > UserKnownHostsFile=/dev/null ... Format of your command is wrong... scp assumes your options as files to be transferred. You need to compile better command, something

[yocto] How to fix SSH interfactive promotion for Yocto Linux embedded system

2019-07-24 Thread JH
Hi, I am running busybox in imx6 using ssh and scp in shell scripts, but I troubled to run the scripts to run ssh and scp, it did not have ssh options stopped at following: scp -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -o

Re: [yocto] PREMIRROR

2019-07-24 Thread Rudolf J Streif
Russell, That is exactly what devtool and the externalsrc class do. PREMIRROR is the wrong approach for that. :rjs On 7/24/19 12:53 PM, Russell Peterson wrote: > Hi, Rudolf. > > I apologize for not being clear.  The idea here is that my recipe > points to github while, for my local development

Re: [yocto] PREMIRROR

2019-07-24 Thread Russell Peterson
Hi, Rudolf. I apologize for not being clear. The idea here is that my recipe points to github while, for my local development environment, I set a premirror to match a specific github repository and translate it to a local directory. That works. The fetch matches the PREMIRROR and places a copy

Re: [yocto] Building for AM335x with meta-ti and meta-qt5

2019-07-24 Thread Zoran Stojsavljevic
> I am trying to build a Yocto (warrior) image for the AM335x using meta-ti > and meta-qt5 that will render directly to the GPU. Initially this will be > for the > Beaglebone Black but then ultimately will be for a custom hardware platform. For the starters, check this out! Not really what you

Re: [yocto] PREMIRROR

2019-07-24 Thread Rudolf J Streif
Hi Russell, devtool and eSDK are different things. The purpose of PREMIRRORS is to set a mirror for all recipes. It's a way for organizations to control where their YP builds download sources from. It's not intended to be used for a single recipe. There is no need for that. You simply set SRC_URI

Re: [yocto] [meta-ti] Building for AM335x with meta-ti and meta-qt5

2019-07-24 Thread Denys Dmytriyenko
On Wed, Jul 24, 2019 at 05:53:36PM +, Andy Pont wrote: > I am trying to build a Yocto (warrior) image for the AM335x using meta-ti > and meta-qt5 that will render directly to the GPU. Initially this will be > for the Beaglebone Black but then ultimately will be for a custom hardware >

Re: [yocto] PREMIRROR

2019-07-24 Thread Russell Peterson
Thanks, Yi. I did try that and I see the tar file is created... but again, the do_unpack function seems to ignore it and go directly to the github repository. --Russ On Wed, Jul 24, 2019 at 4:28 AM Yi Zhao wrote: > > On 7/24/19 4:49 AM, Russell Peterson wrote: > > Hello, > > I am looking to

Re: [yocto] PREMIRROR

2019-07-24 Thread Russell Peterson
Hi, Rudolf. Thanks for the reply. Yes, I am aware of the eSDK functionality, however, I have some unique requirements that I am trying to work around. Regardless... what I am doing should work, no? I simply want to use a local git repo (the directory itself hence protocol=file) instead of what

[yocto] Building for AM335x with meta-ti and meta-qt5

2019-07-24 Thread Andy Pont
I am trying to build a Yocto (warrior) image for the AM335x using meta-ti and meta-qt5 that will render directly to the GPU. Initially this will be for the Beaglebone Black but then ultimately will be for a custom hardware platform. In broad outline, I think, the software stack needs to look

[yocto] [meta-mingw][PATCH] libsdl: remove

2019-07-24 Thread Joshua Watt
libsdl is being removed from oe-core, so it should no longer be necessary here either. Signed-off-by: Joshua Watt --- recipes-graphics/libsdl/libsdl_%.bbappend | 4 1 file changed, 4 deletions(-) delete mode 100644 recipes-graphics/libsdl/libsdl_%.bbappend diff --git

Re: [yocto] PREMIRROR

2019-07-24 Thread Rudolf J Streif
Russell, You don't need PREMIRROR for this functionality. It's not exactly intended for that use. The simplest way to achieve what you are looking for is to use devtool. If I understand you correctly you are downloading sources from a remote repo on GitHub but want to have them locally to make

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc][PATCH 0/1] correct the code position

2019-07-24 Thread qwang2
Hi Bruce, Could this patch be merged to linux-yocto-dev now? Thanks, Quanyang On 2019/7/23 上午11:11, quanyang.w...@windriver.com wrote: From: Quanyang Wang Hi Bruce, Would you please help to merge this patch to linux-yocto-dev standard/xlnx-soc linux-yocto v5.2/standard/xlnx-soc Thanks,

[yocto] [meta-security][PATCH v2 6/6] tpm2-tcti-uefi: build and install examples

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Examples are usefull to actually check TPM2 from UEFI shell. Add them to tpm2-tcti-uefi package. Signed-off-by: Dmitry Eremin-Solenikov --- .../tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 13 + 1 file changed, 13 insertions(+) diff --git

[yocto] [meta-security][PATCH v2 5/6] tpm2-tcti-uefi: stop inserting host directories into build path

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Do not insert /usr/lib and /usr/lib64 into LDFLAGS. Signed-off-by: Dmitry Eremin-Solenikov --- ...p-inserting-host-directories-into-co.patch | 27 +++ .../tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb| 1 + 2 files changed, 28 insertions(+) create

[yocto] [meta-security][PATCH v2 3/6] tpm2-tcti-uefi: add autoconf-archive-native dependency

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Add dependency on autoconf-archive-native to receive AX_* macro definitions. Signed-off-by: Dmitry Eremin-Solenikov --- meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[yocto] [meta-security][PATCH v2 2/6] tpm2-tss: fix compilation when using updated AX_CODE_COVERAGE macro

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov New autoconf-archive comes with updated AX_CODE_COVERAGE macro, which is not compatible with current tpm2-tss source base. Apply upstream patch to fix this incompatibility. Signed-off-by: Dmitry Eremin-Solenikov --- ...-ax_code_coverage.m4-version-2019.01.patch |

[yocto] [meta-security][PATCH v2 4/6] tpm2-tcti-uefi: fix configure arguments

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Pass correct location of EFI's crt0 and ld script. Signed-off-by: Dmitry Eremin-Solenikov --- .../recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[yocto] [meta-security][PATCH v2 1/6] packagegroup-security-tpm2: stop including tpm2-tcti-uefi

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov tpm2-tcti-uefi is a EFI module, so it should not be included in the rootfs. Signed-off-by: Dmitry Eremin-Solenikov --- .../recipes-core/packagegroup/packagegroup-security-tpm2.bb| 3 --- 1 file changed, 3 deletions(-) diff --git

[yocto] [meta-security][PATCH 5/6] tpm2-tcti-uefi: stop inserting host directories into build path

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Do not insert /usr/lib and /usr/lib64 into LDFLAGS. Signed-off-by: Dmitry Eremin-Solenikov --- ...p-inserting-host-directories-into-co.patch | 30 +++ .../tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb| 1 + 2 files changed, 31 insertions(+) create

[yocto] [meta-security][PATCH 6/6] tpm2-tcti-uefi: build and install examples

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Examples are usefull to actually check TPM2 from UEFI shell. Add them to tpm2-tcti-uefi package. Signed-off-by: Dmitry Eremin-Solenikov --- .../tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 13 + 1 file changed, 13 insertions(+) diff --git

[yocto] [meta-security][PATCH 4/6] tpm2-tcti-uefi: fix configure arguments

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Pass correct location of EFI's crt0 and ld script thus removing the need to patch configure.ac. Signed-off-by: Dmitry Eremin-Solenikov --- .../files/configure_oe_fixup.patch| 27 --- .../tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb| 10

[yocto] [meta-security][PATCH 2/6] tpm2-tss: fix compilation when using updated AX_CODE_COVERAGE macro

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov New autoconf-archive comes with updated AX_CODE_COVERAGE macro, which is not compatible with current tpm2-tss source base. Apply upstream patch to fix this incompatibility. Signed-off-by: Dmitry Eremin-Solenikov --- ...-ax_code_coverage.m4-version-2019.01.patch |

[yocto] [meta-security][PATCH 3/6] tpm2-tcti-uefi: add autoconf-archive-native dependency

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov Add dependency on autoconf-archive-native to receive AX_* macro definitions. Signed-off-by: Dmitry Eremin-Solenikov --- meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[yocto] [meta-security][PATCH 1/6] packagegroup-security-tpm2: stop including tpm2-tcti-uefi

2019-07-24 Thread Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov tpm2-tcti-uefi is a EFI module, so it should not be included in the rootfs. Signed-off-by: Dmitry Eremin-Solenikov --- .../recipes-core/packagegroup/packagegroup-security-tpm2.bb| 3 --- 1 file changed, 3 deletions(-) diff --git

[yocto] systemd gives me a failed boot

2019-07-24 Thread María del Mar Velasco AERTEC Solutions – Aerospace & Aviation
Dear all, I use rocko branch of poky and I am able to create the core-image-minimal-dev and boot my target system without problems. Now, I am interested in using systemd in the target. I follow the Yocto project instructions, by adding the following lines in local.conf: DISTRO_FEATURES_append

[yocto] [meta-integrity][PATCH 3/3] ima-evm-utils: refresh xattr patch

2019-07-24 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- .../evmctl.c-do-not-depend-on-xattr.h-with-IMA-defines.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils/evmctl.c-do-not-depend-on-xattr.h-with-IMA-defines.patch

[yocto] [meta-integrity][PATCH 2/3] ima-evm-utils: bump version

2019-07-24 Thread Dmitry Eremin-Solenikov
Currently selected SRCREV (782224f33cd711050cbf6146a12122cd73f9136b) comes after 1.1 ima-evm-utils release, so bump PV accordingly. Signed-off-by: Dmitry Eremin-Solenikov --- .../recipes-security/ima-evm-utils/ima-evm-utils_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[yocto] [meta-integrity][PATCH 1/3] layer.conf: add dependency on meta-security

2019-07-24 Thread Dmitry Eremin-Solenikov
ima-evm-utils recipe depends on keyutils recipe which is a part of meta-security layer. Signed-off-by: Dmitry Eremin-Solenikov --- meta-integrity/conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-integrity/conf/layer.conf b/meta-integrity/conf/layer.conf index

[yocto] [PATCH 1/3] intel-media-driver: check for "opengl" feature

2019-07-24 Thread Hongxu Jia
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core, and intel-media-driver depends on libva, it should check for "opengl" feature too. Signed-off-by: Hongxu Jia --- recipes-multimedia/libva/intel-media-driver_19.2.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

[yocto] [meta-intel][PATCH 3/3] intel-graphics-compiler: skip it if clang is not ready

2019-07-24 Thread Hongxu Jia
Since intel-graphics-compiler depends on clang, skip it if clang is not ready Signed-off-by: Hongxu Jia --- recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb | 8 1 file changed, 8 insertions(+) diff --git a/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb

[yocto] [meta-intel][PATCH 2/3] intel-mediasdk: check for "opengl" feature

2019-07-24 Thread Hongxu Jia
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core, and intel-mediasdk depends on libva, it should check for "opengl" feature too. Signed-off-by: Hongxu Jia --- recipes-multimedia/mediasdk/intel-mediasdk_19.2.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [yocto] install -m 0644 ${S}/lib/systemd/system/${PN}.service ${D}/${systemd_system_unitdir} failed to add service file to ${systemd_system_unitdir}

2019-07-24 Thread Jussi Kukkonen
On Tue, 23 Jul 2019 at 14:48, JH wrote: > > Hi, > > I set up the configuration for service files at following: > > SYSTEMD_SERVICE_${PN} = "${PN}.service bootstrap.service" > > do_install() { > .. > install -d ${D}/${systemd_system_unitdir} > install -m 0644

Re: [yocto] PREMIRROR

2019-07-24 Thread Yi Zhao
On 7/24/19 4:49 AM, Russell Peterson wrote: Hello, I am looking to have bitbake pick up files for a particular recipe from a local git repository using the PREMIRROR functionality. Basically, the recipe (bb file) points to github but in my local build I add PREMIRROR_prepend = "git://.*/.*

[yocto] [meta-cloud-services][PATCH] python-dateutil: Remove the bbappend

2019-07-24 Thread mingli.yu
From: Mingli Yu The current bbappend only has below logic: CLEANBROKEN = "1" For python-dateutil, the distutils class is about to do a clean via "setup.py clean" as below logic in distutils class without CLEANBROKE = "1": distutils_do_configure() { if [ "${CLEANBROKEN}" != "1" ] ; then