ndec changed the topic of #yocto to: "Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Join us or Speak at Yocto Project Summit (2022.11) Nov 29-Dec 1, more: https://yoctoproject.org/summit | Join the community: https://www.yoctoproject.org/community | IRC logs available at https://www.yoctoproject.org/irc/ | Having difficulty on the list or with someone on the list, contact YP community mgr ndec"
<tlwoerner> RP: i found (and fixed) a bug in scripts/runqemu going back to 2017
<tlwoerner> RP: but i have a feeling that people may have stumbled upon it and simply kludged some work-around in the intervening years
<tlwoerner> RP: my guess is if i send the patch, lots of stuff might blow up
<fray> what was the issue?
<tlwoerner> RP: i wonder if there's some testing i can do (other than my own case) before sending?
<fray> I have some really bizzaro test cases (which don't even use the stock YP qemu), if you want me to run a couple of tests
<tlwoerner> where's a good place to throw my commit? one of those file dumper sites?
sakoman has quit [Quit: Leaving.]
<fray> I'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 feedback
<fray> thanks
NiteshD[m] has joined #yocto
<fray> Hmm.. all of the test cases I have don't use that code... (at least not that I know of)
<fray> I'll load it thought and give it a run through to make sure it doesn't blow up anything I use
tealbird has quit [Ping timeout: 276 seconds]
tealbird has joined #yocto
starblue has quit [Ping timeout: 240 seconds]
starblue has joined #yocto
tealbird has quit [Read error: Connection reset by peer]
tealbird has joined #yocto
seninha has quit [Quit: Leaving]
<tlwoerner> yes, its for the vm images, so it's rather specific
<tlwoerner> it's funny how small the patch is, relative to how long i spent on it
<tlwoerner> and, of course, i was investigating something completely different when i stumbled on it
<fray> going to take an hour or so for my build.. using my person machine, which is a lot slower then my work machine.. :(
<tlwoerner> i'll check bugzilla, since i'm already knee-deep
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #yocto
goliath has quit [Quit: SIGSEGV]
linkpan has joined #yocto
<fray> tlwoerner: well at least for my AMD/Xilinx use-case, no adverse effects..
Thorn has quit [Ping timeout: 255 seconds]
<tlwoerner> fray: great! thank you
<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...etc
<fray> so all of that requires a custom runqemu helper, but we've got everything working through the standard runqemu interface (for the most part)
<fray> the 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.. :P
<fray> and 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.. :|
sakoman has joined #yocto
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #yocto
zkrx has quit [Ping timeout: 255 seconds]
linkpan has quit [Quit: Client closed]
zkrx has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
camus has quit [Remote host closed the connection]
camus has joined #yocto
rfs613 has quit [Ping timeout: 252 seconds]
rfs613 has joined #yocto
old_guy has joined #yocto
Estrella has joined #yocto
<old_guy> ERROR: Nothing RPROVIDES 'gcc-symlinks' (but /abc/meta/recipes-devtools/elfutils/elfutils_0.186.bb RDEPENDS on or otherwise requires it)
<old_guy> gcc RPROVIDES gcc-symlinks but was skipped: it has incompatible license(s): GPL-3.0-only
<old_guy> any clue?
<geoffhp> osteoblast22: 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.
jtoomey has quit [Read error: Connection reset by peer]
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
sakoman has quit [Quit: Leaving.]
jpuhlman has joined #yocto
JPEW has quit [Ping timeout: 246 seconds]
JPEW has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
frank10[m] has joined #yocto
frank10[m] has quit [Quit: User was banned]
Thorn has joined #yocto
Maxxed has quit [Ping timeout: 246 seconds]
xmn has quit [Quit: ZZZzzz…]
Maxxed has joined #yocto
Maxxed has quit [Ping timeout: 248 seconds]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
alimon has quit [Ping timeout: 252 seconds]
alimon has joined #yocto
florian has joined #yocto
Niraj[m] has quit [Quit: You have been kicked for being idle]
rob_w has joined #yocto
florian has quit [Ping timeout: 276 seconds]
nemik has quit [Ping timeout: 276 seconds]
nemik has joined #yocto
Thorn has quit [Ping timeout: 256 seconds]
florian has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
florian has quit [Ping timeout: 240 seconds]
Thorn has joined #yocto
seninha has joined #yocto
maoti__ has joined #yocto
jpuhlman has quit [Ping timeout: 276 seconds]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
invalidopcode1 has quit [Remote host closed the connection]
invalidopcode1 has joined #yocto
florian has joined #yocto
florian has quit [Ping timeout: 276 seconds]
goliath has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
seninha has quit [Ping timeout: 250 seconds]
florian has joined #yocto
florian has quit [Ping timeout: 250 seconds]
davidinux has joined #yocto
wmills has joined #yocto
dgriego has quit [Ping timeout: 252 seconds]
dgriego has joined #yocto
mihai2 has quit [Quit: Leaving]
seninha has joined #yocto
alessioigor has joined #yocto
xmn has joined #yocto
sakoman has joined #yocto
invalidopcode1 has quit [Quit: Ping timeout (120 seconds)]
invalidopcode1 has joined #yocto
rob_w has quit [Quit: Leaving]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
Marian has joined #yocto
seninha has quit [Quit: Leaving]
<Marian> Hi,
<Marian> I'm trying to build a separate archive with additional packages that will be used at runtime to add additional functionality.
<Marian> For example, the basic sysroot will not contain he following: gdb, top, lsof, etc.
<Marian> But this additional IMAGE will contain them and if we need them, we can extract them.
<Marian> The 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 etc
<Marian> I need to have this archive as small as posible.
<Marian> I tried to remove them with the bellow without any luck:
<Marian> IMAGE_INSTALL_remove = " glibc lodd openssl"
<Marian> IMAGE-FEATURES_remove = " glibc lodd openssl"
<Marian> DISTRO_FEATURES_BACKFILL_REMOVE = " glibc lodd openssl"
<Marian> I tried to look on the bitbake -e output, but I didn't find something that it will help.
<fray> Do you want two images, or just a package of the differences?
<Marian> I already have the sysroot package
<Marian> I need an additional package that will contain only what the features needs and are not in the sysroot package
<fray> The normal way this is done in the YP is you define different full images..
<Marian> This is what I did
<Marian> and I have the sysroot and devtools
<fray> there (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 differences
<Marian> in devtools I add gdb
<Marian> and I see that I have the glibc libraries
<fray> Yes, you will always get dependencies
<fray> If gdb reuqires libc, it will install libc
<Marian> Yes, the question is how can I get only what I don't have in a provided Image
<Marian> or, I can specify what libraries to not include, usually the problem is with openssl, ssl and glibc
<fray> there is no standard way, that I know of. You need to do it externally..
<fray> Easiest 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 differences
<fray> there 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 automated
<Marian> It's any way to do that from a bitbake step of the "additional items" reciepe
<Marian> ?
<fray> no
<fray> (well not that I know of)
alessioigor has quit [Quit: alessioigor]
<Marian> Thank you very much for the help, I will try to do it externally
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
davidinux has quit [Ping timeout: 255 seconds]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
Estrella_ has quit [Ping timeout: 252 seconds]
Thorn has quit [Ping timeout: 248 seconds]
florian has joined #yocto
Thorn has joined #yocto
tadej has joined #yocto
sakoman has quit [Quit: Leaving.]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
amitk has quit [Ping timeout: 240 seconds]
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
davidinux has joined #yocto
nemik has quit [Ping timeout: 276 seconds]
nemik has joined #yocto
sakoman has joined #yocto
baeruhne[m] has joined #yocto
amitk has joined #yocto
dmoseley has quit [Quit: ZNC 1.8.2 - https://znc.in]
azcraft has joined #yocto
_azcraft has joined #yocto
_azcraft has quit [Remote host closed the connection]
dmoseley has joined #yocto
florian has quit [Ping timeout: 252 seconds]
tunahan has quit [Quit: tunahan]
tunahan has joined #yocto
azcraft has quit [Remote host closed the connection]
azcraft has joined #yocto
tadej has quit [Quit: Konversation terminated!]
seninha has joined #yocto
Estrella_ has joined #yocto
Wouter010067044 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter010067044 has joined #yocto
<geoffhp> Marian: 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-groups
<geoffhp> You 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 system
<geoffhp> For 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.
Estrella_ has quit [Ping timeout: 240 seconds]
florian has joined #yocto