**** BEGIN LOGGING AT Mon Apr 13 02:59:57 2020 Apr 13 03:28:33 New news from stackoverflow: yocto: how do I install header files along with kernel module in sdk Apr 13 03:34:52 good morning gents, is there any sleek way to have production and development builds? Apr 13 03:36:21 so for example, the devel build would have additional tools for testing and debugging, which I don't want to ship with the final product Apr 13 03:39:42 I was thinking of partitioning the packages in .inc files and then include either the one or the other from core-image-minimal Apr 13 03:40:06 depending on an environment variable Apr 13 04:02:20 would it be unreasonable to add an additional -devel package that included the extra tools (or just use the existing -dev package)? Apr 13 04:05:51 no, not at all.. but I think that would suffer from the same problem I have with my clumsy .inc file solution, which is dynamic control over what gets in and what not Apr 13 04:06:21 oh, wait Apr 13 04:06:31 yeah that makes sense Apr 13 04:07:15 as in when you choose to include the development helpers package? Apr 13 04:07:22 I coud just say: bitbake core-image-minimal for the production build and bitbake core-image-minimal core-image-minimal-dev for the devel build Apr 13 04:08:26 yeah, then the image RDEPENDS covers including the additional helper package(s) in the -dev case Apr 13 04:10:20 yeah, since bitbake doesnt support conditions, I just injected variables that I used to include additional stuff Apr 13 04:10:58 like in core-image-minimal I had a line in the bottom, saying require core-image-minimal${SUFFIX}.inc Apr 13 04:11:42 without knowing more about your workflow it seems like it could be nicer to pack stuff like that into a bbclass? Apr 13 04:11:45 with an empty core-image-minimal.inc and core-image-minimaldev.inc, where the former was empty and the latter one kept all the devel stuff Apr 13 04:12:26 or if it just covers packages some nicely named packagegroups? Apr 13 04:12:55 yeah, packagegroups or meta-packages seem to be a good fit for it Apr 13 04:13:17 thanks! Apr 13 05:41:34 opello, you still around? Apr 13 15:50:13 for anyone worked with meta-qt5 before, i have qt5everywheredemo in IMAGE_INSTALL_append, and the build succeeds, how to I trigger the demo after i boot into the image? Apr 13 16:00:05 have i missed anything, my wifi dropped immediately after i post my question Apr 13 16:00:49 New news from stackoverflow: Multiple rootfs through .wks file fails in yocto Apr 13 16:24:43 Anyone played around with using debian multiarch's filesystem layout? ex ld-linux naming, libdir paths Apr 13 16:46:03 On a not directly related note, has anyone looked into multiple target sysroots in a yocto sdk? Ex. use multiconfig to build for multiple target configurations and then build an sdk that populates sysroots for all of them, and then one nativesdk sysroot? Apr 13 16:46:10 hmm Apr 13 17:31:04 New news from stackoverflow: How to use bitbake to add static web files? Apr 13 18:23:48 kergoth: mutliconfig sdk is on my wishlist Apr 13 18:25:30 I basically want a toolchain built by bitbake with a variety of multilib configurations, but it's easier to just use separate machines to construct multiple sysroots, so a multiconfig sdk would be the next best thing to a multilib setup with sysroot suffixes Apr 13 18:44:44 kergoth: yeah I think gcc's notion of multilib doesn not match with OEs and neither with debian multiarch Apr 13 18:45:00 so its a bit sad Apr 13 18:54:14 khem there really isn't a lot that needs to be done to bring the oe's idea of mutlilib inline with gcc's. Apr 13 18:55:07 the worst part of gcc's multilib vs OE.. is that gcc 'defaults' have far far too many multilibs defined in a lot of configs.. Apr 13 18:55:28 but it's certainly possible to build and use the gcc multilibs w/in the YP environment -- assuming you defined all the multilibs on the YP side. Apr 13 18:55:46 debian multiarch is broken by design IMHO, but again it can be done as well by adjusting paths.. Apr 13 19:08:49 broken in what way? Apr 13 19:08:56 are postinsts not run for nativesdk packages? particularly for update-alternatives? Apr 13 19:09:06 not looking like it, but not certain Apr 13 19:19:22 kergoth: no, they're not. There is an open bug :( Apr 13 19:21:43 ah, thanks Apr 13 19:23:09 it makes sense that it'd be a bit of a pain, sdk_arch isn't necessarily build_arch, so we'd need to either postpone to install/relocation time or run qemu, but i don't know how hard it'd be to run qemu against SDKMACHINE rather than MACHINE Apr 13 19:23:50 if you assume compat a chroot would do, but lacking root we'd have to fake it anyway, might as well use qemu Apr 13 19:25:44 kergoth: our qemu support is way better than it used to be FWIW and on the most part they're shell anyway. Just needs someone to figure it all out... Apr 13 19:25:57 * kergoth nods Apr 13 19:26:11 I'll have to decide if I care enough. which is often the problem. what do i use my precious spare minutes on Apr 13 19:26:15 heh Apr 13 19:29:23 kergoth: would love your help! Apr 13 19:29:48 kergoth: oe-core feels a bit lonely these days at times :( Apr 13 19:32:22 yeah, sorry, i haven't been able to contribute much, family is taking a lot of time nowadays, and work is hectic and often on tasks that don't directly contribute. even my backlog of meta-mentor submissions is piling up, and that's my bare minimum contributions usually.. Apr 13 21:55:24 Hi all Apr 13 21:56:26 I'm curious, is this a place where one can ask some stupid questions about yocto? Apr 13 21:57:16 hirnschlag, you're spot on dude Apr 13 21:57:59 Okay, I have to say I never feel so lost like on days I'm touching my yocto build Apr 13 21:58:44 So please bear with me. I have functioning ZYNQ arm7 build, in zeus, using meta-xilinx, and my own layer that adds a bunch of kernel patches Apr 13 21:59:24 I sort of soldiered through that and got this to work. Now I like to add some packages, say openvpn Apr 13 21:59:49 I copied some .bb files for it from various sources, but nope. Would have been too easy Apr 13 22:00:03 Is there a tutorial or something on how to go about this? Apr 13 22:01:53 hirnschlag, when I'm adding packages I first check if the standard poky layers contain a recipe for the package I'm looking for Apr 13 22:02:30 I think Apr 13 22:02:36 I did that Apr 13 22:02:41 you can either do this with a simple find statement, e.g. find -name "*openvpn*bb" Apr 13 22:03:29 or you just add the package to IMAGE_INSTALL in core-image-minimal.bbappend and run bitbake core-image-minimal Apr 13 22:03:50 it will complain if it finds no recipes that provide openvpn Apr 13 22:03:54 Yes Apr 13 22:03:56 It did Apr 13 22:04:01 http://layers.openembedded.org/layerindex/branch/master/recipes/ Apr 13 22:04:14 http://layers.openembedded.org/layerindex/recipe/4475/ Apr 13 22:04:33 Okay Apr 13 22:04:34 in that case, just find the layer in the internet, here zeddii did it for you Apr 13 22:04:39 I downloaded that recipe Apr 13 22:04:50 you should add that layer to your workspace Apr 13 22:04:51 the very same zeddii found Apr 13 22:04:56 not just the recipe Apr 13 22:05:03 Okay Apr 13 22:05:15 yup. you need to clone the layer, add it to your bblayers.conf and then add the packge to your image install. Apr 13 22:05:27 IIRC the yocto-mega-manual should have some samples of how to do that. Apr 13 22:06:06 This will require me to get the whole meta-openembedded shebang Apr 13 22:06:13 a good approach imo is to add the layer repo as submodule to your project Apr 13 22:06:27 will that have other consequences besides me getting the openvpn package in my image? Apr 13 22:06:51 nope Apr 13 22:07:08 they will be parsed, but not built, unless you have them in your install, or a dependency of something being installed. Apr 13 22:07:26 okay, ill try that Apr 13 22:07:26 yocto compatible layers will not influence your build, simply by being in bblayers Apr 13 22:07:27 yeah, you will also pull every other package into your project, i.e. not that they get into your image but you will be able then to add more packages from that layer Apr 13 22:16:59 Cool!!! Apr 13 22:17:05 This seems to be working Apr 13 22:17:23 Sorry, I was just too nervous adding meta-openembedded before because its so huge Apr 13 22:20:42 actually, you'll find many of the stuff you're gonna need in future in that layer Apr 13 22:26:38 Thank you all Apr 13 23:49:18 I have an SDK build that is baked via bitbake -c populate_sdk core-image-minimal Apr 13 23:51:38 now I want to add meta-toolchain-qt5 to the SDK and, since this is a meta-package, I figured to just run bitbake -c populate_sdk core-image-minimal meta-toolchain-qt5 Apr 13 23:53:13 this does however fail in the end because both core-image-minimal and meta-toolchain-qt5 try create "the same" installable artifacts, which obviously fails Apr 13 23:55:20 meta-toolchain-qt5 does not do anything special than inheriting populate_sdk_qt5, which generates a qt.conf and adds some packagegroups to the appropriate TOOLCHAIN_* variables Apr 13 23:56:34 how do I get both core-image-minimal and meta-toolchain-qt5 together in one sdk? Apr 13 23:57:08 should I just inherit populate_sdk_qt5 from core-image-minimal.bbappend or is that a bad idea? Apr 14 00:01:21 yes, most likely just need to inherit it yourself Apr 14 00:02:26 ok thanks, will give it a try now Apr 14 00:33:28 that worked fine, kergoth **** ENDING LOGGING AT Tue Apr 14 02:59:57 2020