Re: [yocto] [Yocto] Checking sstate mirror is hanging at 100%

2017-10-31 Thread Vineeth Karumanchi
On 11/1/2017 12:11 AM, Andre McCurdy wrote: It looks like the logic in the wget fetcher retries once, so if it's getting stuck then that seems like a genuine bug. Vineeth, are you sure it's really continuously retrying? Yes, I see continuous retry of wget of same sstate files. The fetcher

[linux-yocto] [linux-yocto-4.12][PATCH 1/1] ide:ide-cd: fix kernel panic resulting from missing scsi_req_init

2017-10-31 Thread Hongxu Jia
Since we split the scsi_request out of struct request, while the standard prep_rq_fn builds 10 byte cmds, it missed to invoke scsi_req_init() to initialize certain fields of a scsi_request structure (.__cmd[], .cmd, .cmd_len and .sense_len but no other members of struct scsi_request). An example

Re: [yocto] ptest - single package

2017-10-31 Thread Dave Cobbley
Ross, That works great. Thanks, -Dave On 10/31/2017 03:43 PM, Burton, Ross wrote: On 31 October 2017 at 21:51, Dave Cobbley > wrote: Hey, I am trying to add a single ptest to my image without adding all

Re: [yocto] ptest - single package

2017-10-31 Thread Burton, Ross
On 31 October 2017 at 21:51, Dave Cobbley wrote: > Hey, > > I am trying to add a single ptest to my image without adding all ptests > from all other packages in my distro. > > https://wiki.yoctoproject.org/wiki/Ptest only has instructions to add > ptest-pkgs, but

[yocto] ptest - single package

2017-10-31 Thread Dave Cobbley
Hey, I am trying to add a single ptest to my image without adding all ptests from all other packages in my distro. https://wiki.yoctoproject.org/wiki/Ptest only has instructions to add ptest-pkgs, but this is too large for my embedded platform. How can I install ptest-runner plus the

Re: [yocto] about add python3 modules

2017-10-31 Thread Lai Y.C.
Hi Ross, Thanks! It works well after I added python3-misc. //Ying 2017-10-31 0:02 GMT+01:00 Burton, Ross : > Hi, > > 1.7.1 is pretty old, there were some packaging problems. Try adding > python3-misc to the image too. > > If that doesn't work, use 'oe-pkgdata-util

[yocto] [ptest-runner] utils.c: Prefer monotonic clock to calculate elapsed time

2017-10-31 Thread Jeffrey Pautler
The current implementation uses the system clock to calculate how long a ptest has been running with no output. If a ptest changes the system clock as part of the test, that can cause the current implementation to falsely trigger a timeout or miss an actual timeout. It is preferrable to use a

Re: [yocto] [Yocto] Checking sstate mirror is hanging at 100%

2017-10-31 Thread Andre McCurdy
>> >> It looks like the logic in the wget fetcher retries once, so if it's getting >> stuck >> then that seems like a genuine bug. >> >> Vineeth, are you sure it's really continuously retrying? > Yes, I see continuous retry of wget of same sstate files. The fetcher explicitly tries to avoid that

Re: [yocto] Using site.conf

2017-10-31 Thread Khem Raj
On Tue, Oct 31, 2017 at 7:25 AM Burton, Ross wrote: > On 31 October 2017 at 14:15, Michael Habibi wrote: > >> Is there an example of this somewhere? I haven't had any luck in >> documentation or example code to see how to make the site.conf be used.

[yocto] [layerindex-web][patch v1 1/1] templates/layerindex/classes.html: Add bbclass search

2017-10-31 Thread Amanda Brindle
Add another tab to search for classes. Fixes [YOCTO #11207] Signed-off by: Amanda Brindle --- layerindex/restviews.py| 10 - layerindex/urls.py | 3 ++ layerindex/urls_branch.py | 6 ++- layerindex/views.py|

[yocto] [layerindex-web][patch v1 0/1]

2017-10-31 Thread Amanda Brindle
The following changes since commit 44386eea41a8e1bb8a3ab831613cfc1a19ff6ecd: querysethelper: fix searching (2017-10-31 09:58:30 +1300) are available in the git repository at: git://git.yoctoproject.org/layerindex-web abrindle/bbclass_search

Re: [yocto] Using site.conf

2017-10-31 Thread Michael Habibi
Ok thanks! I think I mistakenly thought that I needed to have it be called site.conf.sample, and it will copy the sample into the .conf file in the build/conf area. On Tue, Oct 31, 2017 at 9:24 AM, Burton, Ross wrote: > On 31 October 2017 at 14:15, Michael Habibi

Re: [yocto] Can't run "-c devshell" - "Must be connected to a terminal"

2017-10-31 Thread Adam Lee
Not sure what has changed. I attached another terminal to the existing container and it works fine.. Don't know what went wrong with the original one. Weird. Thanks for paying attention to my thread Khem. Adam On Mon, Oct 30, 2017 at 7:29 PM Khem Raj wrote: > On Mon, Oct

Re: [linux-yocto] Custom wic imager plugin

2017-10-31 Thread Ed Bartosh
On Sun, Oct 29, 2017 at 10:03:46PM -0400, Paul Knopf wrote: > I am able to create and use custom source plugins for wic, all good. > > However, I can't figure out how to use a custom imager plugin. The code has > support for it, but it is hard-coded to use "direct" as the plugin. There > is no

Re: [yocto] Using site.conf

2017-10-31 Thread Burton, Ross
On 31 October 2017 at 14:15, Michael Habibi wrote: > Is there an example of this somewhere? I haven't had any luck in > documentation or example code to see how to make the site.conf be used. > > site.conf is loaded if it is present in a conf/ directory anywhere. I have a

Re: [yocto] Using site.conf

2017-10-31 Thread Tim Orling
http://www.yoctoproject.org/docs/2.4/mega-manual/mega-manual.html#user-configuration On Tue, Oct 31, 2017 at 7:15 AM Michael Habibi wrote: > Is there an example of this somewhere? I haven't had any luck in > documentation or example code to see how to make the site.conf be

Re: [yocto] Using site.conf

2017-10-31 Thread Michael Habibi
Is there an example of this somewhere? I haven't had any luck in documentation or example code to see how to make the site.conf be used. On Mon, Oct 30, 2017 at 6:16 PM, Khem Raj wrote: > On Fri, Oct 27, 2017 at 11:59 AM, Michael Habibi > wrote: > >

Re: [yocto] Bitwise Operations in BBClass

2017-10-31 Thread Burton, Ross
Two options: 1) fix the bug 2) write the logic in a Python function On 31 October 2017 at 11:38, Ayoub Zaki wrote: > Hi, > > > On 31.10.2017 12:34, Burton, Ross wrote: > >> That would be https://bugzilla.yoctoproject.org/show_bug.cgi?id=11314, >> $(( isn't supported by

Re: [yocto] Bitwise Operations in BBClass

2017-10-31 Thread Ayoub Zaki
Hi, On 31.10.2017 12:34, Burton, Ross wrote: That would be https://bugzilla.yoctoproject.org/show_bug.cgi?id=11314, $(( isn't supported by our shell parser. Shouldn't be that difficult to fix in bitbake. Any workarrounds for that problem ? I tried with expr but it does not recognize bitwise

[yocto] Bitwise Operations in BBClass

2017-10-31 Thread Ayoub Zaki
Hello, I'm trying to get a bitwise operation working in a bitbake bblcass function but no luck so far : my_function() {     SZ="`wc -c < ${1}`"     ALIGN_SZ=$(((${SZ} + 0x1000 - 1) & ~ (0x1000 - 1)))     ... } Bitbake complains with : ERROR: ExpansionError during parsing

Re: [yocto] linux-firmware: build failure

2017-10-31 Thread Alexander Kanavin
On 10/31/2017 09:04 AM, Craig McQueen wrote: Would the following be a suitable fix? -- This needs to go to oe-core list. Just one comment... # Remove python script used to check the WHENCE file - rm ${D}${nonarch_base_libdir}/firmware/check_whence.py + rm

Re: [yocto] linux-firmware: build failure

2017-10-31 Thread Fabien Lahoudere
On Tue, 2017-10-31 at 18:04 +1100, Craig McQueen wrote: > I'm trying upgrading to rocko (from morty). > > I'm getting a build failure for linux-firmware: > > > DEBUG: Executing python function extend_recipe_sysroot > NOTE: Direct dependencies are >

[yocto] Adding ImageTest support to meta-mono

2017-10-31 Thread Alex Lennon
Hi, I've been adding in some simple image tests to meta-mono and things seem to be working. A couple of minor questions came up in the process which I can't spot obvious answers to. Perhaps you could help? (1) The image tests wiki (https://wiki.yoctoproject.org/wiki/Image_tests)

[yocto] [meta-selinux][PATCH] python-ipy: Update SRC_URI

2017-10-31 Thread Ergun, Dogukan
From: Dogukan Ergun python.org does not serve files with http anymore Signed-off-by: Dogukan Ergun --- recipes-devtools/python/python-ipy_0.83.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[yocto] linux-firmware: build failure

2017-10-31 Thread Craig McQueen
I'm trying upgrading to rocko (from morty). I'm getting a build failure for linux-firmware: DEBUG: Executing python function extend_recipe_sysroot NOTE: Direct dependencies are ['virtual:native:/home/craigm/yocto/poky/build/../meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot',