Wednesday, 2024-10-16

*** olani- <olani-!~olani@81-225-149-133-no2814.tbcn.telia.com> has quit IRC (Ping timeout: 252 seconds)00:08
*** olani_ <olani_!~olani@81-225-149-133-no2814.tbcn.telia.com> has quit IRC (Ping timeout: 252 seconds)00:08
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Quit: Gone)02:18
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has joined #oe02:20
*** Xagen <Xagen!~Xagen@99-135-179-142.lightspeed.austtx.sbcglobal.net> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)02:35
*** reavertm <reavertm!~reavertm@gentoo/developer/reavertm> has quit IRC (Quit: Gone)05:19
*** mckoan|away is now known as mckoan06:54
*** aduskett <aduskett!~adam@2001:b07:6467:4426:e642:fe3c:c003:b424> has joined #oe06:56
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #oe07:26
*** guest71 <guest71!~guest92@185.37.248.114> has joined #oe07:49
*** Kubu_work <Kubu_work!~kubu@static-css-ccs-204145.business.bouyguestelecom.com> has joined #oe07:50
*** sfo <sfo!d6f77adfe3@user/sfo/x-3716460> has quit IRC (Read error: Connection reset by peer)07:51
*** sfo <sfo!d6f77adfe3@user/sfo/x-3716460> has joined #oe07:51
*** florian <florian!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has joined #oe08:07
*** frieder <frieder!~frieder@i59F664EE.versanet.de> has joined #oe08:08
*** florian <florian!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)08:12
*** olani <olani!~olani@axis-fw1.se.axis.com> has quit IRC (Remote host closed the connection)09:16
*** olani <olani!~olani@axis-fw1.se.axis.com> has joined #oe09:17
aduskettHey, question09:20
aduskettyocto-check-layer: what changes signatures?09:20
aduskettI have a .bbappend file that changes the URI and SRCREV of a .bb file, but yocto-check-layer gets quite upset about this09:25
rburtonthat would be it.  simply adding a layer shouldn't change other recipes.09:35
rburtonwhat sort of layer is it?09:35
aduskettrburton: It's a BSP layer09:39
aduskettbasically, I have a board uses a rockchip rk3588, but the libmali library from git://github.com/JeffyCN/mirrors.git;protocol=https;branch=linux-rga-multi; doesn't work, so I have a .bbappend that changes it to git://gitlab.com/firefly-linux/external/linux-rga.git;protocol=https;nobranch=1;branch=rk3588/linux_yocto_release; which does work09:39
aduskettand of course the SRCREV as well09:40
aduskettThe .bbappend file is only 3 lines long and works perfectly, but I don't want to make a whole new package with a different name, as that goes down a very long and annoying rabbithole09:41
aduskettBut I also also want to pass yocto-check-layer09:41
aduskettrburton: "simply adding a layer shouldn't change other recipes." how are you supposed to make changes then? Fork the layer completely?09:45
*** angeloc <angeloc!~angeloc@31.13.255.155> has joined #oe09:51
aduskettrburton:  https://docs.yoctoproject.org/dev/dev-manual/layers.html#following-best-practices-when-creating-layers does that not contridict that statement?09:51
*** angeloc <angeloc!~angeloc@31.13.255.155> has quit IRC (Client Quit)09:53
*** angeloc <angeloc!~angeloc@31.13.255.155> has joined #oe09:54
rburtonaduskett: if you're bbappending a recipe and changing the SRC_URI then use an override to limit it to only happening with your machine enabled10:02
aduskettrburton: so a machine specific directory according to the documentation?10:07
aduskettrburton: recipes-graphics/rockchip-librga/itx-3588j/rockchip-librga.bbappend ?10:07
rburtonwhere does the docs say to use a machine specific directory?10:08
aduskettrburton: https://docs.yoctoproject.org/dev/dev-manual/layers.html#following-best-practices-when-creating-layers maybe I'm misreading?10:09
rburtonoverrides like SRC_URI:mymachine10:09
aduskett"In summary, you need to place all files referenced from SRC_URI in a machine-specific subdirectory within the layer in order to restrict those files to machine-specific builds."10:09
rburton"To make sure your changes apply only when building machine “one”, use a machine override with the DEPENDS statement:10:09
rburtonDEPENDS:one = "foo"10:09
rburton"10:09
rburtonaduskett: that's talking about files added to SRC_URI10:10
aduskettrburton: ah, but not overwriting the SRC_URI alltogehter10:10
rburtonhm why is cgit so slow10:10
rburtonhttps://git.yoctoproject.org/poky/tree/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.10.bbappend <-- this bbappend does nothing unless you are using one of those machines10:11
rburtonit literally changes the sha of the kernel and every poky build has that file, but everything is guarded with overrides so it doesn't matter10:11
aduskettahhhhhhh ok!10:11
aduskettPerfect! That makes complete sense!10:12
rburtonmeta-arm has a trick because we have lots of machines https://git.yoctoproject.org/meta-arm/tree/meta-arm-bsp/recipes-bsp/u-boot/u-boot_%25.bbappend10:12
rburtonthe include files don't need overrides as they're only included in the right build10:12
*** mckoan is now known as mckoan|away10:13
aduskettrburton: ooo, very cool10:14
aduskettrburton: I assume the same thing needs to be done with PACKAGECONFIG to be yocto compliant as well?10:17
aduskettPACKAGECONFIG_machine:itx-3588j:append10:17
rburtonyeah everything10:18
rburtonbut no _machine10:18
rburtonand append first10:19
aduskettPACKAGECONFIG:append:itx-3888j yes?10:19
rburtonyes10:19
rburtonthe itx3588 was really neat until the rock5-itx came along at a fraction of the price10:19
aduskettkk10:19
rburtondo either have mainlined kernel/firmware yet?10:19
aduskettrburton: you're telling me10:19
*** sakoman <sakoman!~sakoman@98.142.47.158> has quit IRC (Ping timeout: 260 seconds)10:20
*** angeloc <angeloc!~angeloc@user/angeloc> has quit IRC (Ping timeout: 264 seconds)10:20
aduskettrburton: but the itx-3588j has a full sized pci card ahaha10:20
aduskettrburton: I don't think so10:20
rburtonI almost bought a rock5-itx for my nas several times but i really do want something i can just put debian on and ignore...10:20
*** angeloc <angeloc!~angeloc@user/angeloc> has joined #oe10:20
aduskettrburton: you can always check https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md for mainline status support10:22
*** guest71 <guest71!~guest92@185.37.248.114> has quit IRC (Quit: Client closed)10:25
adusketthey rburton, angeloc has a question: Where do you put machine-specific files for your .bbappends?10:28
rburtonhave a poke around meta-arm-bsp and you'll see how we structure the layer10:28
aduskettrburton: thank you!10:29
aduskettAnd now my layer passes all the tests!10:30
*** sakoman <sakoman!~sakoman@98.142.47.158> has joined #oe10:34
*** sakoman <sakoman!~sakoman@98.142.47.158> has quit IRC (Ping timeout: 252 seconds)10:42
*** aduskett <aduskett!~adam@2001:b07:6467:4426:e642:fe3c:c003:b424> has quit IRC (Remote host closed the connection)10:46
*** sakoman <sakoman!~sakoman@98.142.47.158> has joined #oe10:59
*** dkc <dkc!~dan@user/dkc> has quit IRC (Remote host closed the connection)12:05
*** dkc <dkc!~dan@user/dkc> has joined #oe12:07
*** florian_kc is now known as florian13:08
*** Xagen <Xagen!~Xagen@4.14.206.69> has joined #oe13:42
*** mvlad <mvlad!~mvlad@2a02:2f05:8803:6e00:e88e:21ff:fe65:be18> has joined #oe14:16
*** paulg <paulg!~paulg@104-195-159-10.cpe.teksavvy.com> has quit IRC (Ping timeout: 272 seconds)14:25
*** angeloc <angeloc!~angeloc@user/angeloc> has quit IRC (Ping timeout: 276 seconds)14:44
*** paulg <paulg!~paulg@104-195-159-10.cpe.teksavvy.com> has joined #oe14:52
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #oe15:18
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)15:33
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 252 seconds)15:36
*** frieder <frieder!~frieder@i59F664EE.versanet.de> has quit IRC (Remote host closed the connection)15:49
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)15:49
*** Kubu_work <Kubu_work!~kubu@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC (Quit: Leaving.)16:03
*** florian_kc <florian_kc!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has joined #oe16:48
*** angeloc <angeloc!~angeloc@user/angeloc> has joined #oe16:53
*** florian_kc <florian_kc!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 255 seconds)17:00
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has joined #oe17:21
*** angeloc <angeloc!~angeloc@user/angeloc> has quit IRC (Ping timeout: 252 seconds)17:41
*** florian_kc <florian_kc!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has joined #oe17:51
*** florian_kc is now known as florian18:21
*** sakoman <sakoman!~sakoman@98.142.47.158> has quit IRC (Ping timeout: 252 seconds)18:59
*** sakoman <sakoman!~sakoman@98.142.47.158> has joined #oe19:14
*** florian <florian!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)19:44
*** florian <florian!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has joined #oe19:55
*** mvlad <mvlad!~mvlad@2a02:2f05:8803:6e00:e88e:21ff:fe65:be18> has quit IRC (Remote host closed the connection)21:03
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)21:58
*** Xagen <Xagen!~Xagen@4.14.206.69> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)21:59
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has quit IRC (Remote host closed the connection)22:02
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has joined #oe22:03
*** florian <florian!~florian@dynamic-002-243-084-152.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)23:17

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