LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
davidinux has quit [Ping timeout: 252 seconds]
davidinux has joined #yocto
jclsn has quit [Ping timeout: 245 seconds]
jclsn has joined #yocto
DvorkinDmitry has joined #yocto
<DvorkinDmitry> SDK includes kernel sources + other dependencies. I try to load the SDK ENV then "cd SDKTARGETPATH/usr/src/kernel/ && make modules_prepare", but got "yaml.h" not found, althrough yaml.h is there, in SDKTARGETPATH/usr/include/. What should I do to fix it?
enok has joined #yocto
locutusofborg has quit [Ping timeout: 245 seconds]
vladest has quit [Ping timeout: 245 seconds]
Vonter has joined #yocto
enok has quit [Ping timeout: 245 seconds]
amitk has joined #yocto
bharathbck has joined #yocto
ehussain has joined #yocto
ehussain has quit [Ping timeout: 245 seconds]
xmn has quit [Ping timeout: 252 seconds]
bharathbck has quit [Quit: Client closed]
alessioigor has joined #yocto
alperak has joined #yocto
rob_w has joined #yocto
Abp has quit [Ping timeout: 245 seconds]
Abp has joined #yocto
goliath has joined #yocto
frieder has joined #yocto
locutusofborg has joined #yocto
linfax has quit [Remote host closed the connection]
Abp has quit [Read error: Connection reset by peer]
Abp has joined #yocto
linfax has joined #yocto
shivamurthy has joined #yocto
Abp has quit [Ping timeout: 260 seconds]
Abp has joined #yocto
Danct12 has quit [Quit: ZNC 1.9.0 - https://znc.in]
Danct12 has joined #yocto
ablu has quit [Read error: Connection reset by peer]
ablu has joined #yocto
Kubu_work has joined #yocto
altru has joined #yocto
c-thaler has joined #yocto
asriel has joined #yocto
simonew has joined #yocto
vladest has joined #yocto
ederibaucourt has quit [Ping timeout: 256 seconds]
ederibaucourt has joined #yocto
enok has joined #yocto
<qschulz> halstead: interesting choice. I would have thought everyone would like to have http->https redirected always. Don't likey-likey the red colors/broken locks in my address space, and i'm too lazy to type https:// in front of my URLs on colleagues' PCs :)
<qschulz> but if this is a deliberate choice, I personally do not have much against it rather than "would prefer otherwise", which doesn't apply to me because of HTTPS-only feature of Firefox I have enabled
enok has quit [Ping timeout: 272 seconds]
ablu_ has joined #yocto
ablu has quit [Ping timeout: 272 seconds]
florian has joined #yocto
enok has joined #yocto
ablu_ is now known as ablu
Piraty has quit [Quit: -]
Piraty has joined #yocto
Piraty has quit [Quit: -]
enok has quit [Ping timeout: 256 seconds]
Piraty has joined #yocto
<dvergatal> hi is there some proper way within bitbake or oe-core to verify version like e.g. parse_version from packaging.version ?
bhstalel has joined #yocto
<bhstalel> Hello,
<bhstalel> Has anyone seen this error before ?
<bhstalel> poky/bitbake/lib/bb/runqueue.py:2229: ResourceWarning: unclosed file <_io.BufferedWriter name=50>
<bhstalel>   return True
<qschulz> dvergatal: what do you want to do (the actual use case)?
<dvergatal> qschulz: to verify versions and do if else
<dvergatal> qschulz: meaning that I have a python function in which I want to call some part of the code if version defined elsewhere is lower than expected and run other code if version is higher
<qschulz> dvergatal: you cannot access the data from one recipe from within another recipe, so if your plan is to do something in recipe A based on the version of recipe B, that won't work
<dvergatal> qschulz: no it is not in recipe but in bbclass and i do not want to compare recipe versions
<dvergatal> qschulz: I do not plan to do what you have described
<qschulz> dvergatal: still not sure to understand what you want to do, but the recipe version should be PV
<qschulz> it may store a little bit more than the version in the filename, or may be entirely different if git is used
<dvergatal> echh I check DISTRO_VERSION variable and I want to do something if I will change it
<landgraf> dvergatal: as qschulz mentioned it depends on "somewhere" where the version is defined
<qschulz> dvergatal: you can read DISTRO_VERSION from anywhere, provided you change it only from the distro conf file (or any other conf file that is used as part of your build, but distro conf file is where it makes the most sense)
<landgraf> dvergatal: you can do it in your python function. ver = d.getVar("DISTRO_VERSION"); if ver > X: do_something()
<dvergatal> landgraf: yes this is what I wanted to do but I wanted to use this parse_version from packaging.version and thought that maybe there is something already like it in bitbake
<qschulz> dvergatal: I don't remember exaclty if I used it in the past or not but vercmp from bb.
<qschulz> bb.utils may be useful;
<landgraf> dvergatal: there're few utils.py files which provided some functions like that
<landgraf> dvergatal: check them out
<dvergatal> ok thx a lot
<bhstalel> The full error:
<bhstalel> ERROR: Failed to spawn fakeroot worker to run /.../layers/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb:do_install: [Errno 32] Broken pipe
<bhstalel> WARNING: /..../layers/poky/bitbake/lib/bb/runqueue.py:2229: ResourceWarning: unclosed file <_io.BufferedWriter name=50>
<bhstalel>   return True
<bhstalel> Anyone has an idea ?
<dvergatal> qschulz: yeah there it is thx
<dvergatal> vercmp_string
<dvergatal> thx :D
rbox has quit [Ping timeout: 264 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #yocto
rbox has joined #yocto
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #yocto
bhstalel has quit [Ping timeout: 250 seconds]
olani has quit [Remote host closed the connection]
olani has joined #yocto
bhstalel has joined #yocto
ehussain has joined #yocto
ehussain has quit [Ping timeout: 260 seconds]
enok has joined #yocto
locutusofborg has quit [Ping timeout: 245 seconds]
locutusofborg has joined #yocto
enok has quit [Ping timeout: 264 seconds]
locutusofborg has quit [Read error: Connection reset by peer]
locutusofborg has joined #yocto
altru has quit [Ping timeout: 250 seconds]
sakoman has quit [Ping timeout: 245 seconds]
Ad0 has quit [Ping timeout: 268 seconds]
sakoman has joined #yocto
sakoman has quit [Ping timeout: 260 seconds]
sakoman has joined #yocto
Ad0 has joined #yocto
xmn has joined #yocto
yannd has joined #yocto
altru has joined #yocto
rob_w has quit [Remote host closed the connection]
<fullstop> Is it possible to use yocto to create an ext4 file system which is not a full system?
<fullstop> That is, let's say that I wanted to create a partition which will be mounted at /app but it does not include the C runtime, init system, etc.
<fullstop> I could delete a ton of stuff in a postprocess command I suppose.
enok has joined #yocto
linfax has quit [Ping timeout: 252 seconds]
enok has quit [Quit: enok]
enok has joined #yocto
<yocton> fullstop: IIRC you can install your app in /app and tell wic to make an ext4 image file with just that.
<fullstop> yocton: will that remove the contents of /app from the rootfs image?
<fullstop> If so, that is exactly what I want.
<yocton> you may need to exclude /app from the "main" wic file
<fullstop> I will look into this. Thanks, yocton.
mbulut has joined #yocto
mbulut has quit [Client Quit]
bhstalel has quit [Ping timeout: 250 seconds]
goliath has quit [Quit: SIGSEGV]
ldywicki has joined #yocto
simonew has quit [Ping timeout: 250 seconds]
enok has quit [Ping timeout: 268 seconds]
|Xagen has joined #yocto
Xagen has quit [Ping timeout: 260 seconds]
|Xagen has quit [Ping timeout: 255 seconds]
mbulut has joined #yocto
mbulut has quit [Client Quit]
altru has quit [Quit: Client closed]
<fullstop> excluding works great. Including, not so much. I ended up with a partition containing the entire rootfs (including /app)
<fullstop> Perhaps I need to make my own wic plugin.
<qschulz> fullstop: pretty sure this is supported just fine in wic
<fullstop> How can I exclude everything except for /app ?
<fullstop> do I need to --exclude-path /usr --exclude-path /lib ?
<qschulz> fullstop: shouldn't it just be "part /app" ?
<fullstop> qschulz: what is the source, though? rootfs?
<qschulz> I guess so?
<qschulz> IIRC we allow to have the /boot directory in a different partition via some variables, so I think wic should have some support for that
<fullstop> This is what I end up for that partition when I do that: https://pastebin.com/raw/ZQ7KPcKG
<qschulz> but I may be misremembering
<fullstop> I'm using a NXP bsp, so maybe this is supported post mickeldore
<qschulz> mickledore EOL already :)
<fullstop> in this case, "part app" /app has the contents and "part /" /app is empty.
<fullstop> qschulz: I understand, my hands are tied there.
<qschulz> fullstop: part /app not part app, but looking into the plugins now
<qschulz> plugins/source/bootimg-partition.py seems to be the one I was talking about
<qschulz> so maybe not that well integrated for anything outside of /boot directory :)
<fullstop> That explains the behavior at least. :-)
<qschulz> fullstop: sorry, not much more input from me on that topic :/
<fullstop> no worries, I appreciate your input.
vladest has quit [Ping timeout: 240 seconds]
Kubu_work has quit [Quit: Leaving.]
<halstead> qschulz: At one point I did enable global redirects from http -> https. I received complaints from people because it broke their CI system.
florian_kc has joined #yocto
<halstead> kanavin: May I interrupt https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6837 for reboots?
<yocton> fullstop: some look like what you are trying to do and did run successfully at some point
<qschulz> halstead: while you're here, the dark theme (I assume) on cgit is broken
<qschulz> I have white background but white font as well :)
<halstead> qschulz: It looks like the link to the dark theme was removed as well.
enok has joined #yocto
Abp has quit [Read error: Connection reset by peer]
Abp has joined #yocto
<qschulz> yocton: thanks for the pointer, will wait therefore :)
<qschulz> can always just highlight the text whenever I want to read something specifically anyway
enok has quit [Ping timeout: 240 seconds]
vladest has joined #yocto
olani- has joined #yocto
amitk has quit [Ping timeout: 245 seconds]
<DvorkinDmitry> SDK includes kernel sources + other dependencies. I try to load the SDK ENV then "cd SDKTARGETPATH/usr/src/kernel/ && make modules_prepare", but got "yaml.h" not found, althrough yaml.h is there, in SDKTARGETPATH/usr/include/. What should I do to fix it?
olani- has quit [Ping timeout: 268 seconds]
olani- has joined #yocto
<rburton> DvorkinDmitry: does it actually need _host_ yaml?
<DvorkinDmitry> rburton, I saw this recommendation from STM, but I'm sure it should see the include files from SDK itself
jmiehe has joined #yocto
<yudjinn> on kirkstone, i have a modem that activates and connects using ModemManager, but NetworkManager never sees it; how can I debug this?
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 245 seconds]
mattsm has joined #yocto
florian_kc has joined #yocto
mattsm has quit [Ping timeout: 246 seconds]
mattsm has joined #yocto
olani- has quit [Remote host closed the connection]
mattsm3 has joined #yocto
mattsm has quit [Ping timeout: 264 seconds]
mattsm3 is now known as mattsm
enok has joined #yocto
vladest has quit [Quit: vladest]
jclsn has quit [Ping timeout: 245 seconds]
toric has joined #yocto
jclsn has joined #yocto
frieder has quit [Remote host closed the connection]
tlhonmey has joined #yocto
Xagen has joined #yocto
vladest has joined #yocto
<vvn> hi there -- what do you guys recommend for modem connectivity?
<arielmrmx> ?
<arielmrmx> oo i read "modern"
c-thaler has quit [Quit: Client closed]
<yudjinn> vvn: ModemManager is the standard, and NetworkManager handles the ppp stream on top of it
<yudjinn> unless you're running iwd or smth
<vvn> ok, I see that the 3g machine feature installs ofono. How would that compare to modemmanager?
enok has quit [Ping timeout: 245 seconds]
enok has joined #yocto
Kubu_work has joined #yocto
<rfs613> scarthcap seems to ship gcc 13.2 currently (oe-core/meta/recipes-devtools/gcc)... will this be updated to 13.3 when that version releases?
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
<vmeson> rfs613: Yes, we'll, update to gcc-13.3 when it's released.
<rfs613> ok thanks!
enok has quit [Quit: enok]
enok has joined #yocto
alessioigor has quit [Ping timeout: 260 seconds]
<halstead> kanavin: Nevermind. I let it finish.
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
Kubu_work has quit [Quit: Leaving.]
enok has quit [Ping timeout: 252 seconds]
ajfriesen has joined #yocto
dankm has quit [Remote host closed the connection]
dankm has joined #yocto
florian_kc has quit [Ping timeout: 256 seconds]
jmiehe has quit [Quit: jmiehe]
alperak has quit [Quit: Connection closed for inactivity]
mulk has quit [Ping timeout: 256 seconds]
mulk has joined #yocto
florian_kc has joined #yocto
alimon has quit [Ping timeout: 245 seconds]
florian_kc has quit [Ping timeout: 252 seconds]
alimon has joined #yocto
vquicksilver has quit [Ping timeout: 240 seconds]
vquicksilver has joined #yocto
ablu has quit [Ping timeout: 245 seconds]
Abp has quit [Read error: Connection reset by peer]