[yocto] Creating fitImage output images

2019-08-22 Thread Sam Lewis
For my use case, I'd to generate an fitImage that contains a kernel, dtb & squashfs rootfs. The existing `kernel-fitimage.bbclass` class can be hacked to do what I want but it is tricky and doesn't feel quite right, as I'm not really using an initramfs. It also requires patching the

Re: [yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread JH
I just found a blog: http://bristot.me/setting-real-time-priorities-to-services-using-systemd/ Set following CPUSchedulingPriority, systemd does support priority setting, right? Or that just bogus. [Service] ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground CPUSchedulingPolicy=fifo

Re: [yocto] Build break in the latest openbmc tree.

2019-08-22 Thread akuster808
On 8/22/19 6:09 PM, Brad Bishop wrote: > at 6:38 PM, James Feist wrote: > >> On 8/22/19 3:35 PM, Jae Hyun Yoo wrote: >>> Hi brad, >> >> + The mailing list >> >>> We met a build break while making Intel platform builds. >>> ERROR: No recipes available for: >>>

Re: [yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread ChenQi
On 08/23/2019 10:58 AM, JH wrote: Thanks ChenQi, can the process priority be set in ExecStart= of the xxx.service file? Thank you. Kind regards, - jh I didn't try it out. But I think the answer is likely to be 'No'. systemd does not like the old 'nice'. So there's no mechanism integrated

Re: [yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread JH
Thanks ChenQi, can the process priority be set in ExecStart= of the xxx.service file? Thank you. Kind regards, - jh On 8/23/19, ChenQi wrote: > On 08/23/2019 05:32 AM, JH wrote: >> I have two processes launched from a service unit, how can the Yocto >> customer distro to set up

[yocto] [meta-selinux][PATCH] selinux-sandbox: add runtime dependency on python-core

2019-08-22 Thread Yi Zhao
Fixes: ERROR: QA Issue: /usr/share/sandbox/start contained in package selinux-sandbox requires /usr/bin/python, but no providers found in RDEPENDS_selinux-sandbox? [file-rdeps] Signed-off-by: Yi Zhao --- recipes-security/selinux/selinux-sandbox.inc | 1 + 1 file changed, 1 insertion(+)

[yocto] [meta-security][PATCH] openscap: add runtime dependency on bash and python3-core

2019-08-22 Thread Yi Zhao
Fixes: ERROR: QA Issue: /usr/bin/oscap-ssh contained in package openscap requires /bin/bash, but no providers found in RDEPENDS_openscap? [file-rdeps] ERROR: QA Issue: /usr/bin/scap-as-rpm contained in package openscap requires /usr/bin/python3, but no providers found in RDEPENDS_openscap?

Re: [yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread ChenQi
On 08/23/2019 05:32 AM, JH wrote: I have two processes launched from a service unit, how can the Yocto customer distro to set up high_priority_process? ExecStartPre=low_priority_priority ExecStart=high_priroty_process Thank you. Kind regards, - jh On 8/22/19, JH wrote: Hi, How to set up

Re: [yocto] Build break in the latest openbmc tree.

2019-08-22 Thread Brad Bishop
at 6:38 PM, James Feist wrote: On 8/22/19 3:35 PM, Jae Hyun Yoo wrote: Hi brad, + The mailing list We met a build break while making Intel platform builds. ERROR: No recipes available for: /home/yoojae/workspace/openbmc/meta-security/recipes-kernel/linux/linux-stable_5.2.bbappend It was

Re: [yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread JH
I have two processes launched from a service unit, how can the Yocto customer distro to set up high_priority_process? ExecStartPre=low_priority_priority ExecStart=high_priroty_process Thank you. Kind regards, - jh On 8/22/19, JH wrote: > Hi, > > How to set up process running priority for

[yocto] [meta-cgl][PATCH 1/1] crmsh: and RDEPENDS on bash

2019-08-22 Thread Joe Slater
Several test scripts need /bin/bash instead of /bin/sh. Signed-off-by: Joe Slater --- meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb

Re: [yocto] assembling lvm disk images

2019-08-22 Thread Adriana Kobylak
"Schmitt, Richard" wrote on 08/22/2019 09:28:23 AM: From: "Schmitt, Richard" To: Brad Bishop , OpenBMC Maillist , "yocto@yoctoproject.org" Cc: Adriana Kobylak Date: 08/22/2019 09:28 AM Subject: [EXTERNAL] RE: [yocto] assembling lvm disk images Not sure the type of lvm you're trying to

Re: [yocto] assembling lvm disk images

2019-08-22 Thread Brad Bishop
at 10:28 AM, Schmitt, Richard wrote: Not sure the type of lvm you're trying to use, but we successfully build a dm-verity rootfs offline. It probably is specific to what type of lvm you are using. Rich Thanks for the reply Rich! I’m not exactly sure what is meant by LVM type. If I look

Re: [yocto] wic create - bad ownership of directories inside image

2019-08-22 Thread Behnke, Jochen
Hello Randy, thanks for your reponse and sorry for my late reaction. In order to test, if the problem can be reproduced reliably, I performed a clean rebuild as follows $ source oe-init-build-env build-tca5-32 $ rm -rf tmp $ rm -rf sstate-cache $ bitbake core-image-minimal $ wic create

Re: [yocto] assembling lvm disk images

2019-08-22 Thread Schmitt, Richard
Not sure the type of lvm you're trying to use, but we successfully build a dm-verity rootfs offline. It probably is specific to what type of lvm you are using. Rich -Original Message- From: yocto-boun...@yoctoproject.org On Behalf Of Brad Bishop Sent: Thursday, August 22, 2019 9:13

[yocto] assembling lvm disk images

2019-08-22 Thread Brad Bishop
Does anyone have any experience with assembling an lvm disk image from a bitbake task? My naiive approach to this would be to invent and implement an IMAGE_FSTYPE that builds up the image in a do_image_foo task. But the LVM userspace tools don’t do offline mode so this seems to require

[yocto] Avoid glibc-dev in the final image

2019-08-22 Thread Mauro Ziliani
Hi all. I need to understand which recipe put glibc-dev in the production image. I put IMAGE_FEATURES_remove =" dev-pkgs dbg-pkgs " and I remove every reference to some -dev package. But I have some recipe that include glibc-dev How can I discover this? I'm using a mixed Jethto/Krogoth

Re: [yocto] libGL missing. Which packages bring it?

2019-08-22 Thread Mauro Ziliani
I try, but don't find it. So I studied the setup.py of kivy and I set correctly all variables Now I can build successfulliy Kivy 1.11.1 for raspberrypi3. MZ Il 22/08/19 13:55, Erik Hoogeveen ha scritto: > Hi Mauro, > > Have you tried searching the layer index? >

Re: [yocto] libGL missing. Which packages bring it?

2019-08-22 Thread Erik Hoogeveen
Hi Mauro, Have you tried searching the layer index? https://layers.openembedded.org/ Cheers, Erik On 21 Aug 2019, 11:11 +0200, Mauro Ziliani , wrote: Hi all I try to compile kivy for Pyro and Python3 for framebuffer con RPi3. The builder cannot find libGL and -lGL linker fails. Which are the

[yocto] [meta-cgl][PATCH] kernel: fix the recipe that changes signatures

2019-08-22 Thread Li Zhou
When test using "yocto-check-layer-wrapper .../meta-cgl --dependency xxx", error occurs: FAIL: test_signatures (common.CommonCheckLayer) linux-yocto:do_fetch: 84ac07191eb371845b8773179913d4f1 -> c36d7d453aca36c5e8dd30644a2e9963 ... basehash changed from 3a89fab4c77b51a9ef3ece5eb1270759

[yocto] Can Yocto build to set up process running priority in service?

2019-08-22 Thread JH
Hi, How to set up process running priority for services in Yocto build using renice or some method? Thank you. Kind regards, - jupiter -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] [meta-selinux][PATCH 1/2] selinux-python: add python-core as runtime dependency

2019-08-22 Thread Yi Zhao
Fix QA issues: QA Issue: /usr/lib64/python2.7/site-packages/seobject.py contained in package selinux-python requires /usr/bin/python, but no providers found in RDEPENDS_selinux-python? [file-rdeps] QA Issue: /usr/bin/audit2allow contained in package selinux-python-audit2allow requires

[yocto] [meta-selinux][PATCH 2/2 V2] setools: do not use unstable github archive tarballs

2019-08-22 Thread Yi Zhao
From: Hongxu Jia Since commit [21f84fc insane: add sanity checks to SRC_URI] applied in oe-core, do not use unstable github archive tarballs SETools has moved from https://github.com/TresysTechnology/setools to https://github.com/SELinuxProject/setools See: