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 def

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 c

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 imple

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 recip

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 > > 2018-07-1

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 la

[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&D -- ___ 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 a5dbc01b96be55c4ec2f774a

[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) | interpreter/llvm/src/tools/clang/util

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

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: [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 10/0

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 proxies/firew

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, otherwise

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 “setcap.patc

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 loca

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 ssh://use

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 myre

[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 = " \    git://user@server

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. bitbak

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:/', 'aliba

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

2018-07-10 Thread Michael Allwright
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 Michael Allwright Postdoctoral Researcher at IRIDIA Phone: +32 2 650 2273 Email: michael.allwri...@ulb.ac.be On Tue, 1

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 t