Friday, 2023-02-10

*** stephano is now known as stephano[away]00:00
*** stephano[away] <stephano[away]!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has quit IRC (Quit: ZZZzzz…)00:00
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-26-174-95-44-180.dsl.bell.ca> has quit IRC (Quit: Konversation terminated!)00:00
*** stephano <stephano!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has joined #yocto00:09
*** drewfustini <drewfustini!sid284109@id-284109.helmsley.irccloud.com> has left #yocto00:32
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto01:09
*** stephano is now known as stephano[away]01:41
*** stephano[away] <stephano[away]!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has quit IRC (Quit: ZZZzzz…)01:41
*** stephano <stephano!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has joined #yocto01:53
*** stephano is now known as stephano[away]02:04
*** stephano[away] <stephano[away]!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has quit IRC (Quit: ZZZzzz…)02:04
*** davidinux <davidinux!~davidinux@194.147.59.142> has joined #yocto02:12
*** Starfoxxes <Starfoxxes!~Starfoxxe@ip-037-201-004-167.um10.pools.vodafone-ip.de> has quit IRC (Ping timeout: 248 seconds)02:31
*** Starfoxxes <Starfoxxes!~Starfoxxe@ip-037-201-004-167.um10.pools.vodafone-ip.de> has joined #yocto02:33
*** tokamak <tokamak!~Tokamak@2603:c020:4004:f00:59d7:d5e1:201e:845f> has quit IRC (Quit: ZNC 1.8.2+deb2build5 - https://znc.in)02:35
*** tokamak <tokamak!~Tokamak@2603:c020:4004:f00:59d7:d5e1:201e:845f> has joined #yocto02:36
*** tokamak <tokamak!~Tokamak@2603:c020:4004:f00:59d7:d5e1:201e:845f> has quit IRC (Quit: ZNC 1.8.2+deb2build5 - https://znc.in)02:50
*** tokamak <tokamak!~Tokamak@150.136.105.167> has joined #yocto02:51
*** starblue <starblue!~juergen@dslb-094-221-191-251.094.221.pools.vodafone-ip.de> has quit IRC (Ping timeout: 248 seconds)02:54
*** tokamak <tokamak!~Tokamak@150.136.105.167> has quit IRC (Client Quit)02:55
*** starblue <starblue!~juergen@dslb-088-078-106-144.088.078.pools.vodafone-ip.de> has joined #yocto02:55
*** tokamak <tokamak!~Tokamak@150.136.105.167> has joined #yocto02:56
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto02:57
*** stephano <stephano!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has joined #yocto02:59
*** stephano is now known as stephano[away]03:13
*** stephano[away] <stephano[away]!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has quit IRC (Quit: ZZZzzz…)03:13
*** kevinrowland <kevinrowland!~kevinrowl@136.226.67.0> has quit IRC (Ping timeout: 260 seconds)03:14
*** jclsn <jclsn!~jclsn@2a04:4540:6539:a800:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 248 seconds)03:39
*** jclsn <jclsn!~jclsn@2a04:4540:6521:4f00:2ce:39ff:fecf:efcd> has joined #yocto03:40
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Remote host closed the connection)03:59
*** seninha <seninha!~seninha@user/seninha> has joined #yocto03:59
*** amitk <amitk!~amit@103.59.74.36> has joined #yocto04:03
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)04:39
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Quit: Leaving)04:44
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 264 seconds)04:59
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)05:10
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto05:10
*** AKN <AKN!~AKN@49.204.114.210> has joined #yocto05:25
*** Lihis <Lihis!~Lihis@2001:41d0:e:f34::1> has quit IRC (Quit: Quitting)05:26
*** Lihis <Lihis!~Lihis@ns3006753.ip-151-80-42.eu> has joined #yocto05:26
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto05:57
*** schtobia <schtobia!~quassel@schmidl.dev> has quit IRC (Quit: Bye!)05:59
*** schtobia <schtobia!~quassel@schmidl.dev> has joined #yocto06:00
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 265 seconds)06:04
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto06:04
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 252 seconds)06:08
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto06:09
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto06:13
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Quit: It's a dud! It's a dud! It's a du...)06:13
*** amitk_ <amitk_!~amit@103.59.74.164> has joined #yocto06:23
*** AKN <AKN!~AKN@49.204.114.210> has quit IRC (Ping timeout: 260 seconds)06:42
*** Estrella <Estrella!~quassel@075-081-060-240.res.spectrum.com> has quit IRC (Read error: Connection reset by peer)06:54
*** Estrella <Estrella!~quassel@075-081-060-240.res.spectrum.com> has joined #yocto06:55
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 248 seconds)07:04
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto07:04
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto07:06
*** goliath <goliath!~goliath@user/goliath> has joined #yocto07:06
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 260 seconds)07:09
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto07:09
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has joined #yocto07:23
*** hcg <hcg!~hcg@185.210.97.85> has joined #yocto07:29
*** AKN <AKN!~AKN@49.204.114.210> has joined #yocto07:29
*** mckoan|away is now known as mckoan07:48
mckoangood morning07:48
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has joined #yocto07:50
DvorkinDmitryIs there are a way to encrypt rootfs at image creation step?07:51
*** azcraft <azcraft!~AzCraft@195.214.254.184> has joined #yocto08:04
*** Jham <Jham!~Juba@2a01:e0a:177:a830:354c:aceb:b847:176> has joined #yocto08:05
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has joined #yocto08:06
*** janvermaete[m] <janvermaete[m]!~vermaetem@2001:470:69fc:105::ee7> has joined #yocto08:09
janvermaete[m]the packages is generated.08:10
janvermaete[m]Question: is there something wrong with gstreamer1.0-rtsp-server-apps or gstreamer1.0-rtsp-server-doc?08:10
janvermaete[m]But I can't add it to the image.08:10
janvermaete[m]The gstreamer1.0-rtsp-server itself is working fine.08:10
janvermaete[m]It doesnt work with ipk or the default one.08:11
*** piie <piie!~piie@piie.net> has joined #yocto08:14
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto08:17
mckoanDvorkinDmitry: no, you have to encrypt the resulting rootfs in a separate step08:18
*** grma <grma!~gruberm@80-93-38-128.static.kufnet.at> has joined #yocto08:22
*** mvlad <mvlad!~mvlad@2a02:2f08:4c03:f700:7656:3cff:fe3f:7ce9> has joined #yocto08:23
DvorkinDmitryis there are any recommended Docker setup for building Yocto images?08:29
*** gegir <gegir!~gegir@lfbn-idf3-1-1422-168.w109-221.abo.wanadoo.fr> has joined #yocto08:30
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)08:30
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto08:30
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto08:32
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has quit IRC (Quit: Client closed)08:45
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has joined #yocto08:47
yoctonDvorkinDmitry: Yes, the CROPS images : https://docs.yoctoproject.org/dev/overview-manual/yp-intro.html?highlight=crops#development-tools => https://github.com/crops/poky-container/09:05
*** Ablu[m] <Ablu[m]!~ablumatri@2001:470:69fc:105::2f63> has joined #yocto09:19
Ablu[m]Hi all, is there a way to get the version number of a recipe within foo_%.bbappend file? ${PV} just seems to be % there 🤔...09:20
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Remote host closed the connection)09:30
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto09:32
mcfriskAblu[m]: PV and PR will be set within a bitbake task for sure, even if the task code came from a bbappend09:41
Ablu[m]mcfrisk: Hm. I do prepend `FILESEXTRAPATHS:prepend := "${THISDIR}/qemu-${PV}:"`. In order to load .patches from there. Would you have a recommendation what a good task would be to handle such kind of stuff? Of course I could patch things manually in do_patch, but then I loose all the automatic *.patch iteration benefits.09:48
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto09:57
mcfriskAblu[m]: you have a generic, non-versioned bbappend and want to apply version specific patches? I don't see any recipes doing that so maybe at bbappend parsing time PV is not set. cargo-cross-canadian is adding PV to path in recipe itself, after PV has been set, and that works.09:58
DvorkinDmitryyocton, thank you!09:59
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Ping timeout: 265 seconds)09:59
*** camus1 is now known as camus09:59
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f580:9bc9:2729:ae0e:9d64> has joined #yocto10:00
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto10:02
Ablu[m]mcfrisk: Right... It may be a bit of a weird thing to do... Mostly I want to apply the patches in a way that things break loudly if a new version is released where I need to update the patches. If I just do version-specific .bbappends then it would just silently drop the patch and there would only be a warning in the log about not recipe being available for that .bbappend...10:03
*** Patrick2 <Patrick2!~Patrick2@p5799e11f.dip0.t-ipconnect.de> has joined #yocto10:05
qschulzAblu[m]: it should fail by default10:08
qschulzc.f. BB_DANGLINGAPPENDS_WARNONLY10:08
qschulzso hunt the layer that enables this and shout at them for doing so10:08
Patrick2Hi, i get an error while building an SDK:  ERROR: core-image-minimal-1.0-r0 do_populate_sdk: Could not invoke dnf.10:09
Patrick2I thought it should not happen because libdnf-native should have been built before? https://dpaste.org/q6HBT10:09
Ablu[m]qschulz: Oh interesting. Though I can imagine which one does it... We share this recipe across different Yocto versions without branching. So I guess fixing that would be a better spent of time...10:10
Ablu[m]Thanks all and sorry for the noise!10:10
Ablu[m]Patrick2: I think the real error is here:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/81fdc33a959e18e4428feaa0d0923301c11f1782>)10:13
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto10:15
Patrick2Ablu[m] thanks, looks like this! This is caused because the machine i have created has some flaws ?  I will check that again.10:15
Saur[m]Ablu[m]: The way we handle that is we have our main layer work with one version of OE (currently Langdale). Then we have an adaptation layer where we handle all changes that need to be done to work with another version of OE (i.e., master in our case). A common case then is that we have updated the version of a recipe from OE in our main layer. We do this using versioned bbappends, which typically then contain `PV` and10:21
Saur[m]`SRCREV`/`SRC_URI[sha256sum]`. Since OE master then typically already contain the new version, or even a newer, we do not want the bbappend in that case. So what we do then is we use `BBMASK` in the `layer.conf` file to tell bitbake to ignore the bbappend file. E.g., this is how we tell bitbake to ignore the update of `apache2` that we have in our main layer: `BBMASK += "/meta-axis/recipes-httpd/apache2/apache2_2.4.54.bbappend"`.10:21
janvermaete[m]just to come back to my gstreamer1.0-rtsp-server-apps issue.10:22
janvermaete[m]With the current master with poky.  It doesn't work for me.10:22
janvermaete[m]I can do in local.conf: IMAGE_INSTALL:append = " gstreamer1.0-rtsp-server"10:23
janvermaete[m]But I can not do: IMAGE_INSTALL:append = " gstreamer1.0-rtsp-server-apps"10:23
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 248 seconds)10:24
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto10:24
Patrick2Ablu[m]: I thought that i upgraded to kirkstone, it turned out that i had to pull the poky directory... Thanks again10:24
janvermaete[m]ERROR: core-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/var/tmp/user/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /var/tmp/user/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/etc/dnf/... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/9da3a3d759b499ffb9c1ec34a50b822cf3a631f3>)10:24
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 246 seconds)10:25
*** ptsneves1 is now known as ptsneves10:25
Patrick2janvermaete[m] this helped me two minutes ago: https://github.com/agherzan/meta-raspberrypi/issues/58110:25
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f580:9bc9:2729:ae0e:9d64> has quit IRC (Ping timeout: 265 seconds)10:27
*** florian__ <florian__!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto10:27
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 256 seconds)10:29
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto10:29
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has quit IRC (Quit: Client closed)10:30
Saur[m]jan vermaete: When I build `gstreamer1.0-rtsp-server`, it does not produce any `gstreamer1.0-rtsp-server-apps` package (nor a `gstreamer1.0-rtsp-server-doc` package), so it is no wonder that trying to install the non-existing packages fail.10:31
*** louis <louis!~louis@193.33.56.84> has quit IRC (Ping timeout: 265 seconds)10:31
janvermaete[m]@Suar let me check10:33
*** louis <louis!~louis@lmontsouris-658-1-109-35.w92-154.abo.wanadoo.fr> has joined #yocto10:33
janvermaete[m]it does for me: PACKAGES="gstreamer1.0-rtsp-server-src gstreamer1.0-rtsp-server-dbg gstreamer1.0-rtsp-server-staticdev gstreamer1.0-rtsp-server-dev gstreamer1.0-rtsp-server-doc gstreamer1.0-rtsp-server-lo\10:33
janvermaete[m]cale  gstreamer1.0-rtsp-server gstreamer1.0-rtsp-server-apps gstreamer1.0-rtsp-server-meta gstreamer1.0-rtsp-server-glib"10:33
janvermaete[m] bitbake -e gstreamer1.0-rtsp-server > log10:34
Saur[m]The `PACKAGES` variable contains packages that the recipe _may_ produce. If no files are created that matches their FILES:<package> variables, then no package will be created (unless `ALLOW_EMPTY:<package>` is set).10:35
janvermaete[m]ok, got it.10:36
janvermaete[m]But I changes the bb with this:10:36
janvermaete[m]diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.20.5.bb... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/953f9da333cd16dcedc86f874fdb44278b1f454b>)10:36
janvermaete[m]what does create the application I need.10:36
janvermaete[m]./build/tmp/work/core2-64-poky-linux/gstreamer1.0-rtsp-server/1.20.5-r0/build/examples/test-launch10:37
janvermaete[m]But it could be that the do_install isn't using it.10:37
Saur[m]jan vermaete: Correct, enabling the examples only build them, but doesn't install them.10:40
Saur[m]You will have to either patch the meson.build to install them, or do it in a do_install:append() in the recipe.10:41
janvermaete[m]I do an attemt, thanks for the help.10:41
*** seninha <seninha!~seninha@user/seninha> has joined #yocto10:46
janvermaete[m]@Suar: thanks.  It's working10:47
janvermaete[m]diff --git a/examples/meson.build b/examples/meson.build... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/17712c16a3e82c9500fd785e0391ed0a373a9085>)10:47
janvermaete[m]Should I try to have this in a patch?  Or no need in the world for this?10:47
ptsnevesjanvermaete[m]: keep in mind that your IRC client is truncating the messages you type10:48
*** starblue <starblue!~juergen@dslb-088-078-106-144.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 260 seconds)10:56
*** starblue <starblue!~juergen@dslb-088-078-106-144.088.078.pools.vodafone-ip.de> has joined #yocto10:58
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 268 seconds)11:09
*** camus <camus!~Instantbi@58.246.136.202> has quit IRC (Quit: camus)11:12
Saur[m]jan vermaete: The need for the examples from that recipe is probably very low, so a local patch in your own layer is probably enough.11:14
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto11:14
Ablu[m]saur2000[m]: Thanks for the input! I will need to see what makes most sense for me :). But it is certainly helpful to know how other people solve things (thats what I came here for).11:16
*** gegir <gegir!~gegir@lfbn-idf3-1-1422-168.w109-221.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)11:18
*** Guest8120 <Guest8120!~Guest81@89-159-1-53.rev.numericable.fr> has joined #yocto11:20
*** denisoft81 <denisoft81!~denisoft8@host-82-56-62-204.retail.telecomitalia.it> has joined #yocto11:27
LetoThe2ndyo dudX11:30
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has quit IRC (Quit: Client closed)11:32
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has joined #yocto11:33
*** Guest8120 <Guest8120!~Guest81@89-159-1-53.rev.numericable.fr> has quit IRC (Quit: Client closed)11:38
*** grma <grma!~gruberm@80-93-38-128.static.kufnet.at> has quit IRC (Ping timeout: 265 seconds)11:52
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection)11:57
*** linex[m] <linex[m]!~linexmatr@2001:470:69fc:105::3:1566> has joined #yocto11:59
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto12:08
*** AKN <AKN!~AKN@49.204.114.210> has quit IRC (Ping timeout: 246 seconds)12:12
ptsneves@RP would it be ok that the git lfs bitbake test would use this repo https://gitlab.com/gitlab-examples/lfs12:28
*** amitk_ <amitk_!~amit@103.59.74.164> has quit IRC (Ping timeout: 260 seconds)12:33
*** hcg <hcg!~hcg@185.210.97.85> has quit IRC (Quit: Client closed)12:35
*** Patrick2 <Patrick2!~Patrick2@p5799e11f.dip0.t-ipconnect.de> has quit IRC (Quit: Connection closed)12:46
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)12:47
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto12:48
*** brazuca <brazuca!~brazuca@2804:7f4:3590:8fb5:140c:db4f:a13e:6986> has quit IRC (Quit: Client closed)12:48
RPptsneves: what does it use today? We might want to mirror that ourselves just to reduce the risk of network issues impacting the autobuilder12:58
*** gegir <gegir!~gegir@lfbn-idf3-1-1422-168.w109-221.abo.wanadoo.fr> has joined #yocto13:04
ptsnevesFunny answer. It uses a locally set up repository, but that repository does not have any git lfs file. The reason being that git lfs requires a dedicated server to serve ot. Furthermore, the test's _find_git_lfs is always false due to the PATH not being set, so the test always skips any operation on that supposed git lfs repository13:05
*** gegir <gegir!~gegir@lfbn-idf3-1-1422-168.w109-221.abo.wanadoo.fr> has left #yocto13:07
*** gegir <gegir!~gegir@2a01cb0802a81d003f7edd470f5e6aed.ipv6.abo.wanadoo.fr> has joined #yocto13:08
*** hcg <hcg!~hcg@185.210.97.85> has joined #yocto13:15
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)13:20
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto13:20
*** AKN <AKN!~AKN@49.204.114.210> has joined #yocto13:21
RPptsneves: I'm a little surprised to hear that you need a special server :/13:24
RPptsneves: that would be a good reason to use the example one I guess13:25
linex[m]Hello, I'm new to Yocto and I was trying to create a file on the target rootfs... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/9751c161ef9c8636a8c59af99bcbc27d4657ea59>)13:27
linex[m] * Hello, I'm new to Yocto and I was trying to create a file on the target rootfs... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/230371bbff8becaa196de19fd9154211d33ead8b>)13:28
ptsnevesThere is more. THe current test code is also not enough and does not test for the existence of the smudge which is arguably more important than having git-lfs in the path. From the point of view of yocto we do not even need to call or support lfs specifically. LFS checkout and pull would be handled by git through git config filter.*.13:28
ptsnevesWhich leads to the alternative test path where we do not need a real git LFS server. We would just create a fake git-lfs command and put it in the PATH and check that git's smudge filter called our git-lfs fake command when checking out sources.13:28
ptsnevess/yocto/bitbake13:28
linex[m]> <@linex:matrix.org> Hello, I'm new to Yocto and I was trying to create a file on the target rootfs... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/ab5648fccfd492c25df04798215472b6cf92c71e>)13:30
linex[m] * Hello, I'm new to Yocto and I was trying to create a file on the target rootfs... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/8a43b26ca8c54fb2e3e12d5a8ebe316c05622e07>)13:32
linex[m]do_package_rpm is failing, I never called it, so it must be defaults.13:34
linex[m]If I override `do_package()` to be empty, I get dnf errors13:34
linex[m]should I be doing something in do_package() or do_package_rpm() ?13:34
qschulzlinex[m]: half wondering if you shouldn't set PACKAGES = "${PN}"13:34
qschulzlinex[m]: but also, you need a LICENSE, LIC_FILES_CHKSUM, DESCRIPTION13:35
*** denisoft81 <denisoft81!~denisoft8@host-82-56-62-204.retail.telecomitalia.it> has quit IRC (Quit: Leaving)13:35
qschulzand maybe some other variables, check other recipes13:35
qschulze.g. meta-skeleton/recipes-skeleton/hello-single/hello_1.0.bb13:36
linex[m]qschulz: thank you! I actually went through so many iterations that I lost count. I did add PACKAGES = "${PN}" but it errors if I also have it in IMAGE_INSTALL.13:37
linex[m]I will put it back. I also have those other fields set to empty strings for now. could that be it ?13:37
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has quit IRC (Remote host closed the connection)13:39
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has joined #yocto13:39
ptsneves@RP sent my initial patches with work on the lfs tests. Also git-lfs consumes the Git LFS API as documented here https://github.com/git-lfs/git-lfs/blob/main/docs/api/README.md?utm_source=gitlfs_site&utm_medium=api_spec_link&utm_campaign=gitlfs13:41
qschulzlinex[m]: if you have what in IMAGE_INSTALL?13:42
linex[m]qschulz: the name of the package13:42
linex[m]> <@qschulz:libera.chat> linex: if you have what in IMAGE_INSTALL?13:44
linex[m] * If I append the name of the package to IMAGE_INSTALL13:44
qschulzlinex[m]: I think we're missing some info because this is exactly what you're supposed to put in there13:44
linex[m]PS: working on poky dunfell13:44
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has quit IRC (Quit: Client closed)13:46
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-26-174-95-44-180.dsl.bell.ca> has joined #yocto13:46
qschulzlinex[m]: first get bitbake <your-recipe> to build, then you can work on adding it to the image13:46
linex[m]<qschulz> "linex: if you have what in IMAGE..." <- ```13:51
linex[m]ERROR: k3s-init-git-r0 do_package: QA Issue: k3s-init is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]13:51
linex[m]```13:51
linex[m]I'll remove it form IMAGE_INSTALL for now13:52
linex[m]ok it does build13:53
linex[m](k3s-init is the name of my recipe)13:55
rburtonwould be easier if you share your recipe13:57
qschulzlinex[m]: did you do PACKAGES += "${PN}" or PACKAGES = ""${PN}"?13:57
qschulzyeah what rburton said also :)13:57
qschulzbetween tries even :)13:57
linex[m]PACKAGE += "${PN}"13:58
rburtonit already had PN in, so you added it again, which is why you get the error that it is listed multiple times13:59
rburtonhonestly just share the recipe, we'll help fix it.  debugging via guessing what you've done is really hard work.13:59
linex[m]https://pastebin.pl/view/463c3b7313:59
rburtonyou shouldnt need PACKAGES set at all, really14:00
qschulzlinex[m]: take the lic_fils_cheksum value from a recipe using COMMON_LIC_DIRS like the hello-world example14:00
qschulzrburton: to be fair, I suggested it14:00
qschulzbecause of some rpm issue, was wondering if it had something to do with empty packages or something /me shrugs14:01
rburtonqschulz: to be fair, you're guessing what the rootfs errors were :)14:01
rburtonin production the file you generate should have a license statement and then LIC_FILES_CHKSUM can point at that14:02
rburtoneven if its just "this file is mit licensed"14:02
linex[m]yeah I just wanted to test stuff for now ^^14:03
rburtonwhen you can bitbake that recipe, add it to the image and if that fails again say what the error was14:03
linex[m]thanks for all the info I'll tinker a little and see if I can make it work14:03
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto14:04
linex[m]okay, I was iterating over the whole image ^^14:05
linex[m]so rpm are the package types and dnf the package manager that installs them on the image ?14:07
rburtonyes14:08
rburtonwell rpm is the package manager but it only deals with a single package. dnf deals with lots at once.  if you know debian, it's dpkg-apt == rpm-dnf14:08
linex[m]this is an irc chat i shouldn't do reactions probably ? not sure if you receive them or if they even behave correcly, but it was a thumbs up :)14:11
*** stephano <stephano!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has joined #yocto14:12
qschulzlinex[m]: we don't receive them14:14
qschulzlinex[m]: also, don't write too long or use newline characters as this shows as a link to us and we can't read without clikcing on the link14:14
qschulz(which most of us don't do, because that's not how IRC works)14:14
linex[m]good to know, thanks14:15
linex[m]I think my problem is resolved and it was just because I added an S to PACKAGE += ...14:16
linex[m]now the kernel is panicking, but that's another thing ^^14:16
*** azcraft <azcraft!~AzCraft@195.214.254.184> has quit IRC (Remote host closed the connection)14:18
*** azcraft <azcraft!~AzCraft@195.214.254.184> has joined #yocto14:20
*** stephano <stephano!~stephano@c-73-157-142-176.hsd1.or.comcast.net> has quit IRC (Quit: byeee)14:22
*** azcraft <azcraft!~AzCraft@195.214.254.184> has quit IRC (Remote host closed the connection)14:23
*** azcraft <azcraft!~AzCraft@195.214.254.184> has joined #yocto14:24
*** azcraft <azcraft!~AzCraft@195.214.254.184> has quit IRC (Remote host closed the connection)14:27
*** azcraft <azcraft!~AzCraft@195.214.254.184> has joined #yocto14:28
*** AKN <AKN!~AKN@49.204.114.210> has quit IRC (Ping timeout: 248 seconds)14:32
linex[m]Is it safe to share SSTATE_CACHE for builds on different platforms and different distros ?14:33
mckoanlinex[m]: what do you mean with "platforms" ?14:36
linex[m]for example a raspberry pi and another arm SBC14:38
linex[m]I should've said machines*14:38
JPEWlinex[m]: Yes14:43
JPEWlinex[m]: We share sstate between multiple versions of Yocto, and build for many different SoC, Archs, and platforms14:44
mckoanif is a different ARCH is useless to share it14:44
*** prabhakarlad <prabhakarlad!~prabhakar@pc.renesas.eu> has joined #yocto14:52
linex[m]thanks :)14:52
qschulzmckoan: you'll still share the sstate-cache for native recipes, so definitiely not useless :)15:01
linex[m]It worked! I spend a week on this15:06
linex[m]s/spend/spent/15:06
*** thekappe <thekappe!~thekappe@198.90.66.177> has joined #yocto15:07
phako[m]is there an example for an out-of-tree kernel module that pulls its sources from git somewhere?15:07
thekappehello guys ! While building a yocto image with bitbake, someone is pulling in qemu-native. Since I do not need qemu at all, how can I remove it from the flow ? THere is a way to find who needs it or where it's added to the image dependencies ?15:08
mckoanqschulz: I forgot to consider that ;-)15:10
linex[m]@thekappe bitbake-layers show-recipes <recipe> ?15:12
phako[m]nvm, found the issue15:13
thekappe@linex, thanks, I'll try asap15:16
linex[m]so It would be completely safe to share sstate, a colleague told me to split the sstates because collisions can happen. probably outdated info15:20
rburtonthekappe: you need qemu to build some recipes15:21
rburtonfont caches and gobject-introspection data for example15:21
thekappesometimes the qemu capstone repo is not available at git://git.qemu.org/15:22
thekappeand also if I usually build with BB_NO_NETWORK it seems that qemu-native still need it15:22
JPEWlinex[m]: We've run sstate all the way back to yocto 2.1 with no collision problems, FWIW15:23
thekappeso for the moment I've just: git config --global url."https://github.com/qemu/".insteadOf "git://git.qemu.org/"15:23
rburtonthekappe: either you've a special qemu recipe or an old one, as the current recipe uses a tarball15:23
thekappea very old one :D15:24
*** azcraft <azcraft!~AzCraft@195.214.254.184> has quit IRC (Remote host closed the connection)15:24
*** dmoseley <dmoseley!~dmoseley@d4-50-204-185.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)15:25
*** dmoseley <dmoseley!~dmoseley@d4-50-204-185.evv.wideopenwest.com> has joined #yocto15:26
qschulzthekappe: I think you can setup a carefully crafted PREMIRRORS variable to have this in your layers directly instead of your local git config?15:36
rburtonthekappe: a recipe that needs network even if its been fetched with BB_NO_NETWORK is broken15:37
thekappe@qschulz, yes, that's sounds right15:37
thekapperburton, makes sense15:38
qschulzrburton: you could also bbappend it and modify SRC_URI directly15:38
thekappethanks guys15:38
*** Minvera <Minvera!~Minvera@user/Minvera> has joined #yocto15:45
*** aak-rookie <aak-rookie!~aak-rooki@46.221.0.162> has quit IRC (Quit: Client closed)15:50
*** amitk_ <amitk_!~amit@103.208.69.176> has joined #yocto15:55
*** amitk <amitk!~amit@103.59.74.36> has quit IRC (Ping timeout: 248 seconds)15:58
*** dev1990 <dev1990!~dev@77-254-226-214.adsl.inetia.pl> has quit IRC (Quit: Konversation terminated!)16:04
*** vladest <vladest!~Thunderbi@2a02:1210:760b:9500:19d4:7b54:6ff0:6ee7> has quit IRC (Ping timeout: 260 seconds)16:31
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:a3d4:26d0:73ea:6c06> has joined #yocto16:33
knicklichtI am trying to use a recipe but during build I get the error: ERROR: Meson version is 0.55.1 but project requires >= 0.59.0 . Is this something I can fix or is the meson version coupled to my Yocto version?16:34
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)16:35
Saur[m]knicklicht: You will have to update the version of meson in one of your own layers. If you look at Git history of the meson recipe in master of OE-Core, you should be able to tell what changes are needed to update from 0.55.1 to 0.59.0. The easiest way is probably to simply copy a newer version of the recipe from OE-Core. However, depending on how far back you are, there may be changes to meson.bbclass and meson-routines.bbclass that you also need16:39
Saur[m]to copy.16:39
*** florian__ <florian__!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 256 seconds)16:46
knicklichtThanks, Saur[m]. So I just copy the content of "recipes-devtools/meson" into my build dir. Then I build and any errors will tell me if I also need changes to meson.bbclass and meson-routines.bbclass?16:49
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)16:52
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)16:57
*** DvorkinDmitry <DvorkinDmitry!~dvorkin@5.167.98.73> has quit IRC (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)16:58
*** odra <odra!~odra@2804:431:c7e0:db74:d30d:b77f:9761:e7d> has joined #yocto17:00
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Quit: ptsneves)17:06
*** ptsneves1 is now known as ptsneves17:06
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto17:06
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 252 seconds)17:10
*** ptsneves1 is now known as ptsneves17:10
*** Piraty <Piraty!~irc@user/piraty> has quit IRC (Quit: -)17:14
*** Piraty <Piraty!~irc@user/piraty> has joined #yocto17:16
*** Jham <Jham!~Juba@2a01:e0a:177:a830:354c:aceb:b847:176> has quit IRC (Quit: Leaving)17:16
*** knicklicht <knicklicht!~knicklich@2a02:908:1995:4220:a3d4:26d0:73ea:6c06> has quit IRC (Quit: Client closed)17:20
*** mckoan is now known as mckoan|away17:20
*** kevinrowland <kevinrowland!~kevinrowl@136.226.67.0> has joined #yocto17:42
*** gegir <gegir!~gegir@2a01cb0802a81d003f7edd470f5e6aed.ipv6.abo.wanadoo.fr> has quit IRC (Quit: Client closed)17:45
*** azcraft <azcraft!~AzCraft@195.214.254.184> has joined #yocto17:51
Saur[m]knicklicht: Not quite. You need to copy the recipe into one of your layers. As for the bbclasses, you will have to compare the version(s) you have with the ones in OE-Core master and based on that determine what you should do. For the bbclasses in your layer to be used, you also need to make sure that your layer is specified before `meta` in the `BBLAYERS` variable in your `bblayers.conf` file.18:04
*** olani- <olani-!~olani@83-233-29-230.cust.bredband2.com> has joined #yocto18:11
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Quit: ptsneves)18:18
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto18:18
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Client Quit)18:18
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto18:19
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Client Quit)18:19
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto18:19
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 268 seconds)18:28
*** ptsneves1 <ptsneves1!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto18:28
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has joined #yocto18:28
*** ptsneves1 is now known as ptsneves18:30
*** goliath <goliath!~goliath@user/goliath> has joined #yocto18:31
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 260 seconds)19:00
*** odra <odra!~odra@2804:431:c7e0:db74:d30d:b77f:9761:e7d> has quit IRC (Quit: Leaving)19:05
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 255 seconds)19:21
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)19:23
*** brazuca <brazuca!~brazuca@2804:7f4:3590:8fb5:aca8:4c72:f6fe:ce41> has joined #yocto19:31
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has joined #yocto19:54
*** goliath <goliath!~goliath@user/goliath> has joined #yocto19:55
*** thekappe <thekappe!~thekappe@198.90.66.177> has quit IRC (Ping timeout: 260 seconds)19:58
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)20:15
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto20:15
*** brazuca <brazuca!~brazuca@2804:7f4:3590:8fb5:aca8:4c72:f6fe:ce41> has quit IRC (Quit: Client closed)20:18
*** ptsneves <ptsneves!~Thunderbi@031011128208.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto20:22
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 252 seconds)20:33
*** amitk_ <amitk_!~amit@103.208.69.176> has quit IRC (Ping timeout: 260 seconds)20:39
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 255 seconds)20:40
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has joined #yocto20:41
*** kevinrowland <kevinrowland!~kevinrowl@136.226.67.0> has quit IRC (Quit: Client closed)20:43
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Quit: Leaving)20:48
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto20:49
*** Patrick2 <Patrick2!~Patrick2@p5799e11f.dip0.t-ipconnect.de> has joined #yocto21:26
Patrick2Hi iam still facing the problem that I cannot generate a SDK. I have created a machine "matching" my Board. It is a bigtreetechCB1. Now i get this error:   - package packagegroup-core-boot-1.0-r17.bigtreetechcb1 does not have a compatible architecture21:26
Patrick2One question which would help me, packagegroup-core-boot is a recipe, but why is the board name added there? I have the feeling that this could be caused by an concatenation error?21:28
*** u1106 <u1106!~quassel@2a05:d014:58:4b00:bbe8:f33:b5b7:d4f7> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)21:51
*** u1106 <u1106!~quassel@2a05:d014:58:4b00:bbe8:f33:b5b7:d4f7> has joined #yocto21:51
*** Minvera <Minvera!~Minvera@user/Minvera> has quit IRC (Remote host closed the connection)22:00
landgrafPatrick2: board name is architecture name in this case. It's defined as ARCH = ${MACHINE_ARCH} in the recipe22:08
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Quit: Leaving)22:09
landgrafPatrick2: you have to find out why sdk tries to install packagegroup-core-boot.22:13
Patrick2landgraf ok, did something changed? my local.conf is always cleaned when i run bitbake22:16
Patrick2no wait it is now there, but it was deleted... Hm22:17
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Remote host closed the connection)22:17
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto22:20
Patrick2landgraf So it should try to install u-boot?22:22
landgrafPatrick2: in SDK? What for?22:25
Patrick2instead of packagegroup-core-boot?22:28
Patrick2so i fixed one error and one warning, the warning was no uppercases in machine names the error was a typo in LAYERSERIES_COMPAT_bsp_bigtreetech_cb122:30
*** Estrella <Estrella!~quassel@075-081-060-240.res.spectrum.com> has quit IRC (Ping timeout: 260 seconds)22:33
*** seninha <seninha!~seninha@user/seninha> has joined #yocto22:33
*** azcraft <azcraft!~AzCraft@195.214.254.184> has quit IRC (Remote host closed the connection)22:37
*** risca <risca!~quassel@h-155-4-62-62.A980.priv.bahnhof.se> has quit IRC (Ping timeout: 248 seconds)22:37
*** pabigot <pabigot!~pab@67-1-126-243.tcso.qwest.net> has quit IRC (Remote host closed the connection)22:43
*** pabigot <pabigot!~pab@67-1-126-243.tcso.qwest.net> has joined #yocto22:45
*** risca <risca!~quassel@h-155-4-62-62.A980.priv.bahnhof.se> has joined #yocto22:51
*** kanavin_ <kanavin_!~Alexander@5.28.111.6> has joined #yocto23:10
*** kanavin <kanavin!~Alexander@2a02:2454:29b:3b00:d35d:e3cf:58b5:748b> has quit IRC (Ping timeout: 248 seconds)23:11
*** mvlad <mvlad!~mvlad@2a02:2f08:4c03:f700:7656:3cff:fe3f:7ce9> has quit IRC (Remote host closed the connection)23:18
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-26-174-95-44-180.dsl.bell.ca> has quit IRC (Quit: Konversation terminated!)23:31
*** florian__ <florian__!~florian@dynamic-093-133-159-096.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)23:40
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)23:47
*** Patrick2 <Patrick2!~Patrick2@p5799e11f.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds)23:52

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!