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.05) May 17 - 19, 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"
hays has joined #yocto
qschulz has quit [Read error: Connection reset by peer]
goliath has quit [Quit: SIGSEGV]
qschulz has joined #yocto
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #yocto
<khem> I think that fix should be reverted
davidinux has quit [Ping timeout: 252 seconds]
davidinux has joined #yocto
s-f- has quit [Ping timeout: 265 seconds]
s-f- has joined #yocto
s-f- has left #yocto [#yocto]
seninha has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
sakoman has joined #yocto
<Haxxa> I am trying to build for this platform running yocto: https://brodersen.com/products/rtu/rtu32m/ the manufacturer does not supply any build configuration, however I have root access, anyway I could compile binaries for this platform?
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
amitk has joined #yocto
xmn has quit [Ping timeout: 265 seconds]
beneth has quit [Remote host closed the connection]
alessioigor has joined #yocto
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
sakoman has quit [Quit: Leaving.]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
rusam has joined #yocto
marek has joined #yocto
<rusam> hello everyone
<marek> hello
<marek> I have a question if I can pass local script hell variable to python function (I've tried but it fails in parsing)
mvlad has joined #yocto
<mcfrisk> marek: hell brakes loose if you do that ;) but seriously it's problematic but can be done. you need to list which variables from environment where bitbake is executed are allowed to be passed to bitbake build environment
<rusam> @marek you could use: os.getenv
<mcfrisk> BB_ENV_PASSTHROUGH_ADDITIONS should lists the variable names, for example
<marek> well it's bit different my situation is following:
<marek> local uuids=${@gen_partitions_uuid(d)}
<marek> for uuid in ${uuids}; do
<marek>     echo "Index is: ${@gen_index_from_uuid(d, ${uuid})}" <- this return parsing error
<marek> done
<marek> I've tried to pass uuid variable as '${uuid}' but still an issue
mckoan|away is now known as mckoan
<mcfrisk> oh that's tricky. os.getenv() then?
<mckoan> good morning
frieder has joined #yocto
<marek> mcfrisk uuid is local variable in shell script as shows in above snippet
<mcfrisk> it's simpler if uuids were a normal bitbake variable, but I guess that won't do in your case
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<marek> mcfrisk yes it's tricky but I need it in this way like above
zpfvo has joined #yocto
<rusam> could someone point me in the right direction: i have meta-raspberrypi working on kirkstone. it boots without u-boot wether i enable it or not using RPI_USE_U_BOOT = "1"
goliath has joined #yocto
prabhakarlad has joined #yocto
<LetoThe2nd> yo dudX
Schlumpf has joined #yocto
florian has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<marek> rusamwhen is `RPI_USE_UBOOT` added pls?
<rusam> marek in the distro recipe
<marek> rusam did you try in local.conf?
alessioigor has quit [Quit: alessioigor]
<rusam> no, ill try it now
alessioigor has joined #yocto
Net147 has quit [Read error: Connection reset by peer]
Estrella__ has quit [Read error: Connection reset by peer]
Estrella_ has joined #yocto
sef has joined #yocto
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
<sef> Hi everyone, morning.I encountered a problem like this: https://forums.raspberrypi.com/viewtopic.php?p=2043143#p2043143
<sef>  I wanted to ask here as it may have something to do with Yocto. If it's off-topic, sorry for asking.
<qschulz> sef: I don't know exactly how the PMIC is handled by Raspbian, but I would guess that you need either a different device tree, the PMIC drivers to be built or both
<sef> qschulz for your idea
<sef> thanks
amitk has quit [Ping timeout: 268 seconds]
beneth has joined #yocto
<sef> qschulz When i checked meta-raspberrypi i saw a commit like this:
<sef> You made me go straight to the solution, thank you very much.
<sef> maybe i'm wrong, i'll try and see :D
<rusam> marek: unfortunately didnt work
<Haxxa> Is there any reason why everything is run as root: https://paste.debian.net/plain/1256029 This is a embedded device running yocto linux
<qschulz> Haxxa: poor security practices? wouldn't be the first company to do that :)
Guest382 has joined #yocto
<qschulz> rusam: in any configruation file it should work
Guest382 has quit [Client Quit]
<Haxxa> qschulz But there is nothing specific to yocto for this reason? The reason I ask, is this is a device which controls infrastructure. (i.e. it's a PLC controlling a large gas network)
<qschulz> rusam: I would check that the variables using that RPI_USE_U_BOOT variables aren't overridden
<qschulz> rusam: or even first, that the variable is actually of the value you expect
<qschulz> bitbake-getvar -r your-image-recipe RPI_USE_U_BOOT should tell you that
leon-anavi has joined #yocto
<rusam> qschulz: I had RPI_USE_U_BOOT working as expected and it was in the distro recipe. it stopped working only when i upgraded from dunfell to kirkstone
<qschulz> rusam: are all your layers on the kirkstone branch?
<rusam> qschulz: yeah. just double checked now
<qschulz> Haxxa: Yocto is a build system to create a distribution, like Ubuntu, Fedora, Arch Linux, whatever. It is up to the one developing the distribution to pick the policies, security and feature-wise
rob_w has joined #yocto
jclsn has joined #yocto
<Haxxa> Ok and so the manufacturer has given us the root password, but no build system. I can run static binaries but lets say I have src files, is there anyway for me to deploy them without the build system. Could I even figure it out?
<qschulz> rusam: bitbake-getvar to check the value of the variable itself and all the variables using that variable to see if they are of the expected value
<rusam> qschulz: yeah it is set only once in local.conf. and the spelling is RPI_USE_U_BOOT because I saw it spelled differently a few times in github issues
<qschulz> rusam: does your image recipe inherit sdcard_image-rpi?
<qschulz> I assume you want it inherited and also have rpi-sdimg in your IMAGE_FSTYPES
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
PhoenixMage has quit [Ping timeout: 246 seconds]
<rusam> qschulz: i dont have sdcard_image-rpi inherited explicitly but it is in IMAGE_CLASSES. Was it added when I added rpi-sdimg to IMAGE_FSTYPES?
<rusam> qschulz: Im testing by writing the rpi-sdimg to an sdcard and then booting the device with it. Its a custom board with cm3
PhoenixMage has joined #yocto
ptsneves has joined #yocto
ptsneves has quit [Quit: ptsneves]
sef has quit [Quit: Client closed]
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
ptsneves has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
Estrella___ has quit [Read error: Connection reset by peer]
Estrella__ has joined #yocto
OnkelUlla has quit [Ping timeout: 268 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
OnkelUlla has joined #yocto
florian_kc has joined #yocto
prabhakarlad has quit [Quit: Client closed]
<mckoan> e.g.: SRC_URI = "git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current"
<qschulz> I'm actually surprised it works without an explicit fetcher
<rburton> i suspect the sample url is actually missing git://
<fabatera[m]> sorry, this was a copy paste mistake in my previous message...
<fabatera[m]> it is actually:
<fabatera[m]> `SRC_URI = "git://github.com/package/package.git;branch=main"`
<rburton> fabatera[m]: its using the source mirror. historically, fetching a compressed archive over http is faster than a git clone. these days that's less likely and latest releases do it less.
<fabatera[m]> Ok. The difference from the example is `protocol=https`
<rburton> if the question is "why is this happening" then the answer is "because you have a PREMIRROR set up"
<rburton> (and poky until that commit above has a premirror set up)
rusam is now known as amgedr
mckoan is now known as mckoan|away
tnovotny has joined #yocto
<rburton> ask your actual question, please, it makes things easier
<rburton> are you trying to stop that? just set PREMIRRORS=""
risca_ has quit [Ping timeout: 260 seconds]
<fabatera[m]> I was not sure it was working correctly at first. For this recipe (openthread), it spends a lot of time downloading the compressed file. Then it fails to check out a valid hash. That's actually the reason I'm looking at it. It works fine with the mirror.
<fabatera[m]> Many thanks again!
Schlumpf has quit [Quit: Client closed]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
risca has joined #yocto
marek has quit [Quit: Client closed]
prabhakarlad has joined #yocto
risca has quit [Ping timeout: 268 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
risca has joined #yocto
wyre has quit [Quit: ZNC 1.8.2 - https://znc.in]
wyre has joined #yocto
marek has joined #yocto
davidinux has quit [Quit: WeeChat 3.5]
davidinux has joined #yocto
prabhakarlad has quit [Quit: Client closed]
seninha has joined #yocto
<LetoThe2nd> kanavin: as i can't find it ad hoc, can you point me to the sources for your layer tooling?
Payam has joined #yocto
Payam has quit [Client Quit]
d-s-e has joined #yocto
marek has quit [Quit: Client closed]
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
alessioigor has quit [Quit: alessioigor]
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
alessioigor has joined #yocto
<kanavin> LetoThe2nd, why?
prabhakarlad has joined #yocto
otavio has quit [Remote host closed the connection]
Payam has joined #yocto
marek has joined #yocto
<LetoThe2nd> kanavin: interested enthusiast asked me and wanted to have a look. its that simple.
<zeddii> did they ask enthusiastically ?
zpfvo has quit [Ping timeout: 250 seconds]
<LetoThe2nd> semi-enthusiastically.
<zeddii> meh. part time enthusiast then. :)
<LetoThe2nd> zeddii: hehe
xmn has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
gsalazar has joined #yocto
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 264 seconds]
amitk has joined #yocto
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 264 seconds]
amgedr has quit [Read error: Connection reset by peer]
zpfvo has joined #yocto
kscherer has joined #yocto
d-s-e has quit [Quit: Client closed]
sakoman has joined #yocto
otavio has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
leonanavi has joined #yocto
nemik has joined #yocto
gsalazar has quit [Remote host closed the connection]
leon-anavi has quit [Ping timeout: 268 seconds]
prabhakarlad has quit [Ping timeout: 252 seconds]
leonanavi has quit [Remote host closed the connection]
manuel__ has quit [Remote host closed the connection]
manuel__ has joined #yocto
rob_w has quit [Remote host closed the connection]
chep has quit [Ping timeout: 246 seconds]
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
leon-anavi has joined #yocto
nemik has joined #yocto
Schlumpf has joined #yocto
zpfvo has quit [Ping timeout: 250 seconds]
leon-anavi has quit [Remote host closed the connection]
prabhakarlad has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
zpfvo has joined #yocto
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
zpfvo has quit [Ping timeout: 268 seconds]
zpfvo has joined #yocto
tnovotny has quit [Quit: Leaving]
ilunev has joined #yocto
marek has quit [Quit: Client closed]
wmills has quit [Ping timeout: 268 seconds]
florian_kc has quit [Ping timeout: 265 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
neverpanic has quit [Ping timeout: 260 seconds]
neverpanic has joined #yocto
zpfvo has quit [Quit: Leaving.]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
frieder has quit [Remote host closed the connection]
Schlumpf has quit [Quit: Client closed]
alessioigor has quit [Quit: alessioigor]
<michaelo> Pfooh, mailing lists are back (that was scheduled maintenance)
PhoenixMage has quit [Ping timeout: 268 seconds]
PhoenixMage has joined #yocto
PhoenixMage has quit [Ping timeout: 260 seconds]
PhoenixMage has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
prabhakarlad has quit [Quit: Client closed]
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
Payam has quit [Ping timeout: 265 seconds]
whuang0389 has joined #yocto
<whuang0389> is there a common run-ptest file now? it used to be that each recipe had their own run-ptest defined
<matrix_help[m]> Win up to $1000 in crypto trading when you invest with just the minimum of $50... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/955e952b535af78cd2932645d9ab7ee199f915c8>)
<matrix_help[m]> Win up to $1000 in crypto trading when you invest with just the minimum of $50... (full message at <https://libera.ems.host/_matrix/media/r0/download/libera.chat/955e952b535af78cd2932645d9ab7ee199f915c8>)
<whuang0389> specifically looking at this recipe: https://layers.openembedded.org/layerindex/recipe/300276/
<whuang0389> actually nvm. i just noticed an inherit ptest
whuang0389 has quit [Quit: Client closed]
matrix_help[m] has quit [Quit: User was banned]
prabhakarlad has joined #yocto
florian_kc has joined #yocto
<marc1> hi, looking for information or examples on using Github Actions along with Yocto builds and local runners. Thanks!
ptsneves has quit [Ping timeout: 264 seconds]
ecdhe has quit [Read error: Connection reset by peer]
ecdhe has joined #yocto
Minvera has joined #yocto
sgw has quit [Remote host closed the connection]
amitk has quit [Ping timeout: 252 seconds]
sgw has joined #yocto
nemik has quit [Ping timeout: 268 seconds]
nemik has joined #yocto
sakoman has quit [Quit: Leaving.]
Payam has joined #yocto
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
Estrella___ has joined #yocto
Haxxa has joined #yocto
Estrella_ has quit [Ping timeout: 260 seconds]
alessioigor has joined #yocto
glima has joined #yocto
<glima> any easy way to tweak VIRTUAL-RUNTIME_init_manager to be a custom script (that will ultimately invoke systemd)?
alessioigor has quit [Client Quit]
leon-anavi has joined #yocto
<rburton> write a recipe which contains that script
<rburton> that variable is simply used to be sure that something providing init is installed
<glima> ack, ty
<Saur[m]> marek: This morning you asked about some shell code related to uuids that didn't work. The reason it doesn't work is because the result of inlined Python code (i.e., what's inside `${@...}`) is expanded first by bitbake. Then the result of that expansion (i.e., a string) is inserted verbatim into the shell code, and then the shell code is executed. This means that you cannot pass a local shell variable to the inline Python code as you try to do.
<Saur[m]> Typically what you would do in a case like this is to make all of it a Python function instead.
mvlad has quit [Remote host closed the connection]
paowz has quit [Ping timeout: 268 seconds]
Minvera has quit [Remote host closed the connection]
paowz has joined #yocto
justache is now known as justHaunted
sakoman has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]
nemik has quit [Ping timeout: 248 seconds]
nemik has joined #yocto
prabhakarlad has quit [Quit: Client closed]
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
florian_kc has joined #yocto
dgriego has joined #yocto
GNUmoon has quit [Ping timeout: 258 seconds]
GNUmoon has joined #yocto
kscherer has quit [Quit: Konversation terminated!]
goliath has quit [Quit: SIGSEGV]
florian_kc has quit [Ping timeout: 252 seconds]
leon-anavi has quit [Quit: Leaving]