Re: [yocto] setting SRC_URI runtime - possible options

2019-05-21 Thread Alexander Kanavin
If you provide some context for why you want this, we might be able to suggest a different way. Alex On Tue, 21 May 2019 at 08:11, Belisko Marek wrote: > > Hi, > > I have special need to fetch repo which is defined in config file in form > (repo and branch): > g...@testrepo.com/myrepo mysuperbr

Re: [yocto] setting SRC_URI runtime - possible options

2019-05-21 Thread Belisko Marek
Hi, On Tue, May 21, 2019 at 12:00 PM Alexander Kanavin wrote: > If you provide some context for why you want this, we might be able to > suggest a different way. > Customer wants to have kind of base-os (build in yocto) and then on top of that different flavor python application which should be

Re: [yocto] setting SRC_URI runtime - possible options

2019-05-21 Thread Alexander Kanavin
You can write a class which sets the template for SRC_URI and then a series of recipes that inherit the class, and define the variable that would turn the template into the actual URI. Alex On Tue, 21 May 2019 at 12:10, Belisko Marek wrote: > > Hi, > > On Tue, May 21, 2019 at 12:00 PM Alexander

Re: [yocto] linux-raspberrypi_4.19.bb unknown commit

2019-05-21 Thread Andrei Gherzan
Hi, On 20/05/2019 19.30, Khem Raj wrote: > > > On 5/16/19 8:53 AM, Andrei Gherzan wrote: >> >> On 12/05/2019 16.04, Jean-Christian de Rivaz wrote: >>> Le 11.05.19 à 21:46, Paul Barker a écrit : On Sat, 11 May 2019, at 20:44, Jean-Christian de Rivaz wrote: > Hi, > > I try to use th

Re: [yocto] setting SRC_URI runtime - possible options

2019-05-21 Thread Belisko Marek
On Tue, May 21, 2019 at 12:14 PM Alexander Kanavin wrote: > You can write a class which sets the template for SRC_URI and then a > series of recipes that inherit the class, and define the variable that > would turn the template into the actual URI. > OK I think it make sense. So parsing of config

Re: [yocto] setting SRC_URI runtime - possible options

2019-05-21 Thread Alexander Kanavin
Don't use the config file at all. Just create as many recipes as you need, put the common bits into the class, and the bits that differ into the recipes directly. Example: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/pypi.bbclass Alex On Tue, 21 May 2019 at 12:22, Belisko Mar

Re: [yocto] problem adding a user

2019-05-21 Thread Rudolf Streif
Greg, usermod does not work for the MD5 algorithm with the explicit password hash as it contains the $ field delimiters which are interpreted by the shell executing the usermod command. Use single quotes around the password hash: usermod -p '${SAKURA_PASS}' ${SAKURA_USER}; :rjs On Mon, May 20,

[yocto] Yocto Project Status WW21'19

2019-05-21 Thread Richard Purdie
Current Dev Position: YP 2.8 M1Next Deadline: YP 2.8 Milestone 1 Cutoff June 9th, 2019 SWAT Team Rotation: * SWAT lead is currently: Ross * SWAT team rotation: Ross -> Chen on May. 24, 2019 * SWAT team rotation: Chen -> Armin on May. 31, 2019 * https://wiki.yoctoproject.org/wiki/Yocto_Build_Fail

Re: [yocto] [OE-core] Yocto Project Status WW21'19

2019-05-21 Thread akuster808
On 5/21/19 7:38 AM, Richard Purdie wrote: > > Current Dev Position: YP 2.8 M1 > > Next Deadline: YP 2.8 Milestone 1 Cutoff June 9th, 2019 > > > SWAT Team Rotation: > > * > > SWAT lead is currently: Ross > > * > > SWAT team rotation: Ross -> Chen on May. 24, 2019 > > * > > SWAT team

Re: [yocto] [meta-security][PATCH] python3-fail2ban: Fix build error of xrange.

2019-05-21 Thread akuster808
On 5/20/19 11:57 PM, Lei, Maohui wrote: > ping Merged thanks. >> -Original Message- >> From: Lei, Maohui >> Sent: Friday, April 19, 2019 11:59 AM >> To: yocto@yoctoproject.org >> Cc: Lei, Maohui >> Subject: [yocto] [meta-security][PATCH] python3-fail2ban: Fix build error of >> xrange.

[yocto] NPM Fetcher question

2019-05-21 Thread Scott Rifenbark
Hi, I am trying to determine if the information in https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM is relevant and up-to-date for current YP release. I am having trouble finding a resource familiar with this topic. Can anyone point me to the expert for this area? Thanks, Scott Rifenbark (d

Re: [yocto] problem adding a user

2019-05-21 Thread Greg Wilson-Lindberg
Rudolf, Something else is happening to me. I changed to this in the image recipe: SAKURA_USER = "sakura" SAKURA_PASSWD = "Distracted" SAKURA_PASS = "$1$QVO3K6Ii$fvkoDKnlzz3d5uVoL7KcM0" EXTRA_USERS_PARAMS = "\ usermod -p '${SAKURA_PASS}' ${SAKURA_USER}; \ usermod -a -G sudo,dialout ${SAK

[yocto] distrodata documentation in 2.7 Mega Manual

2019-05-21 Thread Paul Barker
Just reading the 2.7 Mega Manual at https://www.yoctoproject.org/docs/2.7/mega-manual/mega-manual.html and noticed a possible bug. "24.15.9. Removed Classes" indicates that the `distrodata` class is now gone. However it's still referred to in several other places in the documentation. May need

Re: [yocto] NPM Fetcher question

2019-05-21 Thread Alexander Kanavin
I think Jean-Marie might be able to help as he recently did a bit of NPM fixing? Alex On Tue, 21 May 2019 at 19:52, Scott Rifenbark wrote: > > Hi, > > I am trying to determine if the information in > https://wiki.yoctoproject.org/wiki/TipsAndTricks/NPM is relevant and > up-to-date for current

Re: [yocto] distrodata documentation in 2.7 Mega Manual

2019-05-21 Thread Khem Raj
On Tue, May 21, 2019 at 12:31 PM Paul Barker wrote: > > Just reading the 2.7 Mega Manual at > https://www.yoctoproject.org/docs/2.7/mega-manual/mega-manual.html and > noticed a possible bug. > > "24.15.9. Removed Classes" indicates that the `distrodata` class is now gone. > However it's still r

Re: [yocto] do_rootfs failed (not sure why)

2019-05-21 Thread Gaurav Kalra
Hi there! After a few trial and errors, I have been able to isolate the problem with this commit in boot2qt: https://codereview.qt-project.org/gitweb?p=yocto/meta-boot2qt.git;a=commitdiff;h=ded06350f2dd23b3e453f5c30247a1cffd362951 The error logs spat by bitbake don't point to the PAM module ¯\_(ツ

[yocto] configuration for a layer apart from local.conf

2019-05-21 Thread Pandey, Kamal
Hi, I want to know if there is any other place where we can set configuration for a particular layer, apart from local.conf. For example if I want to set LICENSE_FLAGS_WHITELIST can I do that in layer.conf, or do I need to do that in local.conf only. Similarly for BBMASK too. So basically my que