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"
Shaun has quit [Ping timeout: 246 seconds]
Shaun has joined #yocto
florian_kc has joined #yocto
camus has quit [Remote host closed the connection]
camus has joined #yocto
kayterina[m] has quit [Quit: Client limit exceeded: 20000]
sakoman has quit [Quit: Leaving.]
florian_kc has quit [Ping timeout: 248 seconds]
Thorn has quit [Ping timeout: 248 seconds]
xmn has joined #yocto
qschulz has quit [Read error: Connection reset by peer]
qschulz has joined #yocto
davidinux has quit [Ping timeout: 255 seconds]
davidinux has joined #yocto
seninha has quit [Quit: Leaving]
seninha has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
starblue has quit [Ping timeout: 248 seconds]
starblue has joined #yocto
Thorn has joined #yocto
seninha has quit [Quit: Leaving]
angman has joined #yocto
camus has quit [Remote host closed the connection]
camus has joined #yocto
<angman> Hi! I use bitbake to build images at work. Let me ask a question about how to get the value of a variable in each package.🙏
<angman> (Since this is a long post, I will break it up into several posts)
kayterina[m] has joined #yocto
<angman> # Question.
<angman> When `bitbake-getvar` or `bitbake -e` extract the value of a variable, it seems to resolve some overrides (e.g. poky) and not some (e.g. ${PN}).
<angman> I think to get the value of the actual variable that bitbake uses to build, I need to get the value with all the overrides resolved. Are there any ways to do so?
<angman> If it does not exist, which document can I refer to for the specifications of the overrides that bitbake-getvar and bitbake -e resolve and the ones that do not?
davidinux has quit [Ping timeout: 255 seconds]
<angman> # Detail
<angman> For example, I made the following change to the SUMMARY variable in the vim package.
<angman> ```
<angman> $ git diff
<angman> diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
<angman> index fcb5cf6334..4b5a328ef6 100644
<angman> --- a/meta/recipes-support/vim/vim.inc
<angman> +++ b/meta/recipes-support/vim/vim.inc
<angman> @@ -1,4 +1,7 @@
<angman> -SUMMARY = "Vi IMproved - enhanced vi editor"
<angman> +SUMMARY = "base"
<angman> +SUMMARY:${PN} = "PN override"
<angman> +SUMMARY:poky = "poky override"
<angman> +
<angman>  DESCRIPTION = "Vim is a greatly improved version of the good old UNIX editor Vi. Many new features have been added: multi-level undo, syntax highlighting, command line history, on-line help, spell checking, filename completion, block operations, script language, etc. There is also a Graphical User Interface (GUI) available. There is also a
<angman> Graphical User Interface (GUI) available.
<angman>  SECTION = "console/utils"
<angman> ```
<angman> Using bitbake-getvar with this, I got the following values.
<angman> ```
camus1 has joined #yocto
camus has quit [Ping timeout: 255 seconds]
camus1 is now known as camus
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
jclsn has quit [Ping timeout: 264 seconds]
jclsn has joined #yocto
Thorn has quit [Ping timeout: 255 seconds]
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
angman has quit [Quit: Client closed]
angman has joined #yocto
<angman> Sorry, my previous post seems to have been interrupted.
<angman> Using bitbake-getvar with above recipe, I got the following values.
<angman> ```
<angman> $ bitbake-getvar -r vim --value SUMMARY:vim
<angman> PN override
<angman> $ bitbake-getvar -r vim --value SUMMARY
<angman> poky override
<angman> ```
<angman> As you can see, it appears that the poky override is resolved and the ${PN} override is not.
<angman> This is why I asked the above question.
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
Net147 has quit [Client Quit]
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
Starfoxxes has quit [Ping timeout: 246 seconds]
Thorn has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
<JaMa> angman: I didn't read what you're trying to do, but real pn override looks like SUMMARY:pn-vim
<JaMa> :${PN} is sometimes used, but typically as suffix in <package-name> specific variables (like FILES/RDEPENDS/LICENSE) and it's not an override
<JaMa> and don't use --value if you're trying to understand what's going on
aleblanc[m] has quit [Quit: You have been kicked for being idle]
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
xmn has quit [Ping timeout: 248 seconds]
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
schtobia has quit [Client Quit]
schtobia has joined #yocto
Net147 has quit [Quit: Quit]
<angman> To sum up my question in a nutshell.
<angman> * Sorry. I'm not really interested in individual overrides (${PN}/pn-${PN}).
<angman> * Overrides can be set for variables used in recipes (poky, ${PN}, pn-${PN}, class-target, etc.)
<angman> * I would like to get the value of a variable taking into account which of these overrides are enabled and which are disabled when bitbake builds. Is there any way to do this?
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
davidinux has joined #yocto
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
schtobia has quit [Client Quit]
schtobia has joined #yocto
florian_kc has joined #yocto
florian_kc has quit [Ping timeout: 255 seconds]
davidinux has quit [Ping timeout: 256 seconds]
JaMa has quit [Quit: reboot]
Thorn has quit [Ping timeout: 252 seconds]
goliath has joined #yocto
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
azcraft has joined #yocto
seninha has joined #yocto
florian_kc has joined #yocto
azcraft has quit [Ping timeout: 255 seconds]
jmiehe has joined #yocto
Thorn has joined #yocto
vladest has quit [Ping timeout: 268 seconds]
Starfoxxes has joined #yocto
angman has quit [Quit: Client closed]
JaMa has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
cambrian_invader has quit [Ping timeout: 252 seconds]
florian_kc has quit [Ping timeout: 255 seconds]
camus has quit [Ping timeout: 248 seconds]
cambrian_invader has joined #yocto
angman has joined #yocto
<Entei[m]> How can I check where some variable is being assigned? My `gcc` gets built with the target prefix `riscv64-poky-linux` and the kernel has the name `5.19.7-yocto-standard`. I'd like to change that.
<Entei[m]> Looking for the gcc recipe there's so many recipe files, and hierarchal inclusions/inheritance of files. It gets difficult to track too quick.
<Saur[m]> Entei: Use `bitbake -e <recipe>` to make bitbake show all variables, including how they got their values. Or you can use `bitbake-getvar -r <recipe> <variable>` if you just want to get the value and definition of one variable.
<Entei[m]> Saur[m]: Thank you, will try this.
camus has joined #yocto
nemik has quit [Ping timeout: 255 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
angman has quit [Quit: Client closed]
<Entei[m]> I am doing my own custom machine, it gives me this error. Really don't understand what part is giving this error.
<Entei[m]> It's mostly copied from the qemuriscv64.conf in openembedded-core
xmn has joined #yocto
vladest has joined #yocto
andrew[m]1 has quit [Quit: You have been kicked for being idle]
xmn has quit [Quit: ZZZzzz…]
cperon has joined #yocto
florian_kc has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
jmiehe has quit [Quit: jmiehe]
seninha has quit [Ping timeout: 268 seconds]
vvmeson has joined #yocto
vmeson has quit [Ping timeout: 260 seconds]
vvmeson has quit [Client Quit]
sakoman has joined #yocto
Vonter has quit [Quit: WeeChat 3.8]
Vonter has joined #yocto
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
florian_kc has quit [Ping timeout: 265 seconds]
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
vladest1 has joined #yocto
vladest has quit [Ping timeout: 255 seconds]
vladest1 is now known as vladest
seninha has joined #yocto
wCPO has quit [Quit: The Lounge - https://thelounge.chat]
wCPO has joined #yocto
vladest has quit [Read error: Connection reset by peer]
aak-rookie has joined #yocto
<aak-rookie> i want to ask a question about using sdk in cmake. however, this chat about yocto. do you mind if i ask? i thought the question i'm going to ask might not belong to this chat.
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
florian_kc has joined #yocto
sakoman has quit [Quit: Leaving.]
sakoman has joined #yocto
aak-rookie has quit [Quit: Client closed]
xcm has quit [*.net *.split]
qschulz has quit [*.net *.split]
Shaun has quit [*.net *.split]
dmoseley has quit [*.net *.split]
lexano has quit [*.net *.split]
astlep5504 has quit [*.net *.split]
dlan has quit [*.net *.split]
yolo has quit [*.net *.split]
smooge has quit [*.net *.split]
Fanfwe has quit [*.net *.split]
npcomp has quit [*.net *.split]
jsandman has quit [*.net *.split]
jjmcdn has quit [*.net *.split]
marex has quit [*.net *.split]
alinucs has quit [*.net *.split]
perfinion has quit [*.net *.split]
iokill has quit [*.net *.split]
warthog9 is now known as 020AAPQ8E
xcm has joined #yocto
qschulz has joined #yocto
yolo has joined #yocto
Fanfwe has joined #yocto
dlan has joined #yocto
Shaun has joined #yocto
smooge has joined #yocto
lexano has joined #yocto
iokill has joined #yocto
marex has joined #yocto
npcomp has joined #yocto
jsandman has joined #yocto
perfinion has joined #yocto
jjmcdn has joined #yocto
alinucs has joined #yocto
dmoseley has joined #yocto
astlep5504 has joined #yocto
020AAPQ8E is now known as warthog9
vladest has joined #yocto
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
Thorn has quit [Ping timeout: 248 seconds]
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
Thorn has joined #yocto
florian_kc has quit [Ping timeout: 255 seconds]
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
sakoman has quit [Quit: Leaving.]
vladest has quit [Ping timeout: 260 seconds]
goliath has quit [Quit: SIGSEGV]
DvorkinDmitry has joined #yocto
<DvorkinDmitry> I need to install some external module into the image IF I'm building the image with some specific kernel version. How to do that?
piraty is now known as Piraty
davidinux has joined #yocto
florian_kc has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
Thorn has quit [Ping timeout: 248 seconds]
BobPungartnik has joined #yocto
xmn has joined #yocto