[yocto] do_populate_sdk_ext always being triggered

2017-09-27 Thread Andrea Galbusera
I noticed that periodically running 'bitbake -c do_populate_sdk_ext' for an image in my CI loop does always trigger the task to be executed even if no changes where applied either to metadata or to the configuration between two iterations. Is this expected? If so, why? Shouldn't SDK artifacts explo

Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)

2017-09-27 Thread Burton, Ross
On 27 September 2017 at 13:57, Bryan Evenson wrote: > > Feel free to compress and email it directly to me, but simply grepping for > EINVAL (invalid argument error) might be enough. > > > > I did a search on EINVAL and I got a bunch of entries of that look like > this: > > > > linkat(AT_FDCWD,

Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)

2017-09-27 Thread Bryan Evenson
Ross, From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Tuesday, September 26, 2017 6:15 PM To: Bryan Evenson Cc: yocto@yoctoproject.org Subject: Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows) On 26 September 2017 at 22:01, Bryan Evenson mail

[yocto] SocketCan support for Yocto

2017-09-27 Thread Subramanian Ramachandran
Hi Yocto Team, I am using a custom Yocto linux distribution for my project and am interested in implementing socket can support for it. I understand that socketcan is a kernel feature and needs to be included at build time while using the bitbake/toaster toolset. The default yocto distribution

[yocto] do_configure error

2017-09-27 Thread mohammed aqdam
Hi all, i was trying to build rpi-test-image for my rpi3. i'm getting the following error... root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k rpi-test-image Loading cache: 100% |###

[yocto] want to execute a script having sudo : sudo cryptsetup

2017-09-27 Thread Kumar, Shrawan
Hello Team , I am trying to achieve below from yocto , do we have a way ? dd if=/dev/zero of=hello.enc bs=4k count=$400 mknod /dev/loop_dev_0 losetup /dev/loop_dev_0 hello.enc sudo cryptsetup --type=plain open /dev/loop_dev_0 plainMap < $2 Thanks and Regards Shrawan -- __

[yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Martin Jansa
* this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. * this makes qtbase and everything which depends on some qt* recipe to be effectivelly MACHINE_ARCH Signed-off-by: Martin Jansa --- dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 3 --- 1 file changed, 3 deletions(-)

Re: [yocto] want to execute a script having sudo : sudo cryptsetup

2017-09-27 Thread John Finley
Try making it so the user doing the build is not prompted for a password when they do "sudo". I have this in my vm: john@vbox-ubuntu-16$ cat /etc/sudoers.d/john john ALL=(ALL) NOPASSWD: ALL john@vbox-ubuntu-16$ I don't know if that's all that's needed; I have to google it every time. O

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Andrei Gherzan
On Wed, Sep 27, 2017 at 4:23 PM, Martin Jansa wrote: > * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. > * this makes qtbase and everything which depends on some qt* recipe to > be effectivelly MACHINE_ARCH > > Signed-off-by: Martin Jansa > --- > dynamic-layers/qt5-layer/recip

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Khem Raj
On Wed, Sep 27, 2017 at 10:17 AM Andrei Gherzan wrote: > On Wed, Sep 27, 2017 at 4:23 PM, Martin Jansa > wrote: > >> * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. >> * this makes qtbase and everything which depends on some qt* recipe to >> be effectivelly MACHINE_ARCH >> >> S

Re: [yocto] want to execute a script having sudo : sudo cryptsetup

2017-09-27 Thread Khem Raj
On Wed, Sep 27, 2017 at 9:21 AM John Finley wrote: > Try making it so the user doing the build is not prompted for a password > when they do "sudo". I have this in my vm: > I think you can leverage pseudo tool to emulate the root user during build john@vbox-ubuntu-16$ cat /etc/sudoers.d/joh

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Otavio Salvador
Hello Andrei, On Wed, Sep 27, 2017 at 2:13 PM, Andrei Gherzan wrote: > On Wed, Sep 27, 2017 at 4:23 PM, Martin Jansa > wrote: >> >> * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. >> * this makes qtbase and everything which depends on some qt* recipe to >> be effectivelly MACHI

Re: [yocto] want to execute a script having sudo : sudo cryptsetup

2017-09-27 Thread John Finley
pseudo can't do some of the cryptsetup functions that really require root, or at least I could not convince it to. Using sudo is not so good, but I don't think there's an easy way around it for the cryptsetup stuff. On Wed, Sep 27, 2017 at 10:22 AM, Khem Raj wrote: > > On Wed, Sep 27, 2017 at 9:

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Otavio Salvador
On Wed, Sep 27, 2017 at 2:20 PM, Khem Raj wrote: > > On Wed, Sep 27, 2017 at 10:17 AM Andrei Gherzan wrote: >> >> On Wed, Sep 27, 2017 at 4:23 PM, Martin Jansa >> wrote: >>> >>> * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. >>> * this makes qtbase and everything which depends o

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Martin Jansa
On Wed, Sep 27, 2017 at 02:23:43PM -0300, Otavio Salvador wrote: > Hello Andrei, > > On Wed, Sep 27, 2017 at 2:13 PM, Andrei Gherzan wrote: > > On Wed, Sep 27, 2017 at 4:23 PM, Martin Jansa > > wrote: > >> > >> * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. > >> * this makes qtb

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Otavio Salvador
Hello Martin, On Wed, Sep 27, 2017 at 2:34 PM, Martin Jansa wrote: ... >> Martin, do you have any idea how other alternative we have? > > In theory you can set QT_PACKAGES_ARCH to MACHINE_ARCH in rpi-base.inc > to make it explicit, but that's also really bad (as e.g. rpi2 and rpi3 > will each bui

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Otavio Salvador
On Wed, Sep 27, 2017 at 3:53 PM, Manjukumar Harthikote Matha wrote: ... >> https://github.com/Freescale/meta-freescale/blob/master/classes/fsl-dynamic- >> packagearch.bbclass >> >> Something like this? >> > > This is very useful, can this concept be upstreamed to OE-Core? I think so; if people ag

Re: [yocto] do_populate_sdk_ext always being triggered

2017-09-27 Thread Paul Eggleton
Hi Andrea, On Wednesday, 27 September 2017 10:17:42 PM NZDT Andrea Galbusera wrote: > I noticed that periodically running 'bitbake -c do_populate_sdk_ext' for an > image in my CI loop does always trigger the task to be executed even if no > changes where applied either to metadata or to the config

Re: [yocto] SocketCan support for Yocto

2017-09-27 Thread Rudolf Streif
Subbu, You need to enable the CAN subsystem in the Linux kernel: CONFIG_CAN=y (or m if you prefer a module) CONFIG_NET=y must be enabled for this (but is by default). You did not specify if you are using a particular CAN hardware that supports socket CAN. If so you need to enable the driver fo

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Otavio Salvador
On Wed, Sep 27, 2017 at 5:14 PM, Manjukumar Harthikote Matha wrote: >> -Original Message- >> From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] >> Sent: Wednesday, September 27, 2017 12:23 PM >> To: Manjukumar Harthikote Matha >> Cc: Khem Raj ; yo...@lists.yoctoproject.org; O

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Trevor Woerner
On Wed, Sep 27, 2017 at 3:22 PM, Otavio Salvador wrote: >> This is very useful, can this concept be upstreamed to OE-Core? > > I think so; if people agree with this concept I can work in upstreaming it. > > There is also the machine-overrides-extender.bbclass[1] which allows > for overrides to be

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Manjukumar Harthikote Matha
Hi Otavio, > -Original Message- > From: Otavio Salvador [mailto:otavio.salva...@ossystems.com.br] > Sent: Wednesday, September 27, 2017 12:23 PM > To: Manjukumar Harthikote Matha > Cc: Khem Raj ; yo...@lists.yoctoproject.org; Otavio > Salvador > Subject: Re: [yocto] [meta-raspberrypi][PA

Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)

