**** BEGIN LOGGING AT Mon Dec 05 03:00:00 2016 Dec 05 08:22:42 I have made a bbappend for my kernel specifying the KERNEL_DEVICETREE variable. Dec 05 08:22:56 This works when I compile the kernel with bitbake virtual/kernel Dec 05 08:23:30 This works when I compile the kernel with bitbake virtual/kernelKERNEL_DEVICETREE which contains non-existing dtb files an hence fails. Dec 05 08:24:53 \me please strike that last line... something went wrong in my copy buffer... Dec 05 08:25:22 Whe I create the sd card image it falls back on the default KERNEL_DEVICETREE which contains non-existing dtb files an hence fails. Dec 05 08:25:58 Is there a way to overwrite the value of KERNEL_DEVICETREE for both the sd image and the kernel? Dec 05 09:04:24 good morning Dec 05 09:04:58 good morning Dec 05 09:11:30 Is it possible to override KERNEL_DEVICETREE for both kernel and sd image using a bbappend file? Dec 05 09:15:21 deva: if "sd image" is built by the image recipe, then no you would need multiple bbappend's or you need to set it within the machine.conf Dec 05 09:16:57 nrossi: It is currently set in one the imported layers which I have as a submodule Dec 05 09:17:49 So modifying the machine.conf in the layer would require me to fork the entire layer which I would like to avoid Dec 05 09:18:14 deva: Why do you need to change KERNEL_DEVICETREE out of query? Dec 05 09:18:56 The kernel in the layer provides three dtbs of which only one exists in the kernel I am using Dec 05 09:20:00 deva: so you are using a different kernel to what this layer provides/uses, but you want to use the same machine.conf from this layer? Dec 05 09:20:15 This is the one: http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/imx6ulevk.conf Dec 05 09:20:44 The bb for the kernel includes many other things, including patches etc which I would like to use Dec 05 09:21:21 But the imx6ul-14x14-evk-csi.dtb imx6ul-14x14-evk-btwifi.dtb files does not exist in my own kernel source tree Dec 05 09:21:42 (which is the vanilla 4.9-rc8 tree btw.) Dec 05 09:22:27 I have successfully removed them using a bbappend in my own overlay, but it only matches the kernel and not the sd image recipe Dec 05 09:22:30 deva: sounds like the easiest solution would be to make your own machine.conf which includes the imx one. Then you could override KERNEL_DEVICETREE there Dec 05 09:23:40 So if I simply create a machine/imx6ulevk.conf in my local metal layer conf it would override the one in the fsl layer? Dec 05 09:24:36 deva: No i mean you create in your layer something like machine/imx6ulevk-myversion.conf, and in that conf you "include conf/machine/imx6ulevk.conf" Dec 05 09:24:50 the recipe i'm using adds his dts to the kernel source like this: SRC_URI += "file://${DTSNAME}.dts;subdir=git/arch/arm/boot/dts"and later sets KERNEL_DEVICETREE Dec 05 09:25:34 you will also probably need to have "MACHINEOVERRIDES = "imx6ulevk:${MACHINE}"" or some such before the include Dec 05 09:26:04 nrossi: So the include statement is able to find the imx6ulevk.conf file even though it is out-of-tree? Dec 05 09:26:19 deva: but it is in BBPATH :) Dec 05 09:26:25 aah :-) Dec 05 09:27:09 some layers use this as a way to avoid duplication, e.g. meta-raspberrypi (http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/conf/machine/raspberrypi0.conf?h=master) Dec 05 09:28:53 hi, when I use SSTATE_MIRROR and change the SSTATE_MIRROR location all my packages are rebuilt from scratch, I see that BB_HASHBASE_WHITELIST doesn't contain SSTATE_MIRRORS variable is this a mistake ? Dec 05 09:42:27 nrossi: That seemed to work - thank you very much :-) Dec 05 09:47:34 Hi, when I want to modify a file during autotool configuration (configure.ac to be specific), how should I do that in the recipe. Or is this only possible with patching the source? Dec 05 09:50:59 m4ho: i think a patch could be clean Dec 05 09:51:05 what do you want to change? Dec 05 09:51:10 m4ho: what do you mean by "modify during configuration"? like, run it halfway, then modify, then continue?" Dec 05 09:51:26 m4ho: generally, one would say modifications go into a patch, logic goes into the recipe Dec 05 09:52:28 it's enabling subdir-objects in automake (AM_INIT_AUTOMAKE([subdir-objects])) Dec 05 09:53:06 thanks guys, then I will simply use a patch Dec 05 10:17:33 are wildcards in FILES_${PN} supported or is there a variable that points to the module folder of the kernel? Dec 05 10:19:43 nevermind Dec 05 10:19:53 Hi, is there anyone who knows about postfunctions? Dec 05 10:20:05 I tried to look for documentation about it, but I found nothing. An example could also be helpful Dec 05 10:20:33 tlk: grep poky distro for postfunctions Dec 05 10:21:32 I don't even know about the syntax... could you suggest what to grep for? Dec 05 10:21:38 'postfunc' ? Dec 05 10:22:03 Never mind, found it. Thanks! Dec 05 10:26:46 rburton: (about friday's question about DISTRO_FEATURES_remove = "pulseaudio") I'm not setting DISTRO_FEATURES_remove at the global level, just in the qt4 bbappend - that seems to be the only way to get pulseaudio out of the DEPENDS, since it's using a DISTRO_FEATURES conditional to include it or not Dec 05 10:26:57 Anyone around with commit rights to meta-java? Dec 05 10:27:28 DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)}" Dec 05 10:27:36 pohly: iirc, maxin does Dec 05 10:28:26 I tried to use DEPENDS_remove, either specifying "pulseaudio" or specifying the full conditional, but none worked Dec 05 10:31:48 maxin: there is a patch fixing for the meta-java<->bitbake master incompatibility (http://lists.openembedded.org/pipermail/openembedded-devel/2016-November/110109.html). Can you get that merged? Dec 05 10:32:10 I would reply to the mail, too, if I could, but someone I never received a copy. Dec 05 11:49:45 Hello all, I have built and flashed yocto on warp7,how can i add gcc compiler into yocto Dec 05 11:54:32 madhav: usually one goes with tools-sdk, see http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-features-image Dec 05 11:55:08 madhav: but be aware that you probably do mean poky, not yocto - and that poky does not come with some repository to install stuff from. Dec 05 11:56:28 you could just add gcc to image install Dec 05 11:56:41 letoThe2nd:okay il follow the link Dec 05 11:56:47 Thank you Dec 05 11:57:07 CTtpollard: i'd call that the option for people who know exactly what they need :) Dec 05 11:57:17 CTtpollard: ok Dec 05 11:57:37 well, tools-sdk will just add more than asked for, that's all :) Dec 05 11:59:46 CTpollard : okay Dec 05 11:59:53 Il try that Dec 05 13:40:35 what's the supposed way to use ssh-agent with yocto? Dec 05 13:40:51 do I need to add some variable to extra_white? Dec 05 13:41:21 I mean bitbake in particular Dec 05 13:44:39 T_UNIX: SSH_AUTH_SOCK should already be in BB_ENV_EXTRAWHITE_OE if you sourced oe-init-build-env Dec 05 13:48:18 nrossi: thanks. Yeah, looks like. Unfortunately the fetch fails :-/ Dec 05 13:48:52 hm.. something seems to be broken. Can't cancel either... Dec 05 14:07:40 how can I perform 'make && make modules' in a autotools recipe? I'd have to do_configure and do_compile by hand, right? Dec 05 14:20:07 Is it somehow possible to force bitbake to use the SRC_URI as a git url? Dec 05 14:20:56 I have a local git repository which is only exposed through a http:// interface but I cannot seem to get bitbake to use it. It keeps trying to wget it instead Dec 05 14:21:21 How can I make my do_deploy_append be appended AFTER the do_deploy_append from other layers? Dec 05 14:22:10 tlk: Perhaps set the BBFILE_PRIORITY ? Dec 05 14:26:49 tlk, See http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-BBFILE_PRIORITY Dec 05 14:27:54 thanks Dec 05 14:28:39 is there any difference between adding a postfunc to the task A, or adding a new task before A? Dec 05 14:29:06 The documetnation is not very clear about postfuncs.... Dec 05 14:30:00 If I have a do_deploy[postfuncs] += "mytask" in recipe A, and they I have a recipe B which depends on A:do_deploy; is 'mytask' executed before recipe B? Dec 05 14:37:31 deva: git://foo;protocol=http Dec 05 14:42:31 tlk: postfuncs are part of the task as far as dependencies are concerned Dec 05 14:42:46 nrossi, It works. Thanks :-) Dec 05 14:51:41 rburton: ok, thanks Dec 05 15:02:33 tlk: with a postfunc, mytask is *always* run when that task is. a new task won't be run unless something depends upon it, whether the default task or another Dec 05 15:55:54 Marex: ping? Dec 05 17:06:51 Hello all! I'm quite new with Yocto and I'm trying to change my Yocto+Qt5 to Raspberry instructions from Qt 5.7 to 5.6... with no success Dec 05 17:08:05 Flei: which instructions are these? :) Dec 05 17:10:28 I already changed the file qt5-git.inc lines QT_MODULE_BRANCH and PV values to 5.6. Dec 05 17:11:44 CTtpollard: http://blog.unixshell.se/?p=27, changed meta-qt5 krogoth to master, because I read it was version 5.6 Dec 05 17:12:05 Flei: Yes, krogoth branch of meta-qt5 is 5.6 Dec 05 17:12:28 You shouldn't need to change anything else Dec 05 17:12:33 rburton: yep , pong Dec 05 17:13:54 CTtpollard: I thought krogoth is 5.7 already, and I had some problems on desktop when I tried it in my computer so I wanted to stay in safe 5.6 Dec 05 17:14:38 Flei:https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qt5-git.inc 5.6 Dec 05 17:14:53 Master / Morty is 5.7 I believe Dec 05 17:15:40 CTtpollard: so these braches change (I don't understand git either) https://lists.yoctoproject.org/pipermail/yocto/2016-February/028248.html Dec 05 17:16:31 At one point in time master would have been based on Krogoth branch, which is 5.6 Dec 05 17:16:49 But Krogoth is no longer the latest yocto release Dec 05 17:17:27 Ok, hey I think I get it =) Dec 05 17:18:21 Cool :) Dec 05 17:18:44 CTtpollard: Is the Qt version easy to change if I need to? Dec 05 17:20:26 Flei: You'd switch to the required branch of meta-qt5 yes, although that would sort of imply you were building the matching version of poky Dec 05 17:20:39 But that's not a strict relationship with the qt5 layer Dec 05 17:23:32 CTtpollard: Ok, I'll try. I believe me editing Yocto is like giving a child to repair a car =) Dec 05 17:25:03 he just told you to do a git checkout. that's not exaclty 'editing yocto' Dec 05 17:28:48 kergoth: sorry for using wrong words, I just try to get myself undestood. I guess you also knew if I starting, I'm not actually editing Yocto but the files to get something done Dec 05 17:29:53 again, running a command isnt editing files Dec 05 17:33:17 Trying to grok yocto + git at once, understandably a hard situation Dec 05 17:35:10 CTtpollard: thank you for your help, I go to find some new errors =) Dec 05 19:55:29 i have a recipe that fails with | cp: cannot create regular file '/lib/firmware/BB-UART3-00A0.dtbo': Permission denied Dec 05 19:55:36 the reason is clear Dec 05 19:55:44 it tries to install to / in the host Dec 05 19:55:58 so i locked at the logs/run_ fragments Dec 05 19:56:22 do_install looks like this Dec 05 19:56:30 DESTDIR="/data/projects/meta-boot2qt/build-beaglebone/tmp/work/beaglebone-poky-linux-gnueabi/bb-org-overlays/git-r0/image" oe_runmake install Dec 05 19:56:41 so at least it is passing in a prefix Dec 05 19:56:53 next i looked at the respective makefile Dec 05 19:58:03 the install target contains Dec 05 19:58:04 I think the DSTDIR shoud be passed after make, not before Dec 05 19:58:05 cp -v $(obj)/*.dtbo $(DESTDIR)/lib/firmware/ Dec 05 19:58:37 igor1: let me check :-) Dec 05 20:00:23 Occurs to me, I see a lot of people here messing with bitbake and possibly not entirely comfortable with it. I also know a Python person looking for work. Dec 05 20:01:59 igor1: you are right Dec 05 20:02:15 now i need to figure out where the code in run.do_install comes from Dec 05 20:02:37 set EXTRA_OEMAKE = "DESTDIR=${D}" Dec 05 20:02:40 on the recipe Dec 05 20:02:45 or += Dec 05 20:02:54 thanks! Dec 05 20:03:20 you're welcome Dec 05 21:07:45 khem: i think you said you use 96boards-tools, yeah? know of an equivalent of resize-helper that's compatible with older parted, or directly uses fdisk/sfdisk? guessing it shouldn't be terribly difficult, just need to use specific addresses rather than percentages Dec 05 21:11:45 kergoth: Hi Dec 05 21:12:29 kergoth: have you experienced issues when you change url in SSTATE_MIRRORS ? I mean rebuilding from scratch ? Dec 05 21:13:05 SSTATE_MIRROS is not added to whitelist while SSTATE_DIR is Dec 05 21:32:20 kergoth: yes I use it Dec 05 21:33:05 kergoth: I havent used old parted yeah Dec 05 21:34:20 kergoth: my usecase is to overcome lack of sparse image. So I dd a sd-card image and then on firstboot resize the rootfs so consume available SD-Card Dec 05 21:38:47 yeah, that's ours too — there's no way to know the customer's sd card size ahead of time. at first we had a pile of different .wks files for different card sizes, but resizing on first boot is a lot cleaner for non-r/o Dec 05 21:39:08 but current parted is gplv3, which not everyone is happy with, so need to work around that Dec 05 21:42:16 zeddii: zeddii_home you around? Dec 05 21:42:54 hmm Dec 05 22:09:54 kergoth: yeah realised that Dec 05 22:10:31 for older parted I guess same can be worked using some poking around for finding the sector numbers etc. Dec 05 22:12:42 yeah, exactly. was just curious if anyone had it handy, but sounds like not, so i'll be doing that Dec 05 22:12:46 shoudln't be too bad Dec 05 22:48:31 GPLV2 parted must be getting pretty crusty by now Dec 05 22:48:51 oh yeah, it's ancient and buggy. tempted to rig somethign with sfdisk or fdisk instead Dec 05 22:48:54 just like a lot of the GPLv2 components I guess Dec 05 22:48:57 indeed Dec 05 22:49:20 i feel like at a certain point someone should just say screw it and run/port a bsd userland entirely Dec 05 22:51:14 right, there are other non-GPLv3 components that could be switched in these days for some of them Dec 05 22:51:28 or indeed all of them, with enough effort... Dec 06 00:13:50 anyone played around with the mender.io stuff? Dec 06 02:40:06 kergoth: sfdisk is easily scriptable so I would think there should be a way to deploy that here **** ENDING LOGGING AT Tue Dec 06 03:00:00 2016