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]
<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:
<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]
<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>
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]
<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!]