Friday, 2023-11-24

*** otavio <otavio!~otavio@201-66-233-118.user3p.brasiltelecom.net.br> has quit IRC (Remote host closed the connection)00:08
*** shanedora <shanedora!~shanedora@67.22.153.16> has joined #yocto00:13
shanedoraHi ~ I would like to print out some of these environment variables in yocto that is used by bitbake. There's so many of these variables and apparently they can mean different things based on the context of when they're being build (e.g. per recipe). So lets say I'm building a recipe I created via `bitbake create-layer foo` and I want to print some00:19
shanedoraof the various variables that are used by a recipe in that layer called `foo`. How do I do that? For example, do I write a `printf` kind of statement somewhere in the recipe? Is there a command I can use kind of like printing env variables in my bash terminal like `echo $PATH`? I'm very new here so I did try typing `bitbake -h` and I see a option00:19
shanedoracalled `-e`. Not quite sure how to use it though. Some googling mentioning something like `bitbake -e foo | grep ^WORKDIR=`. Is that how I do this? Why do I need to put the carrot sign and the equals sign in there?00:19
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)00:24
*** shanedora <shanedora!~shanedora@67.22.153.16> has quit IRC (Quit: Client closed)00:33
*** shanedora <shanedora!~shanedora@67.22.153.16> has joined #yocto00:35
*** shanedora <shanedora!~shanedora@67.22.153.16> has quit IRC (Quit: Client closed)00:43
*** shanedora <shanedora!~shanedora@67.22.153.16> has joined #yocto00:47
*** florian <florian!~florian@dynamic-093-131-148-143.93.131.pool.telefonica.de> has quit IRC (Ping timeout: 276 seconds)00:56
*** lexano <lexano!~lexano@174.119.69.134> has quit IRC (Ping timeout: 255 seconds)01:02
*** shanedora <shanedora!~shanedora@67.22.153.16> has quit IRC (Quit: Client closed)02:04
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has joined #yocto02:19
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Read error: Connection reset by peer)02:28
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto02:32
*** starblue <starblue!~juergen@dslb-178-006-093-251.178.006.pools.vodafone-ip.de> has quit IRC (Ping timeout: 255 seconds)03:00
*** starblue <starblue!~juergen@dslb-088-078-096-185.088.078.pools.vodafone-ip.de> has joined #yocto03:02
*** jclsn <jclsn!~jclsn@2a04:4540:6507:cf00:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 256 seconds)03:19
*** jclsn <jclsn!~jclsn@2a04:4540:6543:3e00:2ce:39ff:fecf:efcd> has joined #yocto03:21
*** Guest46 <Guest46!~Guest46@60-248-184-76.hinet-ip.hinet.net> has joined #yocto03:32
*** Guest46 <Guest46!~Guest46@60-248-184-76.hinet-ip.hinet.net> has quit IRC (Client Quit)03:33
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@94.31.104.192> has joined #yocto04:09
*** sakman <sakman!~sakman@99.209.85.164> has quit IRC (Ping timeout: 256 seconds)04:39
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)04:40
*** sakman <sakman!~sakman@99.209.85.164> has joined #yocto05:03
*** taruu <taruu!~taruu@84.53.243.61> has joined #yocto05:49
*** Dracos-Carazza_ <Dracos-Carazza_!~Dracos-Ca@94.31.104.192> has joined #yocto05:58
*** Dracos-Carazza <Dracos-Carazza!~Dracos-Ca@94.31.104.192> has quit IRC (Ping timeout: 256 seconds)06:00
*** khazakar <khazakar!uid144674@id-144674.ilkley.irccloud.com> has joined #yocto06:06
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto06:40
*** jmd <jmd!~user@aftr-62-216-210-81.dynamic.mnet-online.de> has joined #yocto06:47
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto07:03
*** linfax <linfax!~linfax@eumail.topcon.com> has joined #yocto07:04
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 264 seconds)07:10
*** albrod <albrod!~albrod@178.60.200.40> has joined #yocto07:19
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto07:24
*** mckoan|away is now known as mckoan07:42
mckoangood morning07:42
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto08:01
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto08:09
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 256 seconds)08:22
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto08:23
*** albrod <albrod!~albrod@178.60.200.40> has quit IRC (Ping timeout: 250 seconds)08:26
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: Chaser)08:27
*** adrian_s <adrian_s!~adrian@193.207.175.48> has joined #yocto08:32
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Remote host closed the connection)08:36
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto08:36
*** Daanct12 <Daanct12!~danct12@user/danct12> has joined #yocto08:42
*** alperak <alperak!~alperak@176.33.71.94> has joined #yocto08:53
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)08:54
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto08:54
LetoThe2ndmckoan: hey yo09:02
mckoanLetoThe2nd: hi09:02
*** mvlad <mvlad!~mvlad@2a02:2f05:8105:bb00:3a29:c1c6:d924:b9ff> has joined #yocto09:07
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)09:14
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto09:15
*** olani- <olani-!~olani@wlan-gw.se.axis.com> has joined #yocto09:49
*** olani_ <olani_!~olani@wlan-gw.se.axis.com> has joined #yocto09:49
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds)09:52
*** olani- <olani-!~olani@wlan-gw.se.axis.com> has left #yocto09:52
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto09:53
*** olani <olani!~olani@wlan-gw.se.axis.com> has left #yocto (Using Circe, the loveliest of all IRC clients)09:53
*** olani_ <olani_!~olani@wlan-gw.se.axis.com> has left #yocto09:53
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has joined #yocto09:55
*** olani <olani!~olani@wlan-gw.se.axis.com> has joined #yocto09:55
*** dvergatal <dvergatal!~dvergatal@185.53.145.32> has quit IRC (Ping timeout: 256 seconds)10:06
*** goliath <goliath!~goliath@user/goliath> has joined #yocto10:08
*** dvergatal <dvergatal!~dvergatal@public-gprs401477.centertel.pl> has joined #yocto10:08
*** speeder <speeder!~speeder__@2001:8a0:dfde:fa00:b9a2:fd02:734b:b6ff> has joined #yocto10:18
*** zhmylove <zhmylove!~zhmylove@80.254.50.127> has joined #yocto10:21
*** dvergatal <dvergatal!~dvergatal@public-gprs401477.centertel.pl> has quit IRC (Ping timeout: 245 seconds)10:30
*** dvergatal <dvergatal!~dvergatal@185.53.145.32> has joined #yocto10:32
*** thaemmerle <thaemmerle!~thaemmerl@193.8.40.126> has joined #yocto10:40
*** thaemmerle <thaemmerle!~thaemmerl@193.8.40.126> has quit IRC (Quit: Client closed)10:40
*** alperak <alperak!~alperak@176.33.71.94> has quit IRC (Quit: Client closed)10:43
*** thaemmerle <thaemmerle!~thaemmerl@193.8.40.126> has joined #yocto10:47
*** alperak <alperak!~alperak@176.33.71.94> has joined #yocto10:47
*** dkl <dkl!~dkl@prometheus.umask.eu> has quit IRC (Quit: %quit%)10:49
*** thaemmerle <thaemmerle!~thaemmerl@193.8.40.126> has quit IRC (Client Quit)10:50
*** dkl <dkl!~dkl@prometheus.umask.eu> has joined #yocto10:50
*** Dracos-Carazza_ is now known as Dracos-Carazza10:53
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)10:54
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto10:54
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto10:55
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)11:10
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto11:10
*** starblue <starblue!~juergen@dslb-088-078-096-185.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 264 seconds)11:10
*** starblue <starblue!~juergen@dslb-088-078-096-185.088.078.pools.vodafone-ip.de> has joined #yocto11:12
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto11:13
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Client Quit)11:15
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto11:15
*** tuxinator <tuxinator!~mburgener@22.71.14.46.static.wline.lns.sme.cust.swisscom.ch> has joined #yocto11:17
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:107:d540:9f9c:1e9b:dfdb:9b34> has joined #yocto11:17
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Quit: ptsneves)11:21
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto11:21
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has quit IRC (Quit: Client closed)11:22
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto11:30
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has quit IRC (Client Quit)11:32
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Ping timeout (120 seconds))11:33
*** ptsneves1 <ptsneves1!~Thunderbi@public-gprs222950.centertel.pl> has joined #yocto11:45
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 252 seconds)11:47
*** ptsneves1 is now known as ptsneves11:47
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto11:47
kanavinmore bad-ish news with the new rpm 4.19. It has split crypto handling into an external library implemented in guess which language.11:54
*** tuxinator <tuxinator!~mburgener@22.71.14.46.static.wline.lns.sme.cust.swisscom.ch> has quit IRC (Quit: Konversation terminated!)11:54
*** ptsneves1 <ptsneves1!~Thunderbi@public-gprs225072.centertel.pl> has joined #yocto11:57
*** ptsneves <ptsneves!~Thunderbi@public-gprs222950.centertel.pl> has quit IRC (Ping timeout: 256 seconds)11:58
sudiprpm-sequoia -> rust11:58
sudipbut you can add -DWITH_INTERNAL_OPENPGP=ON and then it will use "the deprecated internal parser"11:59
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto12:00
*** Haxxa <Haxxa!~Haxxa@202.65.68.206> has quit IRC (Quit: Haxxa flies away.)12:00
kanavinI know, but that would just delay the inevitable12:00
* sudip started looking into rpm upgrade but ran into multiple problems and now waits to see how kanavin does it12:00
kanavinwe might as well just do the switchover now12:00
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)12:00
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto12:00
sudipyeah, thats true, its either now or in next few release12:00
kanavindo you happen to have a sequoia recipe that I could cherry-pick?12:00
sudipno, I was trying with the internal one12:01
*** ptsneves1 <ptsneves1!~Thunderbi@public-gprs225072.centertel.pl> has quit IRC (Ping timeout: 260 seconds)12:01
sudipbut I had a problem with the native build and had to add a patch for cmake.bbclass12:02
kanavinI didn't get there yet, just reached the point where it's asking for this sequoia thingy12:03
sudipI can forward you my half finished patch, didn't get time to complete due to $dayjob12:04
kanavinif you can just publish the work on git somewhere that'd be ok too12:05
sudipso this was the native build problem:12:06
sudipOct 16 20:15:38 <sudip> I am trying to upgrade rpm, with the new version its now using cmake and I can see the configure step is failing to find libm.so. I checked the current v4.18.1 and could not find libm.so in recipe-sysroot-native. is the current rpm build using libm from the host ?12:06
sudipOct 16 20:38:16 <sudip> The -lm is being mentioned by lua.pc and that also says "libdir=${pcfiledir}/../../../usr/lib" which is "recipe-sysroot-native/usr/lib/" so libm should be here.12:06
*** lexano <lexano!~lexano@174.119.69.134> has joined #yocto12:07
*** alperak <alperak!~alperak@176.33.71.94> has quit IRC (Quit: Client closed)12:09
rburtonlibm is part of glibc so yes it uses the hosts libm12:10
rburtonwe don't build a glibc-native12:10
sudiprburton: yes, that part is done, I was in the next problem and then did not get time12:13
sudipkanavin: https://gitlab.com/sudipm/poky/-/commit/fa62696d96b308fab0e413dd95850dd012936842 is unfinished wip attempt of rpm upgrade12:14
kanavinsudip, thanks, I'll see if I can get sequia built easily12:14
kanavinI hope this doesn't explode into dependency madness12:14
kanavinrust-native being required for do_package is a bit of a :(12:15
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Remote host closed the connection)12:16
kanavinthere's also the problem that rust bypasses glibc, and thus pseudo12:16
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto12:16
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Client Quit)12:18
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has joined #yocto12:18
*** Haxxa <Haxxa!~Haxxa@202.65.68.206> has joined #yocto12:32
*** alperak <alperak!~alperak@176.33.71.94> has joined #yocto12:32
kanavinsudip, rburton: sequoia wants clang as well12:38
kanavinlibclang.so specifically12:38
kanavinso here we are: rpm native needs rust *and* clang12:39
*** camus <camus!~Instantbi@58.246.136.203> has quit IRC (Remote host closed the connection)12:40
kanavinI'm starting to have thoughts. Should oe-core drop the rpm ecosystem altogether?12:41
kanavinany interested party can maintain meta-rpm then12:41
sudiptheir ci files says "cargo clang git nettle-dev pkg-config libssl-dev"12:41
kanavinsudip, yeah, I just got a specific build error saying 'can't find libclang.so'12:42
*** alperak <alperak!~alperak@176.33.71.94> has quit IRC (Quit: Client closed)12:53
kanavinsudip, I sent a message to openembedded-architecture list about the situation12:56
* sudip is not on that list, checks web12:57
kanavinhttps://lists.openembedded.org/g/openembedded-architecture/message/185613:01
sudip+1 for the divorce13:01
sudipI wont like to have rust-native :(13:02
kanavinclang is just as heavy to build13:02
sudipI remember the laptop picture rburton showed in his talk13:03
kanavinsudip, we might be able to mitigate that by enabling CDN sstate for most users13:04
kanavinand locked down signatures for key items like rust-native13:04
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has quit IRC (Remote host closed the connection)13:08
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has joined #yocto13:09
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has quit IRC (Quit: Client closed)13:09
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has quit IRC (Remote host closed the connection)13:13
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has joined #yocto13:13
sudipyeah, but I like to build from scratch :)13:14
kanavinsudip, then a amd ryzen threadripper machine will serve you well13:17
*** adrian_s <adrian_s!~adrian@193.207.175.48> has quit IRC (Ping timeout: 260 seconds)13:18
rburtonkanavin: locked rust-native seems like a good idea13:18
*** speeder <speeder!~speeder__@2001:8a0:dfde:fa00:b9a2:fd02:734b:b6ff> has quit IRC (Ping timeout: 256 seconds)13:21
*** adrian_s <adrian_s!~adrian@193.207.100.245> has joined #yocto13:31
*** Daanct12 <Daanct12!~danct12@user/danct12> has quit IRC (Quit: WeeChat 4.1.1)13:31
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:107:d540:9f9c:1e9b:dfdb:9b34> has quit IRC (Ping timeout: 246 seconds)13:34
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:108:b5e4:1d6e:672e:a299:cc77> has joined #yocto13:39
*** speeder <speeder!~speeder__@213.205.68.220> has joined #yocto13:40
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto13:43
*** speeder <speeder!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 255 seconds)13:45
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)13:45
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto13:46
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto13:47
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto13:49
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 240 seconds)13:51
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 256 seconds)13:57
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:108:b5e4:1d6e:672e:a299:cc77> has quit IRC (Ping timeout: 256 seconds)13:59
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto14:04
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 246 seconds)14:07
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto14:11
*** taruu <taruu!~taruu@84.53.243.61> has quit IRC (Remote host closed the connection)14:11
*** Tyaku_ <Tyaku_!~Tyaku@bub62-h03-89-84-109-199.dsl.sta.abo.bbox.fr> has joined #yocto14:11
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:108:a0c5:95b3:1859:cf96:fd41> has joined #yocto14:15
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto14:20
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 256 seconds)14:23
*** linfax <linfax!~linfax@eumail.topcon.com> has quit IRC (Ping timeout: 260 seconds)14:30
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto14:35
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 256 seconds)14:38
*** thaemmerle00 <thaemmerle00!~thaemmerl@193.8.40.126> has joined #yocto14:40
*** thaemmerle00 <thaemmerle00!~thaemmerl@193.8.40.126> has quit IRC (Client Quit)14:40
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto14:50
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 260 seconds)14:53
*** Dartmoness <Dartmoness!~Dartmones@vpn.c-s.fr> has quit IRC (Remote host closed the connection)15:03
*** Marmottus1 <Marmottus1!~marmottus@2001:bc8:1820:2715::1> has quit IRC (Quit: The Lounge - https://thelounge.chat)15:04
*** Marmottus1 <Marmottus1!~marmottus@2001:bc8:1820:2715::1> has joined #yocto15:05
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto15:05
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 264 seconds)15:08
*** leon-anavi <leon-anavi!~Leon@2a01:5a8:108:a0c5:95b3:1859:cf96:fd41> has quit IRC (Quit: Leaving)15:17
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto15:21
*** speeder__ is now known as speeder15:22
speederpoky by default doesn't have dmidecode installed?15:22
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 252 seconds)15:24
mckoantimeout :-D15:24
mckoandmidecode is not in Poky, it is provided by meta-oe-image.bb -> packagegroup-meta-oe15:27
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 264 seconds)15:28
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto15:36
rburtondmidecode is in core15:38
*** speeder <speeder!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 240 seconds)15:38
rburtonspeeder: its not in any of the reference images, no.  you can easily add it.  the entire point is that you make your own images.15:38
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto15:42
*** egueli-AV <egueli-AV!~egueli@145.131.171.178> has joined #yocto15:44
*** egueli <egueli!~egueli@145.131.171.178> has joined #yocto15:44
*** egueli <egueli!~egueli@145.131.171.178> has left #yocto15:45
*** justThanks is now known as justache15:48
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto15:51
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 260 seconds)15:54
*** Rich_1234 <Rich_1234!~Guest97@109.176.155.130> has quit IRC (Quit: Connection closed)16:06
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto16:06
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 256 seconds)16:09
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto16:22
*** smooge <smooge!~smooge@centos/qa/smooge> has quit IRC (Quit: I have resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed, or numbered! My life is my own.)16:24
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 255 seconds)16:25
*** sakman_ <sakman_!~sakman@208.111.77.233> has joined #yocto16:32
*** sakman <sakman!~sakman@99.209.85.164> has quit IRC (Ping timeout: 255 seconds)16:34
*** doobee <doobee!~doobee@67.22.153.16> has joined #yocto16:37
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)16:38
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto16:38
doobeeHow does bitbake do a `sha256sum` over a git repo I specify in my `SRCURI`? I guess I'm only use to running a sha256sum on a file so I have no idea how bitbake does it over a directory. I tried looking up how to do a sha256sum over a directory and came across something like this `find path/to/dir/ -type f -exec sha256sum {} \; | sha256sum` but the16:41
doobeesum didn't match what bitbake is telling me the sum is. So I need alittle help understanding how I can do this manually. I realize bitbake is doing it for me but I want to understand how it's doing it.16:41
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 256 seconds)16:41
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 260 seconds)16:41
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 264 seconds)16:47
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto16:47
*** Tyaku_ <Tyaku_!~Tyaku@bub62-h03-89-84-109-199.dsl.sta.abo.bbox.fr> has quit IRC (Quit: Lost terminal)16:48
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Ping timeout: 256 seconds)16:52
*** zpfvo <zpfvo!~fvo@87.122.81.153> has joined #yocto16:53
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto16:55
*** zpfvo <zpfvo!~fvo@87.122.81.153> has quit IRC (Client Quit)16:55
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 256 seconds)16:58
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)17:01
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto17:01
rburtondoobee: it doesn't?17:04
rburtondoobee: where do you think its doing a sha256sum of a git repo?17:04
rburtoni'm guessing you mean SRC_URI[sha256sum], that's for eg http: fetches, not git17:06
rburtonit sounds like you've got a bad SRC_URI17:07
rburtonif you're cloning a git repo over http then the SRC_URI would be git://...;protocol=https so that bitbake knows to "git clone" not "wget" the url17:07
*** egueli-AV <egueli-AV!~egueli@145.131.171.178> has quit IRC (Read error: Connection reset by peer)17:11
*** speeder_ <speeder_!~speeder__@213.205.68.220> has joined #yocto17:11
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 252 seconds)17:14
doobeeOh ok, so I don't need a SRC_URI[sha256sum] variable then if my SRC_URI is something like `SRC_URI = "git://github.com/me/helloworld.git;protocol=https;branch=main"`.17:18
rburtoncorrect17:18
rburtonthe SRCREV serves the same purpose17:19
kanavinsudip, I need a bit of support in that oe-architecture thread17:19
doobeeSo if I don't have a source revision then I don't need that either? I kept thinking I need to set it to `SRCREV = "${AUTOREV}"`.17:20
*** speeder__ <speeder__!~speeder__@213.205.68.220> has joined #yocto17:20
*** speeder_ <speeder_!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 260 seconds)17:20
rburtonyou definitely do have a srcrev17:20
rburtonyou have to name what revision is checked out17:21
rburtonif you want it to track HEAD of the specified branch then AUTOREV is what you want17:21
doobeeAh I follow you now. Thank you!17:21
rburtonbut we're fans of reproducibility by default, so encourage a real SHA that you upgrade as needed17:21
doobeeIf I created a tag or a release on my github for that repo then I would need to specify a SRC_URI[sha256] and also the revisioning in SRCREV, correct?17:26
*** zhmylove <zhmylove!~zhmylove@80.254.50.127> has quit IRC (Remote host closed the connection)17:26
*** zhmylove <zhmylove!~zhmylove@80.254.50.127> has joined #yocto17:27
doobeeIs there an example that I can refer to that uses a github repository with all that specified?17:27
*** mckoan is now known as mckoan|away17:32
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)17:41
*** florian <florian!~florian@dynamic-002-243-132-056.2.243.pool.telefonica.de> has joined #yocto17:45
*** speeder__ <speeder__!~speeder__@213.205.68.220> has quit IRC (Ping timeout: 255 seconds)17:47
*** florian <florian!~florian@dynamic-002-243-132-056.2.243.pool.telefonica.de> has quit IRC (Ping timeout: 256 seconds)17:55
*** Chaser <Chaser!~Chaser@user/chaser> has joined #yocto18:05
*** Vonter <Vonter!~Vonter@user/vonter> has quit IRC (Ping timeout: 256 seconds)18:26
*** florian <florian!~florian@dynamic-002-243-132-056.2.243.pool.telefonica.de> has joined #yocto18:27
*** Vonter <Vonter!~Vonter@user/vonter> has joined #yocto18:27
*** prabhakarlad <prabhakarlad!~prabhakar@217.163.141.2> has joined #yocto18:28
*** Chaser <Chaser!~Chaser@user/chaser> has quit IRC (Quit: Chaser)18:40
*** adrian_s <adrian_s!~adrian@193.207.100.245> has quit IRC (Ping timeout: 256 seconds)19:24
*** adrian_s <adrian_s!~adrian@193.207.212.249> has joined #yocto19:37
*** smooge <smooge!smooge@2600:3c00::f03c:91ff:fe93:ee2d> has joined #yocto19:40
*** smooge <smooge!smooge@2600:3c00::f03c:91ff:fe93:ee2d> has quit IRC (Client Quit)19:42
*** smooge <smooge!~smooge@linode01.smoogespace.com> has joined #yocto19:45
rburtondoobee: you only need to use a checksum if you download a single file, like a tarball19:47
rburtondoobee: for examples, oe-core/poky is full of them19:48
rburton$ git grep SRC_URI.*github.com19:48
rburtonrecipes-bsp/efibootmgr/efibootmgr_18.bb:SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https;branch=main"19:48
rburtonrecipes-bsp/efivar/efivar_38.bb:SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \19:48
rburtonrecipes-bsp/opensbi/opensbi_1.3.bb:SRC_URI = "git://github.com/riscv/opensbi.git;branch=release-1.3.x;protocol=https"19:48
rburtonetc etc19:48
*** smooge <smooge!~smooge@linode01.smoogespace.com> has quit IRC (Client Quit)19:49
*** smooge <smooge!~smooge@linode01.smoogespace.com> has joined #yocto19:50
*** ptsneves <ptsneves!~Thunderbi@031011128011.dynamic-3-poz-k-0-2-0.vectranet.pl> has quit IRC (Ping timeout: 255 seconds)20:09
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)20:11
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto20:11
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: alessioigor)20:52
*** mvlad <mvlad!~mvlad@2a02:2f05:8105:bb00:3a29:c1c6:d924:b9ff> has quit IRC (Remote host closed the connection)21:09
*** smooge <smooge!~smooge@centos/qa/smooge> has quit IRC (Quit: I have resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed, or numbered! My life is my own.)21:17
*** jmd <jmd!~user@aftr-62-216-210-81.dynamic.mnet-online.de> has quit IRC (Remote host closed the connection)21:18
*** smooge <smooge!~smooge@linode01.smoogespace.com> has joined #yocto21:19
*** Xywzel <Xywzel!xywzel@hilla.kapsi.fi> has quit IRC (Ping timeout: 252 seconds)21:37
*** Xywzel <Xywzel!xywzel@hilla.kapsi.fi> has joined #yocto21:38
*** zhmylove <zhmylove!~zhmylove@80.254.50.127> has quit IRC (Quit: Leaving)21:40
*** Saur_Home <Saur_Home!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto22:13
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has joined #yocto22:42
*** doobee <doobee!~doobee@67.22.153.16> has quit IRC (Quit: Client closed)22:57
*** dan73 <dan73!~dan73@67.22.153.16> has joined #yocto22:57
dan73I have a recipe that builds a c program (i guess yocto calls this an app) `my-app` and then installs it to `${bindir}`. I then added `IMAGE_INSTALL:append = " my-app"` and tested via qemu. I can see it getting dropped into `/usr/bin/my-app`. However, when I try to build a raspberrypi image with `IMAGE_INSTALL:append = " my-app"` added to that23:01
dan73`local.conf` (just as I did with qemu) I don't see my app in `/usr/bin/`. What could I be missing?23:01
dan73Well i'm at a lost on what could be going on. I created a build environment for qemu `source src/poky/oe-init-build-env bld-qemuarm`, added my layer `bitbake-layers add-layer <my layer>`. Then I built a qemu image `bitbake core-image-minimal` ensuring that qemu was set as the machine in my `local.conf`. Also ensured that I had `IMAGE_INSTALL:append23:17
dan73= " my-app" specified too. Launched qemu and my app's binary was there in `/usr/bin/` and I could run it and everything.23:17
dan73Now I wanted to do the exact same thing but for my raspberry pi 4. So I created a new environment `source src/poky/oe-init-build-env bld-rpi`, added my layer `bitbake-layers add-layer <my layer>`. Then I ensure that the machine variable was set appropriately and that `IMAGE_INSTALL:append = " my-app"` was specified. Then I build the image `bitbake23:17
dan73rpi-test-image`. Flashed the image to my sd card and power up the board. Everything booted fine but when I go into `/usr/bin/` I don't see my app. So it's like it worked for qemu but didn't work for my rpi.23:17
dan73hmm ... well ... I can see it there in the rootfs ...23:30
dan73```23:30
dan731.0-r0/rootfs/usr/bin23:30
dan73☕ ❯ pwd23:30
dan731.0-r0/rootfs/usr/bin took 14s23:30
dan73☕ ❯ ll | grep main23:30
dan73-rwxr-xr-x  1 shane shane   67552 Mar  9  2018 main*23:30
dan73```23:30
*** Kubu_work <Kubu_work!~kubu@arennes-654-1-262-155.w2-13.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)23:44

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