**** BEGIN LOGGING AT Mon Mar 16 02:59:58 2015 Mar 16 08:56:33 good morning Mar 16 09:03:55 <_4urele_> hi Mar 16 09:06:16 <_4urele_> I'm using rpm packages with "smart", and I would like to put 2 files in the RPM directory. Today I do it manually, but I ould like to know if it is possible to do this from a recipe file Mar 16 09:08:11 <_4urele_> I tried with the {DEPLOYDIR} but it is not the good variable to write into "deploy/rpm" Mar 16 09:18:18 morning all Mar 16 09:56:35 OP soumya Mar 16 10:05:17 <_4urele_> Hi is it possible to get local time with DATETIME variable? Mar 16 10:06:41 otavio: ping Mar 16 10:15:44 Hello guys, I have a problem with my php build on a raspberrypi2 (only for dev purposes, later it will be another device). My environment is configured to use this recipe I think: https://github.com/openembedded/meta-openembedded/tree/dizzy/meta-oe/recipes-devtools/php but on the target file system I am not able to find any php binary or service at all. I've been stuck with this for a few days now and I'd really appreciate some hel Mar 16 10:21:59 zwerch, what image are you building? Mar 16 10:23:59 An own image, but mostly based on core-image-x11 Mar 16 10:27:06 and you have added the php package/packages? Mar 16 10:27:16 Yes Mar 16 10:27:37 It's only 'php', isn't it? Mar 16 10:27:53 hmm Mar 16 10:28:12 I ahve an image with php-cgi and php-config Mar 16 10:28:30 root@ettus-e300:~# opkg list-installed | grep php Mar 16 10:28:30 php - 5.5.21-r0 Mar 16 10:28:30 php-cgi - 5.5.21-r0 Mar 16 10:28:30 php-dev - 5.5.21-r0 Mar 16 10:28:53 is there a "php"binary? Mar 16 10:29:02 Hello Mar 16 10:29:09 Does yocto come from yolo? Mar 16 10:29:16 No, I couldn't find any binaries Mar 16 10:29:30 ah you want php-cli Mar 16 10:29:41 FILELIST = /usr/bin/php Mar 16 10:29:56 add buildhistory to your USER_CLASSES Mar 16 10:30:02 Maybe I didn't define the packages the right way, how and where does that have to be done? Mar 16 10:30:03 Hey if I load my USB stick with Yocto built image on my machine... I get a screen that says biit: | and the symbols that looks like alpha symbol as a loading dot Mar 16 10:30:18 its taking up the entire screen by now and still hasnt booted Mar 16 10:30:44 Maybe the USB stick is corrupted Mar 16 10:30:52 I would try again with a different stick Mar 16 10:31:06 zwerch, add the php-cli package to the packages installed in the mage Mar 16 10:31:52 So it should work with `bitbake php-cli`, right? Because then I get `nothing provides 'php-cli'`. Mar 16 10:31:52 SYSLINUX 6.01 EDD 2013-07-04 Copyright (C) 1994-2013 H. Peter Anvin et al boot : Mar 16 10:31:58 is that the normal boot screen for yocto? Mar 16 10:32:35 no Mar 16 10:32:49 bitbake php made the php-cli package Mar 16 10:32:57 arneb, well when I DD ed it on to the memory stick is said 87Meg files copied to stick.. it copied it to the memory stick in like a second soo I have my doubts Mar 16 10:33:09 what image are you building Mar 16 10:33:23 your custom image Mar 16 10:33:34 so where you add package, add "php-cli" Mar 16 10:33:34 generic-x86-64 image Mar 16 10:33:51 used the .hddimg file also Mar 16 10:35:45 I defined my packages in my `layer.conf`, how do I do it in the image? Which var? Mar 16 10:36:33 are recommendations for BB_NUMBER_THREADS and PARALLEL_MAKE documented somewhere? Mar 16 10:37:34 joshuagl you should use doubled your cores as number Mar 16 10:37:45 or is the only recommendation increment each by one for each core/thread - as is done in bitbake.conf by using cpu_count ? Mar 16 10:38:01 joshuagl: the ref manual does say twice the number of cores for both Mar 16 10:38:19 thank you zwerch and bluelightning Mar 16 10:38:29 * joshuagl vaguely remembered talk of documenting a recommendation Mar 16 10:39:26 Does anybody know of a program that I can make a BOOTABLE USB stick with the created .IMG file that yocto created? Mar 16 10:39:52 cart_man Which machine and which file did you `dd`? Mar 16 10:40:15 I dd the generic.hddimg file in my images file Mar 16 10:40:44 Also....which Paramter should I use if I want to compile YoCto for i686 processors? Mar 16 10:42:25 zwerch, I mean the genericxxxxx.hddimg file Mar 16 10:42:58 zwerch, The machine is not bootable at the moment so I cant give you the exact file name Mar 16 10:43:59 cart_man, sorry, I don't know the problem, maybe your MACHINE does not fit your machine, which one is it? Mar 16 10:45:07 My CPU is a i686 ... I dont see an exact match so I tried the genericx86-64 but I gues that is not it... it does not do a kernel panick it just keeps on booting with the Alpha sign incrementing every second Mar 16 10:46:10 Thanks so far Crofton|work, I'm gonna try it out Mar 16 10:47:03 Sorry cart_man, my knowledge of the system isn't that deep, just started a few weeks ago. Maybe someone else can help you. Mar 16 10:47:27 no problem thanks Mar 16 10:47:43 Lets hope Mar 16 10:49:14 cart_man, try the non 64 bit one Mar 16 10:49:44 I did already unfortunatally Mar 16 10:49:59 unfortunately` Mar 16 10:57:29 Crofton|work, So I DDed the Genericx86 onto the USB ... and now it says Failed to load ldlinux.c32 Mar 16 10:57:48 I'm no x86 guy Mar 16 10:58:00 but I think i686 is 32 bits Mar 16 10:58:14 Yea im under that impression Mar 16 11:01:57 does not seem to be a Guide on how to do i686 Mar 16 11:14:28 this diff makes sure some flags (such as -mfloat-abi) are not stripped in u-boot build: http://pastie.org/10029961 Mar 16 11:14:32 any comment? Mar 16 11:15:07 hm this is rather #oe material, isn't it? Mar 16 11:49:19 is Yocto 1.8 going to drop support for Linux < 3.7 when using systemd? https://bugzilla.yoctoproject.org/show_bug.cgi?id=7409 Mar 16 11:49:21 Bug 7409: normal, Medium, 1.8 M4, randy.e.witt, NEW , systemd requires Linux 3.7 or later Mar 16 11:52:34 Net147: that is a good point, thanks for highlighting it... Mar 16 11:53:12 I wonder if khem realised that when he did the upgrade Mar 16 12:06:10 Does anybody know what Yocto build will be compatable with the i686 Intel CPU's ???????? Mar 16 12:06:43 how do you guys add layers to you poky tree? git submodules, self-written scripts, repo? Mar 16 12:09:30 tasslehoff: I think people use different approaches... I tend to keep separate repos, but then I probably don't have the same kind of requirements you do Mar 16 12:11:39 bluelightning: maybe. I want to add 3 meta-layers inside ~/poky, and would like a convenient way to manage them. I think perhaps I'll try repo. Mar 16 12:15:21 How long does it usually take to boot Yocto OS ? Mar 16 12:21:40 depends on the features you enable Mar 16 12:22:07 neverpanic, Its a generic minimal build Mar 16 12:22:30 depends on your hardware Mar 16 12:22:33 I really just want it to launch so that I can see that the Required basics work before I go build semothoing Mar 16 12:22:43 can be a couple of seconds on decent enough hardware Mar 16 12:22:45 neverpanic, 1Hz i686CPU with 1Gig ram Mar 16 12:23:00 yea but this just shows Alpha signs on boot Mar 16 12:23:00 1Hz ? :) Mar 16 12:23:05 1Ghz lol Mar 16 12:23:10 sorry Mar 16 13:31:11 any1 can point me in the right direction to make recipies for new ruby-gem files? Mar 16 13:31:18 *packages Mar 16 13:34:03 sujith_h: pong Mar 16 13:34:38 does someone know if there's a bash autocompletion script for bitbake available? Mar 16 13:34:52 jaeckel: it has Mar 16 13:34:57 Sergio has done one Mar 16 13:35:06 jaeckel: http://layers.openembedded.org/layerindex/branch/master/recipes/?q=bash-completion Mar 16 13:35:40 jaeckel: https://github.com/sergioprado/bitbake-bash-completion Mar 16 13:35:56 oh, sorry, you meant the other way around ;) Mar 16 13:36:01 bluelightning: I think jaeckel were looking for bitbake's one Mar 16 13:36:31 we should probably get this added to bitbake itself Mar 16 13:36:35 thanks! Mar 16 13:36:45 yes, it should be added by default Mar 16 13:40:47 <_4urele_> jaeckel, thanks for the question I love it! Mar 16 13:47:19 tomz: does wic allows for the filename to be specified in the command line? Mar 16 13:47:26 abelloni: ^ Mar 16 13:47:53 yeah, it's so awesome Mar 16 13:48:03 finally bitbake is usable Mar 16 13:48:06 ;) Mar 16 13:48:09 jaeckel: ahhahaha Mar 16 13:48:33 jaeckel: so please improve it and later we can try to get it in for default Mar 16 13:48:36 otavio: the wks file you mean? Mar 16 13:48:42 bluelightning: no Mar 16 13:48:49 bluelightning: I can use -o for output dir Mar 16 13:48:59 otavio: does it have problems? Mar 16 13:48:59 bluelightning: I am looking for image finalname Mar 16 13:49:16 jaeckel: not that I am aware of but I am sure it can be improved Mar 16 13:50:50 otavio: I suspect wic doesn't have support for that atm Mar 16 13:51:10 bluelightning: ok Mar 16 13:51:24 bluelightning: it should respect the same vars we do for image Mar 16 13:51:29 bluelightning: I will take a look Mar 16 13:53:59 we will use it internally for the next few weeks, if there are problems occurring I'll try to fix and/or report them, and I'll come back to you in let's say 6 weeks? Mar 16 13:57:22 otavio: -o says where to create the image - there isn't anything to give it a name Mar 16 13:57:52 tomz: did you ever hooked the wic call with the image generation? Mar 16 13:58:35 otavio: no, that was a future goal though Mar 16 14:25:53 hi folks, how to report a problem in the wiki? Mar 16 14:26:12 http://www.yoctoproject.org/docs/1.7.1/mega-manual/mega-manual.html Mar 16 14:26:24 the minimal ubuntu package to be installed is missing "lzop" Mar 16 14:26:30 I can't build the kernel without it Mar 16 14:28:10 LocutusOfBorg1: which kernel are you building and have you set KERNEL_IMAGETYPE yourself? Mar 16 14:31:41 hi Mar 16 14:32:02 I am trying to have boot animation using psplash Mar 16 14:32:21 CAn anyone help me out in how to display multiple images at 30 fps Mar 16 14:32:35 so as to get an animation effect Mar 16 14:33:18 <_4urele_> bryan, did you looked at the source code? Mar 16 14:34:33 <_4urele_> bryan, as far as I saw it is very simple not designed for animation such as you are looking for... (maybe it is a misstake from me) Mar 16 14:37:04 that's correct, psplash is a pretty trivial piece of software, it's for static images only Mar 16 14:43:16 yes i am able to chnage static images Mar 16 14:43:40 i was trying to get the effect that we get while doing android boot up Mar 16 14:43:54 there they use multiple images and display at 30 fps Mar 16 14:44:10 i tried doing teh same but was only able to display the last image Mar 16 14:45:13 it the code it is jusy doing draw rect and then ploting the pixels Mar 16 14:49:58 Is it possible to change the gradient for logo image like the progress bar Mar 16 14:50:07 for psplash images Mar 16 14:54:58 <_4urele_> i'm not sure to understand what you want to do sry, but if it is in runtime, just look at the possible commands : https://github.com/rleitner/psplash/blob/master/psplash.c Mar 16 14:55:28 <_4urele_> bryan it start at line 116 Mar 16 14:56:03 like we do progess bar update can we do the same for logo image? Mar 16 14:56:36 bluelightning, ./conf/machine/enermed.conf:KERNEL_IMAGETYPE = "uImage" Mar 16 14:56:53 and I'm building the beaglebone black kernel standard Mar 16 14:56:57 <_4urele_> bryan, if you develop it sure ;) Mar 16 14:57:03 3.14 I presume Mar 16 14:57:05 :) Mar 16 14:57:27 Can/does bitbake install empty directories from packages? Mar 16 14:57:37 i have made a logo image with welcome and i want that the color of welcome chnages as the progress bar progresses . Is it possible ? Mar 16 14:57:50 LocutusOfBorg1: I guess for earlier versions yes; beaglebone uses zImage by default now Mar 16 14:58:28 <_4urele_> bryan, as it exists today no Mar 16 14:58:33 fishey1: I'm guessing it depends on the behaviour of the package manager being used Mar 16 14:58:44 ok Mar 16 14:58:59 thanks _4urele_ Mar 16 14:59:10 bluelightning, and lzop is missing from the documentation :) Mar 16 14:59:38 LocutusOfBorg1: it depends if the default build is likely to need it, I'm not necessarily convinced that it is as of the current release Mar 16 15:00:05 To do some experimentation I have to add the parse command for trying to chnage? Mar 16 15:00:10 I'm using dizzy, I don't get the question :) Mar 16 15:02:08 <_4urele_> bryan, you can start with this, if you just want to change the color of the text maybe you could take a look on how the text is written and how collor is set Mar 16 15:02:39 <_4urele_> bryan look at what happens when the MSG command is sent Mar 16 15:03:36 morning Mar 16 15:07:33 ok Mar 16 15:12:05 is there a global FILESPATH variable that I can set in build/conf/local.conf? Mar 16 15:12:46 cyclist: why would you want to do that? Mar 16 15:13:35 I've built a layer that has some proprietary source in it, and it's going to 2 different people that probably have their sources in different places Mar 16 15:14:08 I'm sharing the layer on a public server, and I don't want to include their sources Mar 16 15:15:47 * kergoth wonders if MIRRORS/PREMIRRORS would work with a file:// URI Mar 16 15:17:13 could I pass a variable into bitbake using BB_ENV_EXTRAWHITE? Mar 16 15:18:23 then I could do FILESPATHEXTRA_prepend = "${THEIRPATH}" Mar 16 15:18:39 then I could do FILESPATHEXTRA_prepend = "${THEIRPATH}"" Mar 16 15:18:51 oops, add the colon Mar 16 15:19:08 i don't understand the question. BB_ENV_EXTRAWHITE Is used to get vars in from the process environment. if you want to set in local.conf, you can just put that there as is Mar 16 15:19:21 but yes, you can _append/_prepend to recipe variables from local.conf just fine Mar 16 15:19:45 well, instead of using local.conf to do it, will passing in a variable work? Mar 16 15:19:57 I guess that I could just try it Mar 16 15:21:15 I would rather set something in local.conf, but passing in an environment variable would have to do if it's the on;y way Mar 16 15:23:30 otavio: what kind of filename ? Mar 16 15:27:28 cyclist: that really doesn't make any sense. there are *zero* cases where you could use an env var but not use local.conf, so i really don't know wha tyou're talking about. getting vars from the env into the metadata involves adding the var to BB_ENV_EXTRAWHITE, so by definition involves more work than just using local.conf Mar 16 15:27:47 using a separate var rather than FILESPATH is certainly an option, if that's what you're saying Mar 16 15:28:31 Can I modify FILESPATH in local.conf? I couldn't find any documentation on that Mar 16 15:30:00 i just told you, you can append or prepend to any recipe variable from local.conf Mar 16 15:30:05 i didn't exclude FILESPATH from that statement Mar 16 15:30:27 _append and _prepend are lazy operations which are processed at the end of recipe parsing for each recipe Mar 16 15:31:33 ok. got that Mar 16 15:32:14 that's good to know Mar 16 15:38:15 <_4urele_> does someone use smart? Mar 16 15:41:15 that worked great. thanks Mar 16 16:25:30 <_4urele_> I have a build error while do_rootfs, it says : "no package provides /bin/bash" Mar 16 16:26:03 <_4urele_> but as far as i know, busybox provides ash? Mar 16 16:26:42 <_4urele_> I think the problems is in my RDEPENDS but I don't understand How to fix it Mar 16 16:28:42 something installed a shell script with a #!/bin/bash in it, most likely Mar 16 16:29:00 <_4urele_> yep that is true Mar 16 16:29:27 so you'd need RDEPENDS_ += "bash" in its recipe Mar 16 16:29:35 that way bitbake knows bash needs to be built Mar 16 16:29:39 then its package will be available for install Mar 16 16:29:57 <_4urele_> it will pull bash Mar 16 16:30:13 <_4urele_> I have busybox to replace bash Mar 16 16:30:36 the other option is to patch the file to remove the bashisms and #!/bin/bash at the top Mar 16 16:31:11 at the moment if a script starts with #!/bin/bash, that is a big flag that says "I need bash, and nothing else" Mar 16 16:31:12 _4urele_: busybox doesn't replace bash. busybox provides a posix-compliant shell. if the shell script uses bash-specific features, then it needs bash, not busybox sh Mar 16 16:31:17 * kergoth nods at bluelightning Mar 16 16:32:02 <_4urele_> these are my script and just needs a "posix-compliant shell" Mar 16 16:32:19 then they shouldn't be using #!/bin/bash, they should be using #!/bin/sh Mar 16 16:32:38 <_4urele_> kergoth thanks a lot Mar 16 16:33:29 <_4urele_> now I understand why there are scripts with #!/bin/bash and #!/bin/sh... Mar 16 16:44:54 script which ask for /bin/bash and use bashism are atleast honest Mar 16 16:45:15 I have seen script which use it and then call out for /bin/sh Mar 16 16:52:24 yeah, those suck Mar 16 16:54:09 kergoth: actually, FiLESPATH in local.conf didn't work. I can just put the files in fsl-community-bsp/downloads Mar 16 16:54:31 it seemed to work because it was already in downloads Mar 16 17:31:55 abelloni: I want to specify the filename it will end; in fact I want to mimic the one normal images use Mar 16 17:37:04 nope, you'd have to change _full_path of DirectImageCreator Mar 16 17:37:15 in scripts/lib/wic/imager/direct.py Mar 16 17:37:45 abelloni: right but it makes sense to make it to rely on the vars image class also use for it Mar 16 18:05:31 http://pastie.org/10030973 < --- I get this Mar 16 18:05:38 not very helpful an error message Mar 16 18:06:06 I did install that utility Mar 16 18:06:14 It exactly directs you to what you have to do Mar 16 18:06:47 Ok my bad ... I am really dumb Mar 16 18:06:58 I had installed it in the wrong terminal Mar 16 18:07:03 pffffff :( Mar 16 18:07:11 shoot me! Mar 16 18:11:35 Currently 4 running tasks (131 of 1877): Mar 16 18:11:36 0: bison-native-2.7.1-r0 do_configure (pid 13965) Mar 16 18:11:36 1: ncurses-native-5.9-r15.1 do_compile (pid 21409) Mar 16 18:11:36 2: sqlite3-native-3_3.8.6.0-r0 do_compile (pid 29819) Mar 16 18:11:36 3: flex-native-2.5.39-r0 do_configure (pid 4037) Mar 16 18:12:02 is there a way to make it log all that into some defined file ? Mar 16 18:12:12 or is it somwhere already Mar 16 18:15:15 nighty-_: what are you looking to be logged exactly? just the list of tasks executed, or the output of each task? Mar 16 18:15:51 everything that is being done Mar 16 18:15:57 I am used to OpenWRT Mar 16 18:16:03 First time I use yocto Mar 16 18:16:47 you can find the log of tasks executed (and messages printed) in tmp/log/cooker// Mar 16 18:16:55 I should probably digest the whole doc , but you know how this is :) Mar 16 18:17:30 each task's output is logged under "temp" under the workdir for the recipe Mar 16 18:17:46 ok I will go look there Mar 16 18:17:46 to find where that is for a recipe you can run bitbake -e recipename | grep ^T= Mar 16 18:18:27 I am sure yocto is very nice , but at the moment it is very opaque to me :) Mar 16 18:18:34 sorry for the dumb questions :) Mar 16 18:18:42 no problem Mar 16 18:19:51 not sure if this helps, but here's a slightly more detailed overview of the build system: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#closer-look Mar 16 18:30:21 Hey, i'm trying to build a basic image with Hob and not sure how to add recipe to a minimal image anyway. For now i'm stuck in the build package step. No sign of progression and if i get a shell and look a top the 3 main process are python script without cpu activity whatsoever. Anybody got a clue of what i'm missing ? Mar 16 18:41:46 I also tried with native linux builder and i first got into problem because i was using an encrypted fs then after fixing this (aka new user) i get myself into this error for building minimal image: http://paste.debian.net/plain/161593 Mar 16 19:40:16 Crofton|work, zwerch: Did you solve the php weirdness as I can't get it to build either Mar 16 19:40:41 it builds Mar 16 19:40:45 on my pc Mar 16 19:42:42 IMAGE_INSTALL += "..... php" or did you do something else? Mar 16 19:42:53 As i get weird smart packager errors Mar 16 19:44:26 define weird Mar 16 19:45:14 Crofton|work, http://pastebin.com/fDQGLP4J Mar 16 19:45:38 and I can't run smart directly as the environment isn't correct so that throws up a "cant import module smart" Mar 16 19:46:16 The weird thing is that the '/home/nick/yocto-build/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/php/5.4.36-r0/image/usr/bin/php' actually exists :-/ Mar 16 19:52:18 Crofton|work, weird or expected? Mar 16 19:52:50 I do not know anything about smart Mar 16 19:54:45 Nor does any reference site :-/ I'm wondering if it's something to do with the php-5.4.36-r0.0 vs 5.4.36-r0 part. Any ideas welcome Mar 16 20:25:47 php builds fine for me Mar 16 20:25:53 I do not think your problem is there Mar 16 20:37:44 Crofton|work, well I am using the setup from the gumstix guys so perhaps there's something mispackaged/broken. I've raised a ticket but don't have enough depth to know what the RDEPENDS issues and all that are Mar 16 20:50:08 Crofton|work, apparently it was that php isn't standalone. It needed to be a php-cgi or anything returned by bitbake -e php | grep ^FILES_ Mar 16 20:50:21 strange how yours built just fine - I wonder where they deviate Mar 17 00:10:27 denix: poky poke poke Mar 17 00:12:24 nerdboy: hey Mar 17 00:12:36 yo Mar 17 00:13:06 know anything about BoFs for next week? Mar 17 00:14:25 which ones? Mar 17 00:17:59 as in is it too late to start one? is there already bb.org/gsoc one? Mar 17 01:00:12 denix: i only see BoFs on tuesday night Mar 17 01:00:23 looks full-up roomwise... Mar 17 01:25:40 How do I clear the warning about being tainted from a forced run? Mar 17 01:43:41 nerdboy: yeah, I think everything is fully booked Mar 17 01:53:54 tis okay, we have Plan B... **** ENDING LOGGING AT Tue Mar 17 02:59:58 2015