2017-09-27 Thread Bryan Evenson
Ross, From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Wednesday, September 27, 2017 9:06 AM To: Bryan Evenson Cc: yocto@yoctoproject.org Subject: Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows) On 27 September 2017 at 13:57, Bryan Evenson m

Re: [yocto] Errors building with Windows Subsystem for Linux (aka Bash on Ubuntu on Windows)

2017-09-27 Thread Burton, Ross
On 27 September 2017 at 21:59, Bryan Evenson wrote: > > I think I found the problem. I started looking at more file properties > for the files that worked and the ones that didn’t, and I noticed that all > the ones that failed show a link count of 1024. The Windows filesystem has > a link limit

[yocto] advice on recipe for shared lib mDNSResponder

2017-09-27 Thread Steve Pavao
Hello, I am fairly new to Yocto, yet have been able to successfully add a custom kernel object to my Yocto poky build, no problem. However, I am having some difficulty adding a shared library, namely mDNSResponder. Right now, my recipe is very simple and does not use autotools. There are just

Re: [yocto] advice on recipe for shared lib mDNSResponder

2017-09-27 Thread Andre McCurdy
On Wed, Sep 27, 2017 at 3:58 PM, Steve Pavao wrote: > Hello, > > I am fairly new to Yocto, yet have been able to successfully add a custom > kernel object to my Yocto poky build, no problem. However, I am having some > difficulty adding a shared library, namely mDNSResponder. > > Right now, my

Re: [yocto] [meta-raspberrypi][PATCH] Revert "qtbase: Enable EGLFS support"

2017-09-27 Thread Manjukumar Harthikote Matha
Hi Otavio, > -Original Message- > From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] > On Behalf Of Otavio Salvador > Sent: Wednesday, September 27, 2017 10:29 AM > To: Khem Raj > Cc: yo...@lists.yoctoproject.org; Otavio Salvador > Subject: Re: [yocto] [meta-ras

[yocto] meta-intel has been split into meta-dpdk and meta-intel-qat

2017-09-27 Thread Saul Wold
In an effort to create more consistency in Yocto Project layer, we are splitting the meta-intel to remove some application/libraries that should really be in their own layers. The new meta-dpdk will serve as a place for the Linux Foundation's DPDK project to host meta-data. The meta-intel-qat

Re: [yocto] [meta-intel] meta-intel has been split into meta-dpdk and meta-intel-qat

2017-09-27 Thread Lai Eddy
is this mean I don't need meta-intel anymore? (but still can be found in the git) just choose to use meta-dpdk and/or meta-intel-qat 2017-09-28 11:27 GMT+08:00 Saul Wold : > > In an effort to create more consistency in Yocto Project layer, we are > splitting the meta-intel to remove some applicat

Re: [yocto] Fwd: do_configure error

2017-09-27 Thread Khem Raj
On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross wrote: > On 23 September 2017 at 06:56, mohammed aqdam > wrote: >> >> i'm getting the following error... >> >> root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k >> rpi-test-image > > > >> configure: error: you should not run config

Re: [yocto] [meta-intel] meta-intel has been split into meta-dpdk and meta-intel-qat

2017-09-27 Thread Saul Wold
On Thu, 2017-09-28 at 11:32 +0800, Lai Eddy wrote: > is this mean I don't need meta-intel anymore? (but still can be found > in the git) > just choose to use meta-dpdk and/or meta-intel-qat > If you are building an Intel target, I would suggest you still use meta-intel. The DPDK and QAT are speci