[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 kernel-fitimage.bbclass file to
allow non cpio initramfs file types to be included in the resulting
fitimage.

Would the approach of adding a new, more customisable, fitImage image class
be a better method to achieve this? Or is sticking with the kernel-fitimage
the correct approach?

I noticed xilinx had a xilinx-fitimage image class in their meta-xilinx
repo that appears to be much of what I want, so could prove to be a good
starting place if the separate image type is a better way of proceeding:
https://github.com/Xilinx/meta-xilinx/blob/61e3825585a5616a01de9a2570b81cf9c8a91bb3/classes/xilinx-fitimage.bbclass
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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
CPUSchedulingPriority=20

Thank you.

- jh

On 8/23/19, ChenQi  wrote:
> 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
> in systemd.
> You can use more modern way of CPUWeight, which makes use cgroup
> mechanism. Check systemd.recource-control(5) for more info.
>
> Best Regards,
> Chen Qi
>
>> 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 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 services in Yocto build
> using renice or some method?
>
> Thank you.
>
> Kind regards,
>
> - jupiter
>
>>> Not sure about your exact needs. But as far as I know, nice value is
>>> inherited. You can just set it for the shell that starts a yocto build.
>>> If you are using some scripts, the same logic holds.
>>>
>>> Best Regards,
>>>
>>> Chen Qi
>>>
>>>
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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:
>>> /home/yoojae/workspace/openbmc/meta-security/recipes-kernel/linux/linux-stable_5.2.bbappend
>>> It was added by the subtree update patch but there is no main recipe
>>> for it. Did we miss something?
>>> Thanks,
>>> Jae
>
> Hi Jae
>
> linux-stable is in meta-odroid:
> https://lists.yoctoproject.org/pipermail/yocto/2019-August/046424.html
>
> It isn’t clear to me if meta-security is supposed to have a hard
> dependency on meta-odroid or not.
It should not. The is bad behavior and I wanted to avoid such an issue.
meta-security is a s/w layer and should be BSP neutral.  I did not
achieve that.
>
> Hi Armin
>
> Could you suggest what the right thing to do here might be?
Yeah, i believe the recipe in meta-security should be linux-%.* . My
testing unfortunately kept the meta-odroid layer included so its a false
positive. Not my intent . I know the qemu machines should build clean
with any changes in that layer.

I am testing changes now to correct his issue.

- armin
>
> thx!
> brad


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 
in systemd.
You can use more modern way of CPUWeight, which makes use cgroup 
mechanism. Check systemd.recource-control(5) for more info.


Best Regards,
Chen Qi


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 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 services in Yocto build
using renice or some method?

Thank you.

Kind regards,

- jupiter


Not sure about your exact needs. But as far as I know, nice value is
inherited. You can just set it for the shell that starts a yocto build.
If you are using some scripts, the same logic holds.

Best Regards,

Chen Qi




--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 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 services in Yocto build
>>> using renice or some method?
>>>
>>> Thank you.
>>>
>>> Kind regards,
>>>
>>> - jupiter
>>>
> Not sure about your exact needs. But as far as I know, nice value is
> inherited. You can just set it for the shell that starts a yocto build.
> If you are using some scripts, the same logic holds.
>
> Best Regards,
>
> Chen Qi
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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(+)

diff --git a/recipes-security/selinux/selinux-sandbox.inc 
b/recipes-security/selinux/selinux-sandbox.inc
index 8616dd7..854640c 100644
--- a/recipes-security/selinux/selinux-sandbox.inc
+++ b/recipes-security/selinux/selinux-sandbox.inc
@@ -13,6 +13,7 @@ SRC_URI += "file://sandbox-de-bashify.patch \
 DEPENDS += "libcap-ng libselinux"
 
 RDEPENDS_${PN} += "\
+python-core \
 python-math \
 python-shell \
 python-subprocess \
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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?  [file-rdeps]

Signed-off-by: Yi Zhao 
---
 meta-security-compliance/recipes-openscap/openscap/openscap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-security-compliance/recipes-openscap/openscap/openscap.inc 
b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
index 53309e8..49e0855 100644
--- a/meta-security-compliance/recipes-openscap/openscap/openscap.inc
+++ b/meta-security-compliance/recipes-openscap/openscap/openscap.inc
@@ -50,6 +50,6 @@ do_install_append_class-native () {
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
 
-RDEPENDS_${PN} += "libxml2 python3 libgcc"
+RDEPENDS_${PN} += "libxml2 python3-core libgcc bash"
 
 BBCLASSEXTEND = "native"
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 process running priority for services in Yocto build
using renice or some method?

Thank you.

Kind regards,

- jupiter

Not sure about your exact needs. But as far as I know, nice value is 
inherited. You can just set it for the shell that starts a yocto build. 
If you are using some scripts, the same logic holds.


Best Regards,

Chen Qi

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 added by the subtree update patch but there is no main recipe for  
it. Did we miss something?

Thanks,
Jae


Hi Jae

linux-stable is in meta-odroid:
https://lists.yoctoproject.org/pipermail/yocto/2019-August/046424.html

It isn’t clear to me if meta-security is supposed to have a hard dependency  
on meta-odroid or not.


Hi Armin

Could you suggest what the right thing to do here might be?

thx!
brad
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 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-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 
b/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
index 7563c99..040b4d3 100644
--- a/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
+++ b/meta-cgl-common/recipes-cgl/crmsh/crmsh_3.0.3.bb
@@ -11,7 +11,7 @@ DEPENDS = "asciidoc-native \
libxslt-native \
python-setuptools-native \
"
-RDEPENDS_${PN} = "pacemaker python-lxml gawk"
+RDEPENDS_${PN} = "pacemaker python-lxml gawk bash"
 
 S = "${WORKDIR}/git"
 SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=crmsh-3.0 \
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 use, but we successfully
build a dm-verity rootfs offline.

It probably is specific to what type of lvm you are using.


We were thinking lvm2. Is there a link or steps you could share
on how you're generating the rootfs image?



Rich


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 at the wikipedia  
page on devicemapper (https://en.wikipedia.org/wiki/Device_mapper) it lists  
a number of “mapping targets” - are these the LVM types?  If it is, we’d be  
looking at linear mapping.


The broader objective is to have a system with multiple root filesystems on  
a 16 GB EMMC device, and be able to add/remove/resize additional  
filesystems using the LVM2 userspace tools, much like a typical binary  
desktop distro would configure your hard drive.


thx - brad
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 mkefidisk -e core-image-minmal

I then mounted the resulting image file "mkefidisk-201908221701-sda.direct" 
using a loopback device (losetup)
Inside the Image all directories have UID/GID 1000/1000, which corresponds to 
my host user.
Files however have UID/GID 0/0.

So the answer to your question is "yes I can reproduce the behavior".

One sidenote
- I am using an appended core-image-minimal not the default
- In my other image I am using qt5 (v5.12)



Regards
Jochen

On 8/12/19 5:11 AM, Behnke, Jochen wrote:
> Hello,
>
> I am using poky 2.6.1 (thud) and create images using the wic utility.
>
> Recently I noticed that all directories contained in the created image
> are owned by UID 1000 and not by root. The files inside the image
> however are owned by root.
>
> The UID 1000 refers to my unprivileged user on the host system.
>
> Here is the command I use to create the image
>
> "wic create mkefidisk -e core-image-minimal"
>
> The images created by bitbake directly (.tar.bz2, .hddimg) are correct
> so this seems to be a wic related problem.
>
> Does anybody have a solution for this?

Hi Jochen,

No and I've never seen this particular extreme symptom.

There is a known, generally rare bug:
Bug 12434 - pseudo: Incorrect UID/GID in packaged files
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12434
but that usually shows up when building.

You could check you build logs for the generic stings from:

glibc-locale-2.26: glibc-locale:
/glibc-binary-localedata-en-gb/usr/lib/locale/en_GB/LC_MEASUREMENT
is owned by uid 3004, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]


Is your issue 100% reproducible?

../Randy


>
> Many thanks in advance, any hint is appreciated.
>
> Regards
>
> Jochen
>
> 
>
>
> __
> *SCHMIDT Technology GmbH*
> Feldbergstrasse 1
> 78112 St. Georgen/Germany
> Telefon +49 (0) 77 24 / 89 90
> Fax +49 (0) 77 24 / 89 91 01
> i...@schmidttechnology.de 
> http://www.schmidttechnology.de
>
> USt-Id Nr. DE 811725105 . Registergericht Freiburg HRB 600 755
> Geschaeftsfuehrung: Oliver Schmidt, Stephan Schmidt
>
> 
>
>
>


--
# Randy MacLeod
# Wind River Linux


__
SCHMIDT Technology GmbH
Feldbergstrasse 1
78112 St. Georgen/Germany
Telefon +49 (0) 77 24 / 89 90
Fax +49 (0) 77 24 / 89 91 01
i...@schmidttechnology.de
http://www.schmidttechnology.de

USt-Id Nr. DE 811725105 · Registergericht Freiburg HRB 600 755
Geschaeftsfuehrung: Oliver Schmidt, Stephan Schmidt



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 AM
To: OpenBMC Maillist ; yocto@yoctoproject.org
Cc: Adriana Kobylak 
Subject: [yocto] assembling lvm disk images

Message received from external source. Exercise caution when opening 
attachments, clicking links, or exchanging information.

 

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  
the use of things like loopback devices and sudo.  Is that a can of worms?   
Does anyone have any advice on how to do something like this?  Pointers to 
something similar?

thx!

brad
--
___
yocto mailing list
yocto@yoctoproject.org
https://secure-web.cisco.com/112-av8EDIIIXbY8hSie1QXvWpyo50KqnDKAC8NbS9qgDn37io8Zv_suDoLW9dWTjOdYQ__pk66cgs39dsrNEMtlM96f9mrCatyBClf_7z3km1TdaWvXKZaXYsqszDsd07e0rvLw1EMG0daApJ0KFgsP6hQXYC-fMhzWNeWekukRFMHYAkVcCXUREGfm9KGiLxcW26h_iRDm51IG2lN5A81OvycswnfyhsJoooxYdx0HFpnq8OyucWvHvAFGP9xlw8PTAFtGGlWTnNPcYNo8pv_-4WmojctwMqxF0thWJ-H4la1UV7_r0xUBfBx5cphpO/https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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  
the use of things like loopback devices and sudo.  Is that a can of worms?   
Does anyone have any advice on how to do something like this?  Pointers to  
something similar?


thx!

brad
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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 BSP


M

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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?
> 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 packages that give libGL?
>>
>>
>> Best regards
>>
>>     Mauro
>>
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyoctodata=02%7C01%7C%7Cc559b878bb3e4a61e35908d7261787b0%7C84df9e7fe9f640afb435%7C1%7C0%7C637019754810083255sdata=ggeG6LliIFYT53MEGDuc2LT%2FuxtGGCIAgpvskS76ro8%3Dreserved=0
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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 packages that give libGL?


Best regards

Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyoctodata=02%7C01%7C%7Cc559b878bb3e4a61e35908d7261787b0%7C84df9e7fe9f640afb435%7C1%7C0%7C637019754810083255sdata=ggeG6LliIFYT53MEGDuc2LT%2FuxtGGCIAgpvskS76ro8%3Dreserved=0
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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 to 
1e9697c5c2a85520ea36ec5845125f8e
  Variable SRC_URI value changed:...

test_signatures are tests to be sure that BSP and DISTRO layers do not
come with recipes that change signatures, so here remove the NULL
SRC_URI operation.

Signed-off-by: Li Zhou 
---
 meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend 
b/meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend
index 9d1735f..2b9c157 100644
--- a/meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend
+++ b/meta-cgl-common/recipes-kernel/linux/linux-yocto_4.%.bbappend
@@ -1,3 +1 @@
 require cgl-common.inc
-
-SRC_URI += ""
-- 
1.9.1

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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 /usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-audit2allow? [file-rdeps]
QA Issue: /usr/bin/chcat contained in package selinux-python-chcat requires 
/usr/bin/python,
   but no providers found in RDEPENDS_selinux-python-chcat? [file-rdeps]

Signed-off-by: Yi Zhao 
---
 recipes-security/selinux/selinux-python.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-security/selinux/selinux-python.inc 
b/recipes-security/selinux/selinux-python.inc
index c774de4..57042ab 100644
--- a/recipes-security/selinux/selinux-python.inc
+++ b/recipes-security/selinux/selinux-python.inc
@@ -15,11 +15,13 @@ inherit python-dir
 
 DEPENDS += "python-native libsepol"
 RDEPENDS_${BPN}-audit2allow += "\
+python-core \
 python-textutils \
 libselinux-python \
 ${BPN}-sepolgen \
 "
 RDEPENDS_${BPN}-chcat += "\
+python-core \
 python-codecs \
 python-shell \
 python-stringold \
@@ -28,6 +30,7 @@ RDEPENDS_${BPN}-chcat += "\
 ${BPN} \
 "
 RDEPENDS_${BPN} += "\
+python-core \
 python-codecs \
 python-io \
 python-ipy \
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[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: https://github.com/TresysTechnology/setools/wiki

Signed-off-by: Hongxu Jia 
Signed-off-by: Yi Zhao 
---
 recipes-security/setools/setools_4.1.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-security/setools/setools_4.1.1.bb 
b/recipes-security/setools/setools_4.1.1.bb
index c5a2d34..db529f4 100644
--- a/recipes-security/setools/setools_4.1.1.bb
+++ b/recipes-security/setools/setools_4.1.1.bb
@@ -8,14 +8,14 @@ SETools."
 SECTION = "base"
 LICENSE = "GPLv2 & LGPLv2.1"
 
-SRC_URI = 
"https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz;downloadfilename=setools-${PV}.tar.gz
 \
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.1 \
file://setools4-fixes-for-cross-compiling.patch \
file://setools4-fix-cross-compiling-errors-for-powerpc-mips.patch \
file://Fix-build-failure-with-GCC-7-due-to-possible-truncat.patch \
 "
 
-SRC_URI[md5sum] = "54cf5c0ca2aa4ef7c6ac153981af34cd"
-SRC_URI[sha256sum] = 
"46a927ea2b163cbe1d35cc35da43e45853e13720c7e02d4cf75a498783c19610"
+SRCREV = "e03617eb7ab5a035633bff66500b95d25232e331"
 
 LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \
 
file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto