Re: [yocto] [meta-selinux][PATCH] refpolicy: Update to 20180114 release

2018-07-10 Thread Yi Zhao
Ping //Yi 在 2018年04月27日 17:30, wenzong@windriver.com 写道: From: Wenzong Fan Remove patches that included by upstream: - poky-fc-nscd.patch - poky-fc-ftpwho-dir.patch - refpolicy-update-for_systemd.patch - 0005-refpolicy-minimum-init-fix-reboot-with-systemd-as-in.patch Rebase patches: -

Re: [yocto] [PATCH] [yocto-autobuilder] init: Fix the import module yoctoabb & yocto_console_view

2018-07-10 Thread Chan, Aaron Chun Yew
Hi Richard, It appears that your using virtualenv (switch to python3) to startup your buildbot processes and not using the default python from host distribution. I am aware that you can switch interpreter to python2/3 in virtualenv. Shouldn’t we handle these for both in events users uses the

Re: [yocto] [PATCH] [yocto-autobuilder] init: Fix the import module yoctoabb & yocto_console_view

2018-07-10 Thread Richard Purdie
On Tue, 2018-07-10 at 10:47 +, Chan, Aaron Chun Yew wrote: > [Richard] I think this means you're using python2 and we really > should be using > python3 as I don't want to support both... > > [Reply] This error/bug was found during buildbot startup meaning this > is out of my

Re: [yocto] Hook for layer-only actions?

2018-07-10 Thread Jeremy Puhlman
On 7/10/2018 1:04 PM, Michael Habibi wrote: Well I should have just used what I want to actually do as the example, and not a QA action. I want to create a new type of manifest that is only my layer, that will include line items that basically has like: package name, version, download URL,

Re: [yocto] Hook for layer-only actions?

2018-07-10 Thread Michael Habibi
Well I should have just used what I want to actually do as the example, and not a QA action. I want to create a new type of manifest that is only my layer, that will include line items that basically has like: package name, version, download URL, checksum, license. I have no idea yet how to

Re: [yocto] Including a header from an external kernel module

2018-07-10 Thread Andre McCurdy
On Tue, Jul 10, 2018 at 12:11 AM, Michael Allwright wrote: > Am I correct in expecting that, if I do everything correctly, my header file > from module-a should end up in > ~/poky/build/tmp/work-shared/machine/kernel-source/include/linux/mfd No, the kernel-source directory is for the kernel

Re: [yocto] Hook for layer-only actions?

2018-07-10 Thread Burton, Ross
Hypothetically a new QA action should be added at the distro level, by writing a class and adding it to INHERIT. (I've several new QA tests added in this way) Ross On 10 July 2018 at 19:53, Alexander Kanavin wrote: > Yes. Implement a class and inherit it from the recipes. > > Alex > >

Re: [yocto] Hook for layer-only actions?

2018-07-10 Thread Alexander Kanavin
Yes. Implement a class and inherit it from the recipes. Alex 2018-07-10 20:50 GMT+02:00 Michael Habibi : > I was wondering if there is a way I can apply a global modification to all > recipes in a layer? For instance, we have our own layer for our changes that > sit on top of the base Yocto/OE

[yocto] Hook for layer-only actions?

2018-07-10 Thread Michael Habibi
I was wondering if there is a way I can apply a global modification to all recipes in a layer? For instance, we have our own layer for our changes that sit on top of the base Yocto/OE layers. What if, hypothetically, I wanted to insert a do_package_qa action globally, for everything in our layer.

[yocto] [meta-raspberrypi] dtb mising from raspberrypi3-64.conf

2018-07-10 Thread Steve Pavao
Would you please add the bcm2710-rpi-cm3.dtb to the KERNEL_DEVICETREE listing in raspberrypi3-64.conf in sumo branch? It’s missing. - Steve Pavao Korg R -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] [ANNOUNCEMENT] Milestone 1 for Yocto Project 2.6 (yocto-2.6_M1) now available

2018-07-10 Thread Tracy Graydon
We are pleased to announce the first milestone release for Yocto Project 2.6 (yocto-2.6_M1) is available for download now. Download: http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.6_M1/ poky ddbd7b0cd6580ee26e11aa87e426fb294b372d64 eclipse-poky-neon

[yocto-announce] [ANNOUNCEMENT] Milestone 1 for Yocto Project 2.6 (yocto-2.6_M1) now available

2018-07-10 Thread Tracy Graydon
We are pleased to announce the first milestone release for Yocto Project 2.6 (yocto-2.6_M1) is available for download now. Download: http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-2.6_M1/ poky ddbd7b0cd6580ee26e11aa87e426fb294b372d64 eclipse-poky-neon

[yocto] LLVM: error adding symbols: File in wrong format

2018-07-10 Thread Giordon Stark
Hi all, | /local/d4/gstark/poky/build/tmp/work/aarch64-poky-linux/root/6.14.00-r0/recipe-sysroot-native/usr/lib/libLLVMSupport.a: error adding symbols: File in wrong format | clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) |

Re: [linux-yocto] [yocto-4.14][PATCH] cfg: add fragment on kernel selftest

2018-07-10 Thread Bruce Ashfield
On 07/08/2018 11:39 PM, Hongzhi.Song wrote: When you want to run cases under tool/testing/selftest of kernel-source, these fragments are required. merged to 4.14 Bruce Signed-off-by: Hongzhi.Song --- cfg/debug-kselftest.cfg | 68 +

[yocto] [layerindex-web] RFC: layer index docker fixes

2018-07-10 Thread Paul Eggleton
Hi folks I've been trying to get the OE layer index example docker setup in shape, based upon improvements from myself, Michael and Konrad. For the moment I've taken most of what Michael and I did (with some fixes and tweaks, and broken up into smaller patches) and a few pieces of the Dockerfile

Re: [yocto] [layerindex-web][PATCH 1/6] Add docker-compose file to create full layerindex stack of MariaDB, RabbitMQ and Nginx

2018-07-10 Thread Paul Eggleton
Hi Konrad On Tuesday, 26 June 2018 7:41:30 PM CEST Konrad Scherer wrote: > Lots of new features added: > > - Layerindex runs as unprivileged user inside container > > - Celery worker is started before gunicorn > > - Entrypoint script supports changing RabbitMQ location > > - Entrypoint script

Re: [linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

2018-07-10 Thread Bruce Ashfield
On 07/10/2018 05:01 AM, Liu, Yongxin wrote: This is mainly used for Wind River intel-x86 BSP. Correct. And I had asked for this to be posted, so I could get it into the kernel-cache, where we could look for common configuration blocks, etc, and gradually move to less duplicated elements. For

Re: [yocto] SRC_URI git from ssh fails

2018-07-10 Thread Mauro Ziliani
Now it works. But it was a problem of git repository. I rebuild the SRCREC on the repository and now I acan fetch the source code. I choose this recipe method. PV="1.0" SRCREV="refs/tags/${PV}" SRC_URI = " \     git://user@server/repos.git;protocol=ssh \ " Thanks for the help MZ Il

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Chan, Aaron Chun Yew
Hi Richard, [Richard] I appreciate what you're trying to do here and make this autoconfigure. Unfortunately the urls can't always be figured out this way, the above for example drops the "/main/" part, without which the autobuilder won't work. The server can be behind forwarding or

Re: [yocto] [PATCH] [yocto-autobuilder] init: Fix the import module yoctoabb & yocto_console_view

2018-07-10 Thread Chan, Aaron Chun Yew
Hi Richard, [Richard] I think this means you're using python2 and we really should be using python3 as I don't want to support both... [Reply] This error/bug was found during buildbot startup meaning this is out of my control. Maybe you have a fix for this,

Re: [yocto] POSIX capability broken pseudo

2018-07-10 Thread Kumar, Shrawan
Any update on this ? Regards Shrawan From: Kumar, Shrawan Sent: 09 July 2018 17:17 To: 'yocto@yoctoproject.org' Cc: 'connect.shra...@gmail.com' ; 'Khem Raj' Subject: POSIX capability broken pseudo Hello Team, Under DISTRO_VERSION = "2.0.2" ("jethro"), I was using the attached

Re: [linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

2018-07-10 Thread Liu, Yongxin
This is mainly used for Wind River intel-x86 BSP. Thanks, Yongxin -Original Message- From: Anuj Mittal [mailto:anuj.mit...@intel.com] Sent: Tuesday, July 10, 2018 16:53 To: Liu, Yongxin; linux-yocto@yoctoproject.org Subject: Re: [linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Richard Purdie
On Tue, 2018-07-10 at 11:18 +0800, Aaron Chan wrote: > This patch is to enable auto-assignments buildbot URL based on Hosts FQDN. > The socket module allows the retrieval on FQDN and constructs the entire > URL by default, this default settings can be overwritten in c['buildbotURL'] > based on

Re: [linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

2018-07-10 Thread Anuj Mittal
On 07/10/2018 03:52 PM, Yongxin Liu wrote: > Create intel-x86-32/64 descriptions in yocto-kernel-cache. > These BSPs include all the core support for intel-x86 BSP. > > This is an initial step to get the machines available and testing. > > Signed-off-by: Yongxin Liu > --- >

Re: [yocto] SRC_URI git from ssh fails

2018-07-10 Thread Martin Hundebøll
Hi again, On 2018-07-10 10:37, Martin Hundebøll wrote: Hi Mauro, On 2018-07-10 10:31, Mauro Ziliani wrote: Hi all I'm working with Krogoth and imx6dlsabresd board. I'm in trouble fetching source code from a git repository via ssh. If I get manually the source codes with git clone

Re: [yocto] [PATCH] [yocto-autobuilder] init: Fix the import module yoctoabb & yocto_console_view

2018-07-10 Thread Richard Purdie
On Tue, 2018-07-10 at 11:24 +0800, Aaron Chan wrote: > This patch is to fix the inconsistency in loading custom module > yoctoabb & yocto_console_view during Buildbot Master startup. > > Signed-off-by: Aaron Chan > --- > __init__.py| 0 > yocto_console_view/__init__.py | 0 >

Re: [yocto] SRC_URI git from ssh fails

2018-07-10 Thread Martin Hundebøll
Hi Mauro, On 2018-07-10 10:31, Mauro Ziliani wrote: Hi all I'm working with Krogoth and imx6dlsabresd board. I'm in trouble fetching source code from a git repository via ssh. If I get manually the source codes with git clone ssh://user@server/repos.git -b 0.4 it works If I put it in

[yocto] SRC_URI git from ssh fails

2018-07-10 Thread Mauro Ziliani
Hi all I'm working with Krogoth and imx6dlsabresd board. I'm in trouble fetching source code from a git repository via ssh. If I get manually the source codes with git clone ssh://user@server/repos.git -b 0.4 it works If I put it in myrecipe_git.bb with SRC_URI = " \   

Re: [yocto] Keeping and modifying Source code in Yocto

2018-07-10 Thread ChenQi
On 07/10/2018 02:18 PM, Paul Eggleton wrote: On Tuesday, 10 July 2018 3:32:56 AM CEST ChenQi wrote: I usually use the following steps when I need to modify source for some purpose. 1. bitbake A (or at least bitbake A -c configure) *2. cd tmp/work/x/A/** **3. make the modification* 4.

[linux-yocto] [PATCH] intel-x86: Add intel-x86 BSPs

2018-07-10 Thread Yongxin Liu
Create intel-x86-32/64 descriptions in yocto-kernel-cache. These BSPs include all the core support for intel-x86 BSP. This is an initial step to get the machines available and testing. Signed-off-by: Yongxin Liu --- bsp/intel-x86/cfs-bandwidth.cfg | 1 +

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Chan, Aaron Chun Yew
Hi Martin, My initial concern was that `os.path.join()` was meant for OS independent path concatenation, and not constructing URLs. My two first points still stand, though... Why not just string-concatenate the separate parts; i.e. url = 'http://' + socket.getfqdn() + ':' + str(config.web_port)

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Martin Hundebøll
Hi Aaron, On 2018-07-10 08:59, Chan, Aaron Chun Yew wrote: My name is Aaron and not Aron for start Sorry about that. Martin, Please try this #!/usr/bin/env python2 import os a = os.path.join('http://', 'alibaba.com') b = '/'.join(['http://', 'alibaba.com']) c = '/'.join(['http:/',

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Chan, Aaron Chun Yew
My name is Aaron and not Aron for start Martin, Please try this #!/usr/bin/env python2 import os a = os.path.join('http://', 'alibaba.com') b = '/'.join(['http://', 'alibaba.com']) c = '/'.join(['http:/', 'alibaba.com', '']) print(a) print(b) print(c) and repeat the same for python3, I got

Re: [yocto] Keeping and modifying Source code in Yocto

2018-07-10 Thread Paul Eggleton
On Tuesday, 10 July 2018 3:32:56 AM CEST ChenQi wrote: > I usually use the following steps when I need to modify source for some > purpose. > > 1. bitbake A (or at least bitbake A -c configure) > *2. cd tmp/work/x/A/** > **3. make the modification* > 4. bitbake A -c compile -f > 5. bitbake A

[yocto] QA cycle report for 2.3.4 RC1

2018-07-10 Thread Yeoh, Ee Peng
Hello All, This is the full report for 2.3.4.rc1: https://wiki.yoctoproject.org/wiki/WW25_-_2018-06-22-_Full_Test_Cycle_-_2.3.4_rc1 === Summary All planned tests were executed. There were zero high milestone defect. Team had found 3 new defects where yocto-bsp failed to

Re: [yocto] [PATCH] [yocto-autobuilder] master.cfg: Defaults autobuilder URL based on FQDN

2018-07-10 Thread Martin Hundebøll
Hi Aron, On 2018-07-10 05:18, Aaron Chan wrote: This patch is to enable auto-assignments buildbot URL based on Hosts FQDN. The socket module allows the retrieval on FQDN and constructs the entire URL by default, this default settings can be overwritten in c['buildbotURL'] based on local

Re: [yocto] Any Linux/Yocto Image Installer (for target system)

2018-07-10 Thread Raymond Yeung
Thanks Ross. I found init-install.sh that I could relate to run-time installation offered at BOOT time. And I'd used it to install image on SSD from USB drive. Would you or anyone know where the script that formats/generates .hddimg? I'd like to see if we could customize the layout of this