**** BEGIN LOGGING AT Thu Sep 22 02:59:59 2016 Sep 22 05:31:30 Hi everyone, I am trying to build linux for the beaglebone black with Yocto. Sep 22 05:31:57 I am trying to figure out how to get the "BB View" cape from element14 working. Sep 22 05:32:59 So far I figure I need to load the correct .dtb file provided by elemnt14, so I need help with that but also I may need to patch the kernel to include the correct drivers? Sep 22 05:33:13 Can anyone point me in the right direction? Sep 22 06:05:52 Hello, i am not sure if this is the right place to ask, so please excuseme if it is not. I have been playin with the Intel Edison Board wich uses Yocto images by default (intel's build). One of the simplest thing i want to be able to do is to set up the wifi card to work as an APl and while i am connected scan for other networks so i can set it up to connect as a client. I am trying tomuse Sep 22 06:07:08 Wpa_cli for this but it wont work unless i disconnect from network, do you think you can help me out to find a solution for this? Sep 22 06:48:04 hello Sep 22 06:48:26 i want to use a bbappend to REMOVE one file form SRC_URI Sep 22 06:48:33 can anyone point me to an example? Sep 22 06:48:55 web search does not give me the expected results Sep 22 06:50:17 is there something like " -= " ? Sep 22 07:39:29 c0rnel: I guess you want _remove Sep 22 07:39:56 c0rnel: http://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#removing-override-style-syntax Sep 22 07:44:13 thank you bluelightning , indeed i was looking after _remove Sep 22 07:57:42 for some reason do_install_remove () is executed before do_install_append () Sep 22 07:58:07 so the workaroudn was to change in bbappend to do_install_append_remove () Sep 22 08:19:48 c0rnel: _remove isn't really intended to be used with functions like that Sep 22 08:20:28 and _append_remove() really isn't intended to work - if by some chance it does, I wouldn't be surprised if it breaks in future Sep 22 08:22:43 bluelightning ok, but what other options i have? Sep 22 08:22:58 the source has this do_install_append() which i want to change Sep 22 08:23:01 how can i do it? Sep 22 08:23:06 c0rnel: it depends, what exactly are you trying to undo? Sep 22 08:23:20 and whose recipe is it? Sep 22 08:23:27 i want to remove three lines from that do_install_append () Sep 22 08:23:33 nfs-utils, in this case Sep 22 08:24:01 c0rnel: which lines? Sep 22 08:24:45 from memory: the line that create nfsd.conf and the lines that copy proc-fs-nfsd.mount and then creates a symlink for it Sep 22 08:25:13 c0rnel: if that's all it is, just delete the files in your own do_install_append() Sep 22 08:25:50 bluelightning, ah, right, this can also be done Sep 22 08:25:55 thank you! Sep 22 08:26:06 np Sep 22 08:26:11 one thing is not clear to me Sep 22 08:26:35 how can i be sure my lines are executed last? Sep 22 08:27:36 what is in a bbappend will always come after what's in the recipe Sep 22 08:27:53 if it's multiple bbappends then they'll be applied in layer priority order Sep 22 08:28:05 bluelightning, ok, thanks again Sep 22 08:28:10 np Sep 22 08:29:05 what means OTC? bluelightning Sep 22 08:30:07 ah, found it on bing :) Sep 22 08:34:17 Open Source Technology Centre... don't ask what happened to the S :) Sep 22 08:34:57 sure :) Sep 22 08:35:20 and why it's Centre and not Center :) Sep 22 08:58:47 bluelightning, i'm looking at one of your presentations at elc 2015 Sep 22 08:59:32 can you tell me, when you deploy the app to the target, what's really going on? is an rpm installed? or it's just copying files tothe right places? Sep 22 08:59:41 with devtools that is, from sdk Sep 22 09:04:18 Does linux use only one or multiple .dtb's ? Sep 22 09:06:32 sjg_: one, with the possiblity to load dtbo overlays at runtime Sep 22 09:13:09 c0rnel: devtool deploy-target uses tar+ssh (like scp - in fact we used to use scp until I found that it's incapable of copying symlinks) Sep 22 09:13:51 bluelightning, thank you Sep 22 09:14:26 LetoThe2nd: Thank you! **** BEGIN LOGGING AT Thu Sep 22 10:10:23 2016 Sep 22 11:01:10 Hi, I need help to relocate a complex YOCTO build using variables in recipes Sep 22 11:01:37 what is the Yocto way of doing it? Sep 22 11:02:42 i think you need to give more context Sep 22 11:03:52 we would like to use variables in recipes so that we could redirect bibake to other GIT servers hosting the source code Sep 22 11:04:52 so use a variable in your SRC_URI and change it somehow Sep 22 11:05:20 or look up PREMIRRORS in the manual Sep 22 11:05:52 yes we could invent a way when sourcing "setup-environment" or should we make use of a location specific site.conf Sep 22 11:07:18 if they're your recipes then using a variable that you override in a site.conf makes sense Sep 22 11:07:26 so you mean that we should set a location specific PREMIRRORS that will be used before even checking the default target? Sep 22 11:09:28 but where should the logic be implemented? Shall we use the setup script and provide an additional parameter to it? Sep 22 11:11:17 it depends what you want to do Sep 22 11:11:33 if you want to provide your own mirrors of stuff then yes, premirros Sep 22 11:12:01 if you want your own recipes to use an internal git repo instead of the public one then you can use a variable in the SRC_URI and use a site.conf to assign it Sep 22 11:12:10 no I think premirrors would match this use case Sep 22 11:12:10 or local.conf, whatever. Sep 22 11:14:43 So I will make an approach towards changing SRC_URI so that it makes use of variables and change them using a site.conf Sep 22 11:14:50 many thanks for your feedback Sep 22 11:17:56 well if premirrors work then you don't need to change the recipe at all Sep 22 12:44:33 Hi all. I haven't written any recipes in quite some time now and i don't get how to resolve this error: https://gist.github.com/Anticom/119e9bda3ad527e40c9256f553f8b5cb Sep 22 12:45:54 Basically i want the .so and headers in my sysroot so that other recipes that DEPEND on it can compile and link against them and additionally i want *only* the .so in a package that will be present in my final image Sep 22 12:46:02 How do i do that? Sep 22 12:52:40 Anticom: set FILES_* Sep 22 12:53:25 well, looking at your recipe, delete your FILES and PACKAGES lines Sep 22 12:53:31 rburton: I'm kind of confused how to tell bb to install certain files to sysroot but not wrap it up in a package and for other files to do produce a package out of them Sep 22 12:54:19 rburton: what will that do if i delete those lines? Sep 22 12:54:38 it will package it properly :) Sep 22 12:54:43 Hi everybody, I have a trouble with 2 appended recipes for which I want them to be applied in a specific order, otherwise I have issues with do_install task. Any idea how to do this ? Sep 22 12:55:14 rburton: so only the library will go into a package then? Sep 22 12:55:42 gadic: maybe make one recipe depend on the other? Sep 22 12:55:43 gadic: what do you mean by "bbappends applied in a specific order?" Sep 22 12:55:59 Basically, one appended recipe is of my own and deletes some files added by the other appended recipe. So I need my appended recipe to be applied in last. Sep 22 12:56:19 do_install_append() {} Sep 22 12:56:37 But do_install_append() is used in both. Sep 22 12:56:54 can't you just edit the first bbappend? Sep 22 12:57:20 I never appended an append myself, I always edit the first append if need be Sep 22 12:57:40 Anticom: the library will go into PN, the headers and dev symlinks into PN-dev, the debug files into PN-dbg. you will want to package the cmake file explicitly into PN-dev. Sep 22 12:57:54 Anticom: it will Do The Right Thing out of the box for a "normal" library Sep 22 12:58:03 When I look into tmp/run.do_install, I can check the order. I do not want to edit the first bbappend file which comes from the meta-rasperrypi layer. Sep 22 12:59:13 gadic: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html Sep 22 12:59:14 rburton: so FILE_${PN}-dev_append = "${D}/${libdir}/cmake/*" ? Sep 22 12:59:18 search for BBMASK Sep 22 12:59:32 maybe you want to ignore that meta-raspberrypi bbappend? Sep 22 12:59:38 Anticom: FILES_${PN}-dev += "${libdir}/cmake" Sep 22 12:59:56 rburton: thanks Sep 22 13:00:13 aratiu: yes why not ignoring the bbappend. Sep 22 13:02:08 gadic: add it to BBMASK and see how it works out Sep 22 13:03:36 aratiu: I check this out and tell you. Sep 22 13:04:20 aratiu: anyway, I'm surprised if I cannot specify the order or priority of the bbappend. Sep 22 13:05:22 gadic: maybe you can, I never had a need to do it do I don't know, maybe others know Sep 22 13:06:20 aratiu: yes sure, I understand. You even know more than I do ;-) Thanks for your help. Sep 22 13:11:23 it would seem that fuse is broken in krogoth openembedded. Upstream looks to have moved Sep 22 13:12:20 heh CTtpollard I guess most of us have the tarball already :) Sep 22 13:13:10 As do I, part of our CI does clean builds though with nothing shared Sep 22 13:13:31 good test Sep 22 13:13:57 no checksum change? Sep 22 13:15:36 http://downloads.sourceforge.net/fuse/fuse-2.9.4.tar.gz Sep 22 13:15:53 claims to have moved in 2015 though Sep 22 13:16:51 Hello there I am trying to bitbake meta-toolchain-qt5 using meta-qt5 master repo. It baked successfully, but when I setup my QT Creator, I can not use qtserialbus. When I try bitbake qtserialbus, it also bakes successfully. How can I append qtserialbus to the sdk ? Sep 22 14:17:50 What's the default behaviour of executables in a cmake project? does this get installed to SDK by default or not? Sep 22 17:19:40 Hello there, I have a question. I am trying to bitbake meta-toolchain-qt5. I can bake it successfully, but when I set up QT Creator, it gives me error that qtserialbus not found. When I do bitbake qtserialbus it bakes succesfully also. How can I append qtserialbus to the sdk that generated using bitbake meta-toolchain-qt5 ? Sep 22 17:20:53 I am using meta-qt5 master branch btw. Sep 22 18:59:02 hi folks, I'm trying to use meta-java with poky master. Some of my packages RDEPEND on java2-runtime with the idea that this should pull in java. I'd like to use openjdk-7 (as it has some sort of arm32 jit support). However, bitbake keeps asking for a PREFERRED_RPROVIDER for java2-runtime and only lists openjre-8 and opendjk-8 as providers. And openjdk 8 appears to be installed in my images. Is there anything Sep 22 18:59:04 funny around RDEPENDS and PREFERRED_RPROVIDER that I should be watching out for? Sep 22 19:02:41 I've noticed that with openjdk-8, the RPROVIDER for java2-runtime has the same name as the recipe (and is also listed as a PROVIDER), while in openjdk-7 the RPROVIDER package is different (openjdk-7-jre) and no PROVIDER for java2-runtime is listed. Sep 22 19:03:09 (eh, PROVIDES & RPROVIDES, that is) Sep 22 19:04:32 Does PROVIDES_${PN} even work? RPROVIDES_${PN} makes sense, but I'm not sure about PROVIDES_${PN}. shouldn't it always be bare PROVIDES? Sep 22 19:10:53 Huh, looks like the PN in openjdk-7 is openjdk-7-jre, so I guess that isn't the cause. Sep 22 19:11:29 Is there a way to see why some RPROVIDES where elimintated/ignored? Or a likely reason why they would be? Sep 22 19:20:02 'RPROVIES' doesn't do anything.. RPROVIDES_ only affects teh package, it if was created Sep 22 19:31:18 fray: sure. what about PROVIDES_, though? Sep 22 19:43:00 jmesmon: there's no such thing. it would have no meaning. PROVIDES is build time by definition, packages are run time. Sep 22 19:43:49 kergoth: great, that's what I thought. Presuming it's ignored, that's 1 less thing that might be causing my meta-java woes. Sep 22 19:59:40 Ah, looks like openjdk-8 removes that requirement for x11, but openjdk-7 still needs it. I didn't have x11 in my DISTRO_FEATURES, so openjdk-7 based packages were skipped. Looks like I'll have to add that back :( Sep 22 20:59:36 how do i install getevent tool which is basically written for android in yocto. I tried bitbake getevent. Sep 22 20:59:48 I couldn’t find a recipe for it. Sep 22 21:06:10 newbiee: layers.openembedded.org doesn't show it, so step 1 is write a recipe for it Sep 22 21:07:06 rburton: it doesn’t even show i2c-tools Sep 22 21:07:42 but when i do bitbake i2c-tools it works. Sep 22 21:07:50 https://layers.openembedded.org/layerindex/branch/master/recipes/?q=i2c-tools Sep 22 21:07:58 there are many i2c-tools available and listed on the index Sep 22 21:08:35 newbiee: the default search is for layer name, not recipe name, so that might be why Sep 22 21:09:42 fray: thanks but do you know where can i quickly read about adding a recipe? Sep 22 21:09:56 YP guide.. Sep 22 21:10:05 there are things in there that show some basics of writing a recipe Sep 22 21:10:46 https://android.googlesource.com/platform/system/core.git/+/android-4.4_r0.7/toolbox/getevent.c trying to write recipe for this. Sep 22 21:10:59 ok thanks. Sep 22 21:11:24 YP guide…google doenn’t bring up any releavant page. Sep 22 21:14:21 oh you mean yocto project guide? Sep 22 21:18:19 http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html Sep 22 21:18:22 see 5.3 Sep 22 21:18:43 there are tools to help you write a recipe, the manual covers them Sep 22 23:00:11 fray: i created the recipe but i don’t know what to give as md5? I did this “touch xyz; mdf xyz;” this gave me a string which i pasted but i am getting file not present error. Sep 22 23:02:13 *md5sum xyz Sep 23 01:12:46 bluelightning: ping Sep 23 01:13:00 jedix: hi Sep 23 01:13:22 bluelightning: hey, I emailed you about wrtemplate earlier Sep 23 01:15:35 so as mentioned before, jedix is trying to extend the layer index to capture some WR specific content.. Sep 23 01:16:06 but the content is based on directory names, not file names.. so he's having issues briding between the existing update code and how to load the data (and keep it synced) in the database Sep 23 01:19:54 fray: right - we're talking in PM atm Sep 23 01:20:12 perfect Sep 23 02:29:31 http://ideone.com/3c6zNX trying to make a recipe but getting | install: missing destination file operand after '/mnt/Galaxy/Mars/getevent/1.0-r0/image/usr/bin/ **** ENDING LOGGING AT Fri Sep 23 02:59:58 2016