ndec changed the topic of #yocto to: "Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Join us or Speak at Yocto Project Summit (2022.11) Nov 29-Dec 1, more: https://yoctoproject.org/summit | Join the community: https://www.yoctoproject.org/community | IRC logs available at https://www.yoctoproject.org/irc/ | Having difficulty on the list or with someone on the list, contact YP community mgr ndec"
nemik_ has quit [Ping timeout: 256 seconds]
nemik_ has joined #yocto
nemik_ has quit [Ping timeout: 264 seconds]
nemik_ has joined #yocto
amsobr has joined #yocto
florian has quit [Ping timeout: 260 seconds]
behanw has joined #yocto
seninha has quit [Quit: Leaving]
sakoman has quit [Quit: Leaving.]
money_ has quit [Quit: money_]
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #yocto
camus has joined #yocto
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #yocto
otavio has quit [Ping timeout: 248 seconds]
otavio has joined #yocto
kanavin_ has joined #yocto
kanavin has quit [Ping timeout: 264 seconds]
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #yocto
amitk_ has joined #yocto
Frank33 has joined #yocto
alessioigor has joined #yocto
thomasd13 has joined #yocto
xmn has quit [Ping timeout: 264 seconds]
Habbie has joined #yocto
d-fens has quit [Read error: Connection reset by peer]
nemik_ has quit [Ping timeout: 260 seconds]
nemik_ has joined #yocto
mvlad has joined #yocto
mattes-bru has joined #yocto
mattes-b_ has quit [Ping timeout: 265 seconds]
leon-anavi has joined #yocto
matthias__ has joined #yocto
mattes-b_ has joined #yocto
d-fens has joined #yocto
mattes-b_ has quit [Remote host closed the connection]
mattes-b_ has joined #yocto
mattes-bru has quit [Ping timeout: 260 seconds]
mattes-b_ has quit [Remote host closed the connection]
mattes-bru has joined #yocto
<LetoThe2nd> yo dudX
<tomzy_0> morning
mattes-bru has quit [Ping timeout: 246 seconds]
mattes-b_ has joined #yocto
mattes-b_ has quit [Ping timeout: 256 seconds]
* alessioigor waves all
goliath has quit [Quit: SIGSEGV]
<d-fens> morning, is there a reason that "bitbake-getvar -r core-image-base DISTRO_FEATURES" would contain wayland vulkan and x11, istn't it meant to be console only?
<LetoThe2nd> d-fens: not necessarily. those flags essentially just allow this to be built, respectively can trigger compilation feature flags. images and distros are orthogonal, so the only thing that tells you is "poky supports wayland, vulkan and x11", and contains no statement on your particular image.
manuel1985 has joined #yocto
mattes-bru has joined #yocto
<d-fens> LetoThe2nd: ah, that makes sense i guess *processing*
<LetoThe2nd> d-fens: think about it like that: 1) the distro defines the ABI/API 2) the image defines the software selection
<LetoThe2nd> of course there is some wiggling room in between, but it serves me well as a mental model.
frieder has joined #yocto
<d-fens> ok i think i got it :)
mattes-bru has quit [Remote host closed the connection]
zpfvo has joined #yocto
mckoan|away is now known as mckoan
<mckoan> good morning
<tomzy_0> Hello, I got question about managing layers branches. Are there any guidelines about how branches should be updated? Usually there are branches per release (warrior, zeus, honister etc), master and master-next. Should the Yocto release branches (like zeus etc) be updated every couple of weeks? How often the master-next is merged into master? Should
<tomzy_0> master be always the latest, up-to-date version of given layer?
frieder has quit [Remote host closed the connection]
manuel1985 has quit [Ping timeout: 268 seconds]
manuel1985 has joined #yocto
<LetoThe2nd> tomzy_0: master/main is usually where the development happens, e.g. no specific version. the rest depends on your particular requirements. we do a master-to-else merge/backport once a month usually.
<tomzy_0> Thanks
<LetoThe2nd> other strategies can also apply :-)
gsalazar has joined #yocto
Theo[m] has quit [Quit: You have been kicked for being idle]
goliath has joined #yocto
prabhakarlad has joined #yocto
amitk__ has joined #yocto
amitk has quit [Ping timeout: 260 seconds]
florian has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
d-fens has quit [Read error: Connection reset by peer]
frieder has joined #yocto
<qschulz> o/
<LetoThe2nd> qschulz: \o
Payam has joined #yocto
ptsneves has joined #yocto
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
<jclsn> What is the easiest way to get the current branch name with inline python? GitPython?
Wouter01006 has joined #yocto
ptsneves has quit [Ping timeout: 256 seconds]
<jclsn> Got this working now
<jclsn> import subprocess; output = str(subprocess.check_output( ['git', 'branch', '--show-current'] )).strip("b'").strip("\\n"); print(output)
<jclsn> Anything easier?
<landgraf> depends what do you mean by easiest
<jclsn> shortest
<jclsn> least additional processes started
<jclsn> no imports if possible
<qschulz> jclsn: why python specifically?
<jclsn> qschulz: I thought there were only inline python available and not bash
<jclsn> Plus I wanted to get to know the Bitbake Python
<jclsn> In case I would support you one day :)
<landgraf> jsandman: read .git/head would be the "easiest" use pygit would be the proper way. subproccess thingy is somewhere in between I guess
<qschulz> Ah, forgot the inline python requirement
<qschulz> jclsn: i'm not entirely sure it would be updated necessarily during parsing between runs
<qschulz> parsing cache is a bit obscure to me still
matthias__ has quit [Quit: Client closed]
<jclsn> Parsing cache?
<qschulz> yes, bitbake does not parse everything for every run
<jclsn> Well that is why I am basically just envoking "git branch --show-current" with python
<jclsn> I don't understand
<qschulz> what are you trying to do
<jclsn> I want to query the current branch name of the repo that I am in. The repo of the TOPDIR that is
<jclsn> I am syncing my download folders per release branch
<jclsn> I want to automatically query this branch in the SOURCE_MIRROR_URL variable
<jclsn> and not change it by hand for every release
amsobr has quit [Quit: Client closed]
<qschulz> jclsn: it's once every 6 months you get to edit this variable, not too bad :)
<jclsn> I am very lazy though
<qschulz> jclsn: and you already spent more time trying to automate it than what you would have spent in the next 3 years :)
<jclsn> Yes, but this way I learn something
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #yocto
<jclsn> Come on, help a brother out
<jclsn> Tried this but it doesn't work as in the Python shell
<jclsn> BRANCH = "${@import subprocess}; output = str(subprocess.check_output( ['git', 'branch', '--show-current'] )).strip('b\'').strip('\\n'); print(output)}"
<jclsn> Like this I mean
<jclsn> BRANCH = "${@import subprocess; output = str(subprocess.check_output( ['git', 'branch', '--show-current'] )).strip('b\'').strip('\\n'); print(output)}"
<rburton> write a function, much easier
<rburton> also there's a class for that
<qschulz> rburton: not sure where they use this variable, might be in a configuration file where I think you cannot have functions?
<qschulz> rburton: also IIUC, it's for getting the poky repo branch
<rburton> make a class with the function in
nemik_ has quit [Ping timeout: 260 seconds]
nemik_ has joined #yocto
nemik_ has quit [Ping timeout: 256 seconds]
nemik_ has joined #yocto
mckoan is now known as mckoan|away
<mckoan|away> de
<mckoan|away> e
camus has quit [Remote host closed the connection]
camus has joined #yocto
amsobr has joined #yocto
amsobr has quit [Client Quit]
d-fens has joined #yocto
<jclsn> rburton: A Python function? Wouldn't I do the same inside the function? What difference would that make?
<rburton> well, easier to write a function that a crazy oneliner
<rburton> and you don't want to print, you want the return value
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
amitk_ has quit [Ping timeout: 268 seconds]
chep` has joined #yocto
chep has quit [Ping timeout: 260 seconds]
chep` is now known as chep
invalidopcode has quit [Remote host closed the connection]
invalidopcode has joined #yocto
florian_kc has joined #yocto
<Frank33> Creating bugzilla accounts seems to be disabled due to spam, but do I need to email michael@yoctoproject.org or it-coreprojects-helpdesk@linuxfoundation.org to create an account ?
<landgraf> yes. Michael handles this
<landgraf> mckoan|awaso email him and explain why and what for you need an account
<RP> Frank33: thanks for the bitbake readme patch btw :) (I'm guessing it was you?)
<Frank33> yup
kscherer has joined #yocto
<jclsn> rburton: So I write a python script containing a function, which I then import and call as a oneline again? How is that better?
<jclsn> I want to call this from the local.conf btw and afaik you can't write functions there
<jclsn> This just gets to much if I create a class for it. I was hoping I could solve this with a oneline. If not, then it's not worth the trouble I guess
rber|res has joined #yocto
sakoman has joined #yocto
xmn has joined #yocto
Saur has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep has joined #yocto
nad has joined #yocto
rfs613 has quit [Quit: restart]
rfs613 has joined #yocto
<alessioigor> Could anyone pinpoint me to relevant documentation (if any) for fix circular dependencies, please?
<rburton> there's no documentation really
<rburton> 1) identify circular dependency
<rburton> 2) resolve it
Payam has quit [Quit: Client closed]
<alessioigor> I think that 1 is the major problem I don't know where I should looking for understand that dependency issue.
<qschulz> alessioigor: I believe it should be printed in the error message?
tomzy_0 has quit [Quit: Client closed]
<alessioigor> qschulz: I'm sorry but in this circumstance I'm not be able to understand the bitbake output.
<qschulz> alessioigor: maybe giving us the log could help us guide you? in a pastebin for example
<qschulz> not only the last error message, all of them
nemik_ has quit [Ping timeout: 256 seconds]
nemik_ has joined #yocto
nemik_ has quit [Ping timeout: 246 seconds]
nemik_ has joined #yocto
manuel1985 has quit [Ping timeout: 248 seconds]
goliath has quit [Quit: SIGSEGV]
nad has quit [Quit: Client closed]
manuel1985 has joined #yocto
<alessioigor> I don't understand why the error comes up only on machines defined in the meta-intel-fpga layer. Machines defined in meta-intel, meta-ti, meta-artesyn (our layer for PowerPC machines) all works as expected.
camus has quit [Ping timeout: 260 seconds]
prabhakarlad has quit [Quit: Client closed]
manuel1985 has quit [Ping timeout: 260 seconds]
seninha has joined #yocto
<halstead> JPEW: Let me know if you have a aarch64 buildtools you'd like me to put up for ubuntu1804-arm-1.
<JPEW> halstead: Looks like there is already one there, so I think we are OK
<JPEW> (it's pulling from downloads.yoctoproject.org)
<halstead> Frank33: If you submit an email address to https://bugzilla.yoctoproject.org/createaccount.cgi? you'll get the correct address to email.
<halstead> JPEW: Great.
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #yocto
<fullstop> Hi all. I have a situation where I have two boards which are nearly identical and the differences can be limited to the device tree only. Is it possible to build two dtb images for a single machine in Yocto?
<JaMa> fullstop: see meta-raspberrypi which builds many separate .dtbs
<fullstop> I'm using the devicetree bbclass and PROVIDES = "virtual/dtb" right now
<fullstop> JaMa: will do, thanks for the pointer.
gsalazar has quit [Ping timeout: 265 seconds]
Frank33 has quit [Quit: Client closed]
Frank33 has joined #yocto
prabhakarlad has joined #yocto
thomasd13 has quit [Ping timeout: 268 seconds]
<fullstop> JaMa: I was seriously overthinking that task, btw. If you supply multiple dts files in the SRC_URI it generates a dtb for each.
Frank33 has quit [Quit: Client closed]
Frank33 has joined #yocto
gsalazar has joined #yocto
frieder has quit [Remote host closed the connection]
zpfvo has quit [Remote host closed the connection]
alessioigor has quit [Quit: alessioigor]
fenrig has joined #yocto
<fenrig> Hi I was wondering If its possible to implement my own SRC_URI implementation, or rather I wanna have a custom curl command in my recipe :) I think the regex in poky/plain/bitbake/lib/bb/fetch2/__init__.py is a bit limited (I want to set my own user and pass, and the pass has some symbols that trigger the regex)
<rburton> fenrig: fix the regex?
<fenrig> I'm not sure its possible without breaking the current implementation
<fenrig> I was looking in decodeurl(url)
<fenrig> m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
<fenrig> I means for http it would look something like this: http://<user>:<pass>@<location>
<fenrig> problem is I have =, (, __ad in my password
<fenrig> I'm sorry @
rber|res has quit [Ping timeout: 246 seconds]
<rburton> that regex just says "not / or ;" so that won't be the problem
<fenrig> the parser is giving me errors though
<JPEW> fenrig: Can you put the password in your .netrc instead of SRC_URI?
rber|res has joined #yocto
<rburton> thats probably the better solution
<rburton> embedding credentials is a terrible idea
<rburton> though feel free to add a test case which breaks to bitbake-selftest, there's a big url parsing test
gsalazar has quit [Ping timeout: 268 seconds]
gsalazar has joined #yocto
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #yocto
amitk has joined #yocto
gsalazar has quit [Remote host closed the connection]
gsalazar has joined #yocto
gsalazar has quit [Ping timeout: 256 seconds]
leon-anavi has quit [Quit: Leaving]
meego has joined #yocto
nemik_ has quit [Ping timeout: 246 seconds]
nemik_ has joined #yocto
nemik_ has quit [Ping timeout: 248 seconds]
nemik_ has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
money_ has joined #yocto
olani_ has joined #yocto
fenrig has quit [Quit: Client closed]
PaulBarker[m] has joined #yocto
manuel1985 has joined #yocto
invalidopcode has quit [Remote host closed the connection]
invalidopcode has joined #yocto
sotaoverride is now known as Guest1396
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 256 seconds]
amitk has quit [Remote host closed the connection]
RobW has quit [Quit: Leaving]
rcw has joined #yocto
amitk__ has quit [Ping timeout: 260 seconds]
Wouter01006 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter01006 has joined #yocto
florian_kc has joined #yocto
manuel1985 has quit [Ping timeout: 255 seconds]
invalidopcode has quit [Remote host closed the connection]
invalidopcode has joined #yocto
<hsv> What does it mean when lsmod outputs "Live" and a hex number? -
<hsv> xhci_plat_hcd 16384 0 - Live 0xbf0b5000
mvlad has quit [Remote host closed the connection]
<neverpanic> Live says it's laoded, could be Loading or Unloading otherwise.
<neverpanic> The hex number is the current kernel memory offset for the module
<hsv> Interesting, thanks. never seen that before.
<neverpanic> Run cat /proc/modules and every entry will have it
<hsv> Ah, yes so it does. I guess busybox just cats that file.
florian_kc is now known as florian
goliath has joined #yocto
meego has quit [Quit: Leaving...]
invalidopcode has quit [Remote host closed the connection]
invalidopcode has joined #yocto
<DvorkinDmitry> is there are any 8080 target examples in Yocto?
florian has quit [Ping timeout: 260 seconds]
Frank33 has quit [Quit: Client closed]
Frank33 has joined #yocto
gchamp has joined #yocto