Saturday, 2023-04-15

tlwoernerRP: i found (and fixed) a bug in scripts/runqemu going back to 201700:50
tlwoernerRP: but i have a feeling that people may have stumbled upon it and simply kludged some work-around in the intervening years00:51
tlwoernerRP: my guess is if i send the patch, lots of stuff might blow up00:51
fraywhat was the issue?00:51
tlwoernerRP: i wonder if there's some testing i can do (other than my own case) before sending?00:51
frayI have some really bizzaro test cases (which don't even use the stock YP qemu), if you want me to run a couple of tests00:52
tlwoernerwhere's a good place to throw my commit? one of those file dumper sites?00:52
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)00:52
frayI'd say YP poky-contrib, if you have write access.. otherwise ya, I can at least look at it and yank it from there and give you feedback00:53
tlwoernerfray: https://gist.github.com/twoerner/a4e7937e82ac930543e2c5949b82c93500:58
fraythanks00:59
*** NiteshD[m] <NiteshD[m]!~ndivecham@2001:470:69fc:105::3:458e> has joined #yocto01:04
frayHmm.. all of the test cases I have don't use that code... (at least not that I know of)01:04
frayI'll load it thought and give it a run through to make sure it doesn't blow up anything I use01:05
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 276 seconds)01:06
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has joined #yocto01:06
*** starblue <starblue!~juergen@dslb-094-221-185-162.094.221.pools.vodafone-ip.de> has quit IRC (Ping timeout: 240 seconds)01:07
*** starblue <starblue!~juergen@dslb-094-221-188-211.094.221.pools.vodafone-ip.de> has joined #yocto01:09
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has quit IRC (Read error: Connection reset by peer)01:09
*** tealbird <tealbird!~pidgin@c-98-248-236-18.hsd1.ca.comcast.net> has joined #yocto01:10
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Quit: Leaving)01:16
tlwoerneryes, its for the vm images, so it's rather specific01:17
tlwoernerit's funny how small the patch is, relative to how long i spent on it01:17
tlwoernerand, of course, i was investigating something completely different when i stumbled on it01:17
fraygoing to take an hour or so for my build.. using my person machine, which is a lot slower then my work machine.. :(01:18
tlwoerneri'll check bugzilla, since i'm already knee-deep01:19
*** Emantor <Emantor!~Emantor@magratgarlick.emantor.de> has quit IRC (Quit: ZNC - http://znc.in)01:20
*** Emantor <Emantor!~Emantor@magratgarlick.emantor.de> has joined #yocto01:20
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)01:51
*** linkpan <linkpan!~linkpan@73.7.40.106> has joined #yocto01:54
fraytlwoerner: well at least for my AMD/Xilinx use-case, no adverse effects..02:09
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 255 seconds)02:09
tlwoernerfray: great! thank you02:21
fray(we've got a funky qemu fork, it starts a multi-process QEMU that combined emulate the system as whole.  For ZynqMP it needs to emulate a microblaze system and a cortex-a system.... we've got other CPUs that may have multiple microblazes...etc02:24
frayso all of that requires a custom runqemu helper, but we've got everything working through the standard runqemu interface (for the most part)02:24
fraythe thing that is really funky thought, it uses shared disk file(s) as the system memory.. both processes mmap the files to where they would look like on the actual SoC.. upside works really well, downside.. when you have 16 GB of DDR, you need a 16 GB mmap'd file.. :P02:25
frayand the files have an overall path limit, so effectively they HAVE to be in /tmp, and we've seen some IT departments seem to limit the size of /tmp to the point that there ay not be enough room.. :|02:26
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto02:43
*** jclsn <jclsn!~jclsn@2a04:4540:652e:9100:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 246 seconds)02:46
*** jclsn <jclsn!~jclsn@2a04:4540:6528:c200:2ce:39ff:fecf:efcd> has joined #yocto02:48
*** zkrx <zkrx!~slimshady@adsl-89-217-230-95.adslplus.ch> has quit IRC (Ping timeout: 255 seconds)03:06
*** linkpan <linkpan!~linkpan@73.7.40.106> has quit IRC (Quit: Client closed)03:06
*** zkrx <zkrx!~slimshady@adsl-89-217-230-95.adslplus.ch> has joined #yocto03:07
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has quit IRC (Remote host closed the connection)03:23
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has joined #yocto03:23
*** camus <camus!~Instantbi@117.135.124.57> has quit IRC (Remote host closed the connection)03:30
*** camus <camus!~Instantbi@2409:8a1e:912b:9650:4dcc:f46c:7b60:3c27> has joined #yocto03:30
*** rfs613 <rfs613!~rfs613@rfs.netwinder.org> has quit IRC (Ping timeout: 252 seconds)03:47
*** rfs613 <rfs613!~rfs613@rfs.netwinder.org> has joined #yocto03:50
*** old_guy <old_guy!~old_guy@205.251.233.234> has joined #yocto04:07
*** Estrella <Estrella!~quassel@075-081-060-240.res.spectrum.com> has joined #yocto04:09
old_guyERROR: Nothing RPROVIDES 'gcc-symlinks' (but /abc/meta/recipes-devtools/elfutils/elfutils_0.186.bb RDEPENDS on or otherwise requires it)04:21
old_guygcc RPROVIDES gcc-symlinks but was skipped: it has incompatible license(s): GPL-3.0-only04:21
old_guyany clue?04:21
geoffhposteoblast22: there are the overlayfs.bbclass and overlayfs-etc.bbclass classes in meta/classes-recipes. There is a presentation by the maintainer https://www.youtube.com/watch?v=03sOH9GaKO4 and slide at https://elinux.org/images/6/6c/OverlayFS_in_Yocto._Vyacheslav_Yurkov.pdf . There is also the meta-readonly-rootfs-overlay contributed layer at https://github.com/marcusfolkesson/meta-readonly-rootfs-overlay which I think is unrelated.04:28
*** jtoomey <jtoomey!~jtoomey@149.199.80.130> has quit IRC (Read error: Connection reset by peer)04:31
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has quit IRC (Remote host closed the connection)04:43
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has joined #yocto04:43
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)04:51
*** jpuhlman <jpuhlman!~jpuhlman@99-14-97-149.lightspeed.frokca.sbcglobal.net> has joined #yocto04:53
*** JPEW <JPEW!sid500061@helmsley.irccloud.com> has quit IRC (Ping timeout: 246 seconds)04:55
*** JPEW <JPEW!sid500061@helmsley.irccloud.com> has joined #yocto04:57
*** 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
*** frank10[m] <frank10[m]!~frank10ma@2001:470:69fc:105::3:4575> has joined #yocto05:15
*** frank10[m] <frank10[m]!~frank10ma@2001:470:69fc:105::3:4575> has quit IRC (Quit: User was banned)06:20
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto06:38
*** Maxxed <Maxxed!~Maxxed@nrgt.net> has quit IRC (Ping timeout: 246 seconds)06:44
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Quit: ZZZzzz…)07:21
*** Maxxed <Maxxed!~Maxxed@nrgt.net> has joined #yocto07:50
*** Maxxed <Maxxed!~Maxxed@nrgt.net> has quit IRC (Ping timeout: 248 seconds)07:59
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)08:05
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto08:05
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)08:10
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto08:10
*** alimon <alimon!~alimon@2806:10b7:2:bc5f:2c32:cfff:fe8e:de1f> has quit IRC (Ping timeout: 252 seconds)08:23
*** alimon <alimon!~alimon@2806:10b7:2:8913:2c32:cfff:fe8e:de1f> has joined #yocto08:38
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto08:46
*** Niraj[m] <Niraj[m]!~akshaymhe@2001:470:69fc:105::3:1ec6> has quit IRC (Quit: You have been kicked for being idle)09:00
*** rob_w <rob_w!~rob@2001:a61:6012:6901:ec:8721:6439:c7d7> has joined #yocto09:03
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 276 seconds)09:04
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 276 seconds)09:39
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto09:39
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 256 seconds)09:39
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto09:42
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 246 seconds)09:43
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto09:44
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 240 seconds)09:55
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto10:39
*** seninha <seninha!~seninha@user/seninha> has joined #yocto10:52
*** maoti__ <maoti__!~jpuhlman@99-14-97-149.lightspeed.frokca.sbcglobal.net> has joined #yocto10:53
*** jpuhlman <jpuhlman!~jpuhlman@99-14-97-149.lightspeed.frokca.sbcglobal.net> has quit IRC (Ping timeout: 276 seconds)10:55
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)11:06
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto11:06
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has quit IRC (Remote host closed the connection)11:12
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has joined #yocto11:13
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto11:27
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 276 seconds)11:47
*** goliath <goliath!~goliath@user/goliath> has joined #yocto11:48
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)11:50
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto11:50
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Ping timeout: 250 seconds)11:55
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto12:15
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 250 seconds)12:31
*** davidinux <davidinux!~davidinux@81.22.36.211> has joined #yocto12:32
*** wmills <wmills!~wmills@pool-96-241-191-25.washdc.fios.verizon.net> has joined #yocto12:44
*** dgriego <dgriego!~dgriego@user/dgriego> has quit IRC (Ping timeout: 252 seconds)13:38
*** dgriego <dgriego!~dgriego@user/dgriego> has joined #yocto13:39
*** mihai2 <mihai2!~mihai@user/mihai> has quit IRC (Quit: Leaving)14:10
*** seninha <seninha!~seninha@user/seninha> has joined #yocto14:12
*** alessioigor <alessioigor!~alessioig@mob-5-90-181-118.net.vodafone.it> has joined #yocto14:50
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto15:16
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto15:23
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has quit IRC (Quit: Ping timeout (120 seconds))15:31
*** invalidopcode1 <invalidopcode1!~invalidop@50.1.244.72> has joined #yocto15:32
*** rob_w <rob_w!~rob@2001:a61:6012:6901:ec:8721:6439:c7d7> has quit IRC (Quit: Leaving)15:34
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)15:46
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto15:46
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)16:50
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto16:50
*** Marian <Marian!~Marian@73.126.254.68> has joined #yocto17:08
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Quit: Leaving)17:15
MarianHi,17:17
MarianI'm trying to build a separate archive with additional packages that will be used at runtime to add additional functionality.17:17
MarianFor example, the basic sysroot will not contain he following: gdb, top, lsof, etc.17:18
MarianBut this additional IMAGE will contain them and if we need them, we can extract them.17:18
MarianThe problem that I have is that Yocto will add in this image all dependencies like glibc, openssl, ssl, etc beside of what we I need gdb, top, lsof etc17:18
MarianI need to have this archive as small as posible.17:18
MarianI tried to remove them with the bellow without any luck:17:18
MarianIMAGE_INSTALL_remove = " glibc lodd openssl"17:18
MarianIMAGE-FEATURES_remove = " glibc lodd openssl"17:18
MarianDISTRO_FEATURES_BACKFILL_REMOVE = " glibc lodd openssl"17:18
MarianI tried to look on the bitbake -e output, but I didn't find something that it will help.17:18
frayDo you want two images, or just a package of the differences?17:18
MarianI already have the sysroot package17:18
MarianI need an additional package that will contain only what the features needs and are not in the sysroot package17:19
frayThe normal way this is done in the YP is you define different full images..17:19
MarianThis is what I did17:19
Marianand I have the sysroot and devtools17:19
fraythere (afaik) isn't a standard way to do a 'difference', but I know people who have done this outside of the YP by comparing the tarballs for the two images and only packaging the differences17:19
Marianin devtools I add gdb17:19
Marianand I see that I have the glibc libraries17:20
frayYes, you will always get dependencies17:20
frayIf gdb reuqires libc, it will install libc17:20
MarianYes, the question is how can I get only what I don't have in a provided Image17:20
Marianor, I can specify what libraries to not include, usually the problem is with openssl, ssl and glibc17:21
fraythere is no standard way, that I know of.  You need to do it externally..17:21
frayEasiest way is to build two images.  One with your minimum set, one with the additional items.  Make sure they both output "tar.gz" (or equivalent).  Then external, extract them both, and diff them.. Then create a new tar.gz (or equivalent) with just the differences17:22
fraythere is an inbuilt system to allow for a special development filesystem (overlay) for debugging (adding symbol files) and that is essential what it does, but it's automated17:22
MarianIt's any way to do that from a bitbake step of the "additional items" reciepe17:23
Marian?17:23
frayno17:23
fray(well not that I know of)17:23
*** alessioigor <alessioigor!~alessioig@mob-5-90-181-118.net.vodafone.it> has quit IRC (Quit: alessioigor)17:23
MarianThank you very much for the help, I will try to do it externally17:25
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)17:36
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto17:36
*** davidinux <davidinux!~davidinux@81.22.36.211> has quit IRC (Ping timeout: 255 seconds)18:28
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)18:32
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto18:32
*** Estrella_ <Estrella_!~quassel@075-081-060-240.res.spectrum.com> has quit IRC (Ping timeout: 252 seconds)18:35
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 248 seconds)18:35
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto18:56
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto19:01
*** tadej <tadej!~tadej@cpe-146-212-104-255.dynamic.amis.net> has joined #yocto19:49
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)19:52
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)20:32
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto20:32
*** amitk <amitk!~amit@103.208.71.103> has quit IRC (Ping timeout: 240 seconds)20:36
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 256 seconds)20:53
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto20:54
*** davidinux <davidinux!~davidinux@92.118.62.95> has joined #yocto20:54
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 276 seconds)20:59
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto20:59
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto21:00
*** baeruhne[m] <baeruhne[m]!~baeruhnem@2001:470:69fc:105::3:460d> has joined #yocto21:04
*** amitk <amitk!~amit@103.59.74.12> has joined #yocto21:13
*** dmoseley <dmoseley!~dmoseley@d4-50-9-187.evv.wideopenwest.com> has quit IRC (Quit: ZNC 1.8.2 - https://znc.in)21:24
*** azcraft <azcraft!~AzCraft@195.214.255.74> has joined #yocto21:25
*** _azcraft <_azcraft!~AzCraft@195.214.255.74> has joined #yocto21:25
*** _azcraft <_azcraft!~AzCraft@195.214.255.74> has quit IRC (Remote host closed the connection)21:25
*** dmoseley <dmoseley!~dmoseley@d4-50-9-187.evv.wideopenwest.com> has joined #yocto21:26
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has quit IRC (Ping timeout: 252 seconds)21:27
*** tunahan <tunahan!~tunahan@78.188.72.174> has quit IRC (Quit: tunahan)21:37
*** tunahan <tunahan!~tunahan@78.188.72.174> has joined #yocto21:37
*** azcraft <azcraft!~AzCraft@195.214.255.74> has quit IRC (Remote host closed the connection)21:48
*** azcraft <azcraft!~AzCraft@195.214.255.74> has joined #yocto21:50
*** tadej <tadej!~tadej@cpe-146-212-104-255.dynamic.amis.net> has quit IRC (Quit: Konversation terminated!)22:10
*** seninha <seninha!~seninha@user/seninha> has joined #yocto23:05
*** Estrella_ <Estrella_!~quassel@075-081-060-240.res.spectrum.com> has joined #yocto23:09
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)23:35
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto23:35
geoffhpMarian: I think what you want to do is enable package support in your image (rpm, ipk, or deb) and create a custom packagegroup that you can uses to add a group of packages to your base image. See https://docs.yoctoproject.org/singleindex.html#customizing-images-using-custom-package-groups23:41
geoffhpYou see to set up a package feed website to host your packages from a build system and setup your packaging tool on the target to point to your build host containing the pacakge files. We do this to to create a packagegroup-debug.bb recipe that adds tools like gdb and strace to a target system23:44
geoffhpFor example wit an ipkg system. You would run 'opkg update ; opkg install packagegroup-debug' to install all the debug tools and dependencies in one go from the opkg server  you have set up.23:47
*** Estrella_ <Estrella_!~quassel@075-081-060-240.res.spectrum.com> has quit IRC (Ping timeout: 240 seconds)23:50
*** florian <florian!~florian@dynamic-093-133-123-095.93.133.pool.telefonica.de> has joined #yocto23:53

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