**** BEGIN LOGGING AT Mon Apr 07 02:59:59 2014 Apr 07 07:09:24 good morning Apr 07 07:09:35 morning. Apr 07 08:40:59 Hi all ! Apr 07 08:41:11 I'm new to yocto and I built an image with poky (core-image-sato). Apr 07 08:41:29 I run the image with qemu and I can ssh into it but I'm having a hard time figuring out how to connect to the VNC server. Apr 07 08:41:41 When I launch qemu, I have "VNC server running on `::1:5901'". Apr 07 08:41:56 I tried to connect both through vncviewer and vinagre without success... Apr 07 08:42:12 Does someone know how to connect to the vnc server ? Apr 07 08:44:54 morning all Apr 07 08:45:58 kevin_t: have you tried connecting to exactly ::1:5901 ? Apr 07 08:46:17 yes Apr 07 08:47:06 I have "Connection to host localhost::1 was closed." Apr 07 08:47:36 I got it Apr 07 08:47:56 "vinagre ::5901" works ! Apr 07 08:48:08 now I feel stupid... Apr 07 08:48:39 Thanks bluelightning ! Apr 07 08:49:00 np Apr 07 08:51:51 I'm trying to patch matchbox-terminal. I've created a diff file and I'm wondering how the bbappend file should look like. I should add the diff file to the list of sources, but should I also add some kind of command that actually applies the patch before compiling, right? Apr 07 09:03:02 or is it enough just to add a .patch file to the list of sources, and it will be automatically applied? Apr 07 09:06:03 xerent: if you add it to SRC_URI it will be applied automatically (based on having a .diff or .patch extension) Apr 07 09:06:44 the only other thing you need to do is ensure it can be found, i.e. prepend to FILESEXTRAPATHS Apr 07 09:07:10 ok, thanks Apr 07 09:07:11 so if the file can be found in a directory named the same as the recipe next to the recipe file, you'd do: Apr 07 09:07:35 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" Apr 07 09:07:35 now I wonder why I couldn't find this simple piece of information even though I've been googling for an hour and reading documentation ;) Apr 07 09:07:53 I'll have to check how we document it Apr 07 09:08:14 it could be me failing to find the documentation Apr 07 09:09:11 well, it could still be that it's not being highlighted in the right places Apr 07 09:09:24 xerent: out of interest, what did you search for? Apr 07 09:09:37 yocto patch bbappend Apr 07 09:09:47 and similar Apr 07 09:11:08 well, there is a "Using .bbappend Files" section in the development manual, that does try to explain it Apr 07 09:12:45 yep, that's true, but it doesn't highlight that .patch files are automatically parsed and applied by the build system if included Apr 07 09:13:07 thanks anyway, excellent service as usual Apr 07 09:13:18 * xerent gives bluelightning a cake Apr 07 09:13:30 hmm, true Apr 07 09:21:57 <_valle_> I can't run any qtdeclarative-examples built from meta-qt5 layer. Gives the output: module "QtQuick" is not installed Apr 07 09:24:53 _valle_: didn't you already get some suggestions last week on this issue? Apr 07 09:28:24 <_valle_> bluelightning: Yes that's correct. So now I'm building the qtdeclarative-examples, unfortunately with the same result... Was building my own application last week. Apr 07 09:31:21 _valle_: repeating from last week: Apr 07 09:31:35 _valle_, do you have "qtquickcontrols-qmlplugins" package installed in your image ? Apr 07 09:31:43 _valle_, or actually, "qtdeclarative-qmlplugins" Apr 07 09:32:58 <_valle_> bluelightning: thank you for repeating that. Had missed it because I stopped working before that answer. Apr 07 09:33:23 _valle_: ok, np Apr 07 10:22:10 Any idea how to enable this EXTRA_OECONF inside a recipe : EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n --without-lzma" Apr 07 10:22:32 The defaulr EXTRA_OECONF is used always Apr 07 10:23:19 milan_1: _linuxstdbase means it is applied only when "linuxstdbase" appears in OVERRIDES Apr 07 10:23:54 the linuxstdbase override is intended for distros which want to enable LSB compatibility Apr 07 10:25:22 bluelightning : you mean DISTROOVERRIDES ? Apr 07 10:25:27 milan_1: no Apr 07 10:26:15 milan_1: well, actually, that would be used to enable linuxstdbase globally - is that what you really want? or just to change the configuration in this one recipe? Apr 07 10:27:00 bluelightning : I want to use it globally Apr 07 10:27:36 milan_1: ok, then you should add to DISTROOVERRIDES as meta-yocto/conf/distro/poky-lsb.conf does Apr 07 10:28:22 bluelightning : ok :) Apr 07 10:28:52 (note that DISTROOVERRIDES should be set from your custom distro config) Apr 07 10:43:49 <_valle_> kroon: Thank you for the help! It solved my problem :) And thank you bluelightning for pointing it out. Apr 07 11:13:34 bluelightning : I did add linuxstdbase to my custom-layer/conf/disto/distro.conf --> STROOVERRIDES .= "linuxstdbase: ..." Apr 07 11:14:11 * --> DISTROOVERRIDES .= "linuxstdbase: ..." Apr 07 11:14:25 Hope that's how you suggested ! Apr 07 11:19:48 bluelightning: I think doing so will take effect in all the recipes which have _linuxstdbase . is that true ?? Apr 07 12:28:10 milan_1: correct Apr 07 12:28:52 I'm still not getting what script/configuration file runs the matchbox-terminal instance. I've added my own startup script to run my application, but the blank terminal window just comes out on top. xserver calls xinit, and my xinitrc file is blank Apr 07 12:30:48 It's driving me nuts. Apr 07 12:38:19 xerent: you may find that x-session-manager is an alternative pointing to /usr/bin/mini-x-session which runs matchbox-terminal Apr 07 12:45:00 yes. thank you. now to figure out how to change the behavior only for certain image configurations. Apr 07 12:45:43 xerent: you could install your own session manager which will take precedence Apr 07 12:47:56 isn't that like using a cannon to kill a mosquito Apr 07 12:49:28 but if I make a patch it'll affect all image configurations Apr 07 12:52:40 I could patch the mini-x-session to check for a file, to determine the image configuration at runtime Apr 07 12:54:38 that could work yes Apr 07 12:54:57 I guess mini-x-session was intended to be pretty simple Apr 07 12:55:33 we're definitely open to making customisation easier if there are good ways to do that though Apr 07 13:04:28 it works. Apr 07 13:25:52 bluelightning: thank you. Apr 07 13:26:01 np Apr 07 13:39:32 <_valle_> what package do I need to get alsa to work? I have tried alsa-lib. I get the following output: undefined reference to `snd_mixer_load' Apr 07 13:58:34 _valle_: sounds like your application is not being properly linked to the alsa library Apr 07 14:02:19 if a recipe uses bb.fetch2.get_srcrev(), will it always require an internet connection to function properly? Apr 07 14:08:28 hey guys Apr 07 14:08:44 is there any way to get DHCP client started when I plug a cable into the ethernet port ? Apr 07 14:08:56 I found ifplugd, but I'm, not quite sure that's the right way ... Apr 07 14:12:42 ifplugd should work. Apr 07 14:13:19 xerent: is there anything better / recommended / ... ? Apr 07 14:13:47 hey Marex_ Apr 07 14:15:12 I'm not aware that it's something we've looked into at all... I guess for anything more advanced than what you get with the supplied network scripts we use connman Apr 07 14:21:23 bluelightning: hey, it's been a while again :) Apr 07 14:21:28 bluelightning: how're things ? Apr 07 14:21:34 thanks for the connman hint Apr 07 14:21:59 Marex_: great thanks, and yes, too long :) Apr 07 14:24:27 great to hear :) Apr 07 14:26:50 poky does not build on remote drives, right? (tried with nfs and ran into obscure patch problems) Apr 07 14:29:33 bluelightning: If you are here, I just wanted to say thanks for the help on Friday. I was able to get the executables from my meta layer installed in the image I was building. Apr 07 14:30:10 LetoThe2nd: TMPDIR can't be on NFS, no (there is an explicit test for this in master, FWIW) Apr 07 14:30:22 daren: great :) no problem Apr 07 14:30:57 bluelightning: uh-huh., Apr 07 14:31:15 bluelightning: at least dora doesn't seem to break/test Apr 07 14:33:26 I am curious about one thing. Is there a way for a meta layer to effectively say "install my packages in any image that includes me" or is adding an "IMAGE_INSTALL" to the image the only way to do it? Apr 07 14:34:17 daren: you *can* do that from layer.conf, but I would say that is very much frowned upon - you're taking the choice away from users of your layer Apr 07 14:35:56 bluelighting: Understood. I was already avoiding the layer.conf file..... so I suppose any other mechanism is doing essentially the same thing. If the image wants things from my meta layer, then it just needs two edits - one to include the layer and one to install the packages Apr 07 14:36:31 daren: again, it's bblayers.conf needing the edit to add the layer, then the image to add the package Apr 07 14:37:03 bluelighting: Yes, that's what I'm doing now. Apr 07 14:41:52 daren: right, the point is, split the idea of configuration for your build vs. the image recipe itself Apr 07 14:43:34 bluelightning: Thanks, that makes sense. That's something that's not immediately obvious from the simple examples in the documentation. I appreciate having a better understanding of what I'm working with. Apr 07 15:23:45 Hey. Would anyone know a way to get a list of all packages in an image, and which layer that package is (currently) from? I want, if possible, to get rid of all packages I'm using from oe-alliance-core, as the recipes therein are somewhat less maintained than one could hope. Apr 07 15:26:00 internet_explore: I don't think you can get that in one place at the moment; you can certainly get pieces of it Apr 07 15:26:33 bluelightning, Ah pity, and yea I know. I'll have to do something with a hell of a lot of pipes, then. Apr 07 15:26:58 bluelightning, there is some way to pass only the recipe name and then be told which layer, currently, provides the recipe, yea? If there is I can make it work. Apr 07 15:27:43 internet_explore: for that part "bitbake-layers show-recipes" might be helpful Apr 07 15:28:16 basically the first listed item under each recipe is the layer that is currently providing it Apr 07 15:29:11 bluelightning, Ah, fantastic... can't think of a way to do this using only awk / grep / sed, though. Apr 07 15:29:19 I know it should be possible with AWK, but I'll probably write a perl script for it. Apr 07 15:29:21 Thanks anyway. Apr 07 15:29:49 internet_explore: FYI this is the sort of thing that the Toaster web UI is designed to help with Apr 07 15:30:30 bluelightning, I had no idea that existed. Apr 07 15:30:43 internet_explore: https://www.yoctoproject.org/blogs/belenbarrospena/2014/eye-candy Apr 07 15:31:45 bluelightning, Ah, neat... That might actually be able to answer that for me. Fantastic. Apr 07 15:32:25 bluelightning, Thanks Paul. :P Apr 07 15:32:45 np :) Apr 07 15:33:14 It's a good sign if your IRC/development makes people remember your actual name. Apr 07 15:33:46 You and 'Paul Evans', a Perl developer, are the only two people I really remember (eh, Linus, Stallman, etc) only for working on software I use... Apr 07 15:34:05 internet_explore: cool :) Apr 07 15:41:11 hi guys, I need some help with patch generation Apr 07 15:42:10 ronaldo86: please ask your question Apr 07 15:43:17 I modified a file in meta-fsl-arm layer and i want to generate the patch for it Apr 07 15:43:36 I don't know to do it... Apr 07 15:43:45 *how to do it Apr 07 15:44:00 ronaldo86: this may help: http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded Apr 07 15:44:41 note that there's a mailing list for this layer: https://lists.yoctoproject.org/listinfo/meta-freescale Apr 07 15:44:42 Nice, I googled it but I was not able to find it! Apr 07 15:44:54 yeah, I got it Apr 07 15:44:54 you'll probably need to sign up for the mailing list and then you'll be able to send your patch there Apr 07 15:44:58 cool Apr 07 15:45:19 thanks bluelightning ! Apr 07 15:45:29 np Apr 07 16:39:30 please suggest solution to solve ERROR: ExpansionError during parsing /home/kirankumar/work/genivi/dora.10.0.1/poky/meta/recipes-core/meta/external-sourcery-toolchain.bb: Failure expanding variable sysroot_stage_all: ShellSyntaxError: LexToken(LPARENS,'(',0,0) 1013 followed by: 1014 LexToken(TOKEN,'GCC-r7/sysroot-destdir/',0,0) 1015 LexToken(NEWLINE,'\n',0,0) Apr 07 19:53:07 We want to create an x86 image which contains multiple partitions. Right now when I dd the image I only have one big partition /dev/sda without any partition layout. Apr 07 19:53:35 now, is there any recent documentation how to create multiple partitions? There is an old email thread when I google for it, but its from 2012 and might be outdated. Apr 07 20:16:45 volker-: i'd say just fdisk and dd the image to the partition it belongs in, but if you want examples of multi partition image creation, see the various sdcard image bbclasses in some bsp layers. there's no single definitive metadata-driven mechanism for the creation of such images at this time, as far as i know, anyway Apr 07 20:17:23 kergoth: ok. thought that this has to be some more manual work. Apr 07 20:17:55 have to figure it out how to get it running. first try this way did not succeed Apr 07 20:18:18 iwamatsu: poke ? Apr 07 20:41:24 bluelightning_: well ... in the end, I used the Lennartware (ifplugd) and it works well Apr 07 20:41:38 it does what I need and it's small enough Apr 07 22:44:12 zeddii, is there a comment character for .scc files? **** ENDING LOGGING AT Tue Apr 08 02:59:58 2014