**** BEGIN LOGGING AT Fri Oct 18 02:59:58 2013 Oct 18 03:00:00 i ended up building my own graphical image recipes for rpi... Oct 18 03:00:11 for mono? Oct 18 03:00:42 no, just to get a working sato image, and then my own xorg "lite" image Oct 18 03:00:49 ah Oct 18 03:01:03 what i would like, is to get a version of mono/gtk#/x11 running, but im still getting my head around yocto/oe Oct 18 03:01:08 probably need to take smaller steps Oct 18 03:01:25 try copying the mono image to your own layer and include your hw-ip image or whatever the most minimal working image is Oct 18 03:01:53 so far the only image ive gotten to work is core-image-base Oct 18 03:02:54 so add "include core-image-base" to your version of the mono image Oct 18 03:03:05 ok, will do Oct 18 03:03:27 it already includes core-image-sato tho, is that okay to use both? Oct 18 03:06:57 try replacing it Oct 18 03:07:10 since it already didn't work, right? Oct 18 03:07:14 yup Oct 18 03:07:55 you could also add something like this, if it's not already there: Oct 18 03:08:05 IMAGE_FEATURES += "package-management ssh-server-openssh splash x11-base" Oct 18 03:08:16 into my local.conf file? Oct 18 03:08:34 image recipe Oct 18 03:08:38 oh Oct 18 03:09:37 the sato image has x11-base-sato or some such, which pulls in connman Oct 18 03:13:01 hmm Oct 18 03:13:21 so sato inherits core-image Oct 18 03:17:27 my original xorg image only inherited the core-image bbclass Oct 18 03:17:49 recently something changed upstream and it stopped booting Oct 18 03:19:01 i had to fiddle with it and ended up adding the "include rpi-hwup-image.bb" and removing some supposedly valid config options Oct 18 03:19:27 looks like this now: https://github.com/sarnold/meta-raspberrypi/blob/master/recipes-core/images/rpi-xorg-image.bb Oct 18 04:22:31 GusBricker: is it soup yet? Oct 18 04:22:46 lol Oct 18 04:23:34 im taking a step back, and taking baby steps. Oct 18 04:23:44 so creating my own layer, which inherits core-image Oct 18 04:23:57 then ill slowly try introduce extra features Oct 18 04:25:07 that way ill get an understanding of what im actually doing, rather then just diving in to deep! Oct 18 04:25:12 you don't need too much in your ti layer just to try some other stuff Oct 18 04:25:59 as long as the corresponding layers are in your bblayers.conf, you should be able to build it Oct 18 04:26:15 ive just got an image recipe in my layer, that is inheriting core-image, and adding a few extra image features Oct 18 04:27:41 for anything interesting, you need at least an X image with a login manager or a mini_x session config or similar Oct 18 04:29:08 there are xfce and gnome layers, plus a couple of qt layers Oct 18 04:29:15 *of Oct 18 04:29:53 for gtk i would include the gnome stuff but use a different session default Oct 18 04:30:48 openbox/dbus/consolekit or something similar Oct 18 04:32:24 ok Oct 18 04:33:11 how does the inherit command work? its inheriting core-image, but what is core-image? Oct 18 04:33:33 inherit is for bbclasses Oct 18 04:33:41 include is for files Oct 18 04:34:12 require is for a specific file Oct 18 04:34:50 was trying to find a page on the yocto wiki on it, but couldnt Oct 18 09:02:55 rburton: hi ! do you know if the wayland/weston 1.3.0 has been accepted ? Oct 18 09:06:27 morning all Oct 18 09:18:38 I'm trying to use SDKIMAGE_FEATURES to add packages that only should occur in the SDK. Bu I cannot get this working. Probably something I'm doing wrong.. I have added it in local.conf like : SDKIMAGE_FEATURES := " pkgA pkgB" Then running populate_sdk Oct 18 09:23:34 zerus: SDKIMAGE_FEATURES is for adding features, not individual packages Oct 18 09:24:05 zerus: if you want to add a package to the target portion of the SDK you need to add them to TOOLCHAIN_TARGET_TASK Oct 18 09:25:43 bluelightning: Aha OK. That explains it.. SO if I append TOOLCHAIN_TARGET_TASK it will only end up in the SDK and not in the final rootfs? Oct 18 09:26:57 zerus: correct yes Oct 18 09:27:56 bluelightning: thanks. I will give it a try. Oct 18 09:35:38 ok, so I'm trying to set my root password with the extrausers.bbclass Oct 18 09:36:02 however, how I can define what the salt is for shadow in order to generate the hash? Oct 18 09:36:42 it seems to increment by 1 per build, as the salt was 15995 when I generated the hash, but in my new build it is now 15996 Oct 18 09:41:54 ah wait, I may have misunderstood, the salt is included in the password hash; which seems a bit weird but oh well Oct 18 09:42:23 I was under the impression that shadow provided the salt, which all the passwords had to be hashed with in order to work Oct 18 09:46:40 jackmitchell: how are you setting the password within EXTRA_USERS_PARAMS ? Oct 18 09:47:03 EXTRA_USERS_PARAMS = "\ Oct 18 09:47:03 usermod -p '$6$1BBHm9j1$Kq6cRYht.cgAEF9DMZg6x2CmnFuJh6R64awVujE60ghOA9rl5TqmPDTRzXFlJ1gQur6mKUSGBMQuqvOTveLto1' root; \ Oct 18 09:47:03 " Oct 18 09:47:24 it's chaning the shadow file, but I can't log in when I've booted the system Oct 18 09:47:46 I'm giving it another go, with what I think is a correct hash now Oct 18 09:48:12 I would say we probably need to make this easier Oct 18 09:48:21 I honestly concur Oct 18 09:48:34 I've been using OE for a couple of years now and I'm struggling with it Oct 18 09:48:50 just checking, you're adding this root password for local use not via ssh, right? Oct 18 09:48:56 both Oct 18 09:49:11 I want it local and ssh Oct 18 09:49:14 ok, wouldn't it be more secure to use a key for the remote part? Oct 18 09:49:27 bluelightning: it's just a default root password Oct 18 09:49:43 it doesn't need to be secure, just set as a default Oct 18 09:49:53 right, guess it depends on the usage of the device Oct 18 09:50:28 yeah, if the customer wants to change it then they're free to do so, but we need to ship it with something ;) Oct 18 09:52:34 would you mind entering a feature request in bugzilla for a way to set the root password via EXTRA_USERS_PARAMS (presumably in cleartext)? Oct 18 09:53:07 ah damn, it's mushed the $ signs thinking they're variables, do you think an escaping backslash would do it? Oct 18 09:53:14 bluelightning: will do Oct 18 09:53:40 thanks Oct 18 09:53:49 hmm Oct 18 09:54:29 you could try backslashes but I would have thought the ' ' would have stopped that from happening Oct 18 10:01:30 bluelightning: backslashes fixed it Oct 18 10:01:36 https://bugzilla.yoctoproject.org/show_bug.cgi?id=5365 Oct 18 10:01:37 Bug 5365: normal, Undecided, ---, saul.wold, NEW , ability to set root password in cleartext Oct 18 10:07:23 jackmitchell: ok, thanks Oct 18 10:12:44 how do I search bugzilla for 1.6 feature requests Oct 18 10:13:47 elbc: no, because it was still broken in a pure sysvinit configuration. Oct 18 10:13:55 elbc: finally worked out the fix yesterday Oct 18 10:14:01 (and wrote proper systemd units too) Oct 18 10:18:21 Crofton|work: advanced search then just select the 1.6 items in the Target Milestone list, and "enhancement" under importance Oct 18 10:18:48 is there a way to have a list of stored searches? Oct 18 10:18:49 Crofton|work: but note we havent gone through and reassigned the milestone for all bugs yet, that's happening today I think Oct 18 10:19:05 we need to get a master slave prserv in place Oct 18 10:19:07 Crofton|work: absolutely, if you save a search it'll appear in the bottom of the page Oct 18 10:19:17 every page that is Oct 18 10:19:18 I was thinking globally Oct 18 10:19:24 so any idiot can find it Oct 18 10:19:59 typically we accomplish that by using the mediawiki integration, then we can show the search results directly in the wiki Oct 18 10:21:14 e.g. see https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.5_Status Oct 18 10:21:33 we'll be creating a 1.6 page similar to that shortly I would think Oct 18 10:30:37 is there any Yocto way I can make my layer uclibc/eglibc compatibile? For now I use only uclibc and I have things like 'IMAGE_INSTALL += "libiconv"' which will not work for eglibc Oct 18 10:31:09 was wondering if I can make layer in such a way, that uclibc/eglibc switch would be just one-liner Oct 18 10:31:58 I think there is something like IMAGE_INSTALL_pn-uclibc, or similar? Oct 18 10:35:51 maybe this: IMAGE_INSTALL_append_libc-uclibc Oct 18 10:36:42 yes, that Oct 18 10:37:02 but won't library dependencies get libiconv installed for you? Oct 18 10:40:20 to be precise I need uclibc-dev, libiconv-dev etc. Oct 18 10:40:34 installing only uclibc-dev doesn't pull libiconv-dev to the image unfortunately Oct 18 10:44:22 Krz-: you can use libc overrides, e.g. IMAGE_INSTALL_append_libc-uclibc = " libiconv-dev" Oct 18 10:44:57 similarly libc-glibc for eglibc Oct 18 10:45:14 (libc-glibc, not libc_eglibc) Oct 18 10:45:47 bluelightning: ok, that's cool Oct 18 10:46:16 bluelightning: for dev image with eglibc I hope it's enough if I just install eglibc-dev, is that correct? Oct 18 10:46:34 Krz-: I would think so yes Oct 18 10:48:17 iirc we use _linux-gnueabi _linux-uclibceabi as well Oct 18 10:49:59 that'll only work on arm Oct 18 10:50:42 oh, right Oct 18 11:27:51 ok, so I've git another road block. I believe that my password doesn't work as the passwd file still specifes * in the second column, when it should specify 'x' to denote that the password is in the shadow file Oct 18 11:27:57 I added the following Oct 18 11:28:11 ROOTFS_POSTPROCESS_COMMAND += "sed -i 's/*/x/' ${IMAGE_ROOTFS}/etc/passwd ;" Oct 18 11:28:33 that works on a file in my local filesystem, but doesn't do anything to the passwd file in my target rootfs Oct 18 11:29:31 does anyone have any ideas how I can achieve this? Oct 18 11:42:02 ok ROOTFS_POSTPROCESS_COMMAND_append worked Oct 18 11:42:18 maybe something was munging the passwd file after I had changed it, who knows Oct 18 11:43:19 bluelightning: I tried your suggestions with TOOLCHAIN_TARGET_TASK it worked fine. But I want to specify a list of packages with PACKAGE_GROUP_somename = "pkgA pkgB". But TOOLCHAIN_TARGET_TASK Doesn't seems to like this. I then tried to create my "own" feature with: COMPLEMENTARY_GLOB[somename-pkgs] = 'pkgA pkgB', this works fine to get install with SDKIMAGE_FEATURES. But I cannot get this one working with PACKAGE_GROUP either. Any suggesti Oct 18 11:44:24 bluelightning: My problem is with other words to create a "pkglist" (with PACKAGE_GROUP) and get them included only in the SDK. Oct 18 12:20:33 rburton: ok thanks ! Oct 18 12:23:30 bluelightning, Hey. Oct 18 12:23:49 If I wanted to make a repository with all my recipes sometime, and send it to you for a sign-off, what's the best way to go about that? Oct 18 12:24:07 I'd rather avoid pushing something incomplete again. Oct 18 12:27:04 Hello. I'm still fighting to make qte SDK. I have built it using "bitbake meta-toolchain-qte", installed it. And now what? How do I make "hello world" app using it? When I try to compile app using qmake in SDK, I get errors. Oct 18 12:27:35 kbart: did you source the environment file? Oct 18 12:28:07 jackmitchell, yes (environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi) Oct 18 12:28:28 kbart: you'll have to post some error logs to get any more help then Oct 18 12:28:36 in pastebin.com Oct 18 12:28:42 not on irc Oct 18 12:30:27 bluelightning, And frankly I'm embarassigly derp with git, so since you volunteered to check the recipes before I try to commit again I figured I should take you up on it. Oct 18 12:30:49 well, it looks like some environmentals are missing or misconfigured. What would be most helpful is to have some "hello world" example. I can't find any useful information on google. Oct 18 12:31:09 bluelightning, I did read up on rebase -i and such, I'm significantly less derp than last we spoke. Oct 18 12:33:43 :q Oct 18 12:34:21 Stygia: you mean less 'git' ;-) Oct 18 12:34:48 jackmitchell, here it is: http://pastebin.com/KPJP8HZi Oct 18 12:35:25 hm, OE_QMAKE_INCDIR_QT looks suspicious: Oct 18 12:35:27 kb@kb-linux:~/Projects/TestPrj/app$ printenv | grep OE_QMAKE_INCDIR_QT Oct 18 12:35:27 OE_QMAKE_INCDIR_QT=/home/kb/Projects/TestPrj/sdk/qte/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi//usr/include/qtopia Oct 18 12:35:35 see double "//" Oct 18 12:35:41 ndec, What? Oct 18 12:36:18 i am not native english speaker, but i read that 'git' meant stupid/simple... Oct 18 12:36:21 -;) Oct 18 12:36:45 Aah, right! Yes I've heard that. Oct 18 12:36:54 http://www.urbandictionary.com/define.php?term=git Oct 18 12:36:58 Heh, also not a native speaker, I'd have guessed you made a pun on "good". Oct 18 12:37:12 hehe no! Oct 18 12:57:06 zerus: er COMPLEMENTARY_GLOB wouldn't be the right thing for that Oct 18 12:57:30 zerus: if you've defined an image feature via PACKAGE_GROUP then you can add that to SDKIMAGE_FEATURES Oct 18 12:59:03 Stygia: sure, you can push to a github repo if you like Oct 18 13:00:11 bluelightning, Ah alright, I'll do that for our 'public' recipes and link you sometime this weekend. Oct 18 13:00:21 bluelightning, Are you normally on during the weekends? I'll just do it monday otherwise, or later. Oct 18 13:00:50 Stygia: yep I should be around at least partially over the weekend Oct 18 13:02:21 bluelightning, Good, I have so many recipes now I feel bad for not sharing, but a few of them do still need some cleaning up. Oct 18 13:03:36 bluelightning, BTW, do you remember what that variable to pass flags to a configure script when using autotools was? I'd like to use autotools for this recipe but I don't remember, OE_EXTRA something. Oct 18 13:03:44 Stygia: EXTRA_OECONF Oct 18 13:03:51 Stygia: it'll be great to get those in, definitely Oct 18 13:04:09 I can certainly help where needed Oct 18 13:04:22 bluelightning, Ah right, and thanks! I'd do it myself, but I slip up and bother the mailing list, so. Oct 18 13:04:31 You did offer it specifically. ^_^ I wouldn't ask otherwise. Oct 18 13:06:14 ndec: just for completeness "git" is a British-ism and not used very much in North America. in fact in NA "git" is more likely to be assumed to be an American-ization of "get" (i.e. git 'er done) Oct 18 13:06:40 http://www.urbandictionary.com/define.php?term=git%20er%20done Oct 18 13:10:47 so many cultures, so little time Oct 18 13:15:18 bluelightning: I tried add my PACKAGE_GROUP to SDKIMAGE_FEATURES without success. When reading the code (image.bbclass) it looks like PACKAGE_GROUP is only for IMAGE_FEATURES. Oct 18 13:20:05 zerus: ah, right Oct 18 13:20:29 zerus: as a workaround I would suggest creating a packagegroup recipe that pulls in the packages you want to group together and then add that to TOOLCHAIN_TARGET_TASK Oct 18 13:20:40 Stygia: sure, no problem Oct 18 13:21:23 tlwoerner: or perhaps a Southernism for "get lost" ;) Oct 18 13:22:33 bluelightning: yes, i was considering adding that too :-) like if there's a stray dog around that's making you nervous :-) Oct 18 13:23:25 bluelightning: Yeah, that should work. Will try that. Do you think it could be of interest (in mainline yocto) if I try implementing PACKAGE_GROUP support for SDKIMAGE? Thanks for your time. Oct 18 13:24:06 zerus: yes, ideally those should work together Oct 18 14:55:29 can I do 'do_install' step in image recipe? Oct 18 14:55:44 I need to add one file: /etc/modprobe.d/modules.conf Oct 18 14:55:58 with dependencies on modules loading order Oct 18 14:56:30 or maybe: ROOTFS_POSTPROCESS_COMMAND is way to go? Oct 18 15:01:25 Krz-: that is probably easier since I think it wipes the directory as the first step Oct 18 15:02:21 RP: ROOTFS_POSTPROCESS_COMMAND easier ? Oct 18 15:43:57 elbc: you might be interested to know i have h264 hardware decoding through gstreamer on weston Oct 18 16:11:01 rburton: excellent ! Oct 18 16:11:51 I have to quit, but let me know how to make it work see you on monday I hope Oct 18 16:33:19 you know, i had no idea how useful bitbake-whatchanged is, until a couple days ago Oct 18 16:33:23 * kergoth yawns Oct 18 19:55:09 * pidge pushes the big red 1.5 release button Oct 18 19:56:07 +1 Oct 18 19:57:01 if you build off master it's been poky 1.5 for a while now... Oct 18 19:57:35 always a good milestone when you kick it out the door for real Oct 18 20:05:00 woo Oct 18 20:05:06 grats all around Oct 18 21:29:23 where would be the right place to set IMAGE_FSTYPES for my project? Oct 18 22:09:07 BCMM: typically in local.conf Oct 18 22:09:34 mr_science: will override other settings? Oct 18 22:09:44 i mean, other stuff that sets that var Oct 18 22:10:07 not sure, probably depends on where Oct 18 22:10:16 it's in conf/machine/raspberrypi.conf in the rpi BSP Oct 18 22:10:37 i believe local.conf should override that Oct 18 22:11:43 at least that's what the readme clams: Override IMAGE_FSTYPES in local.conf Oct 18 22:12:31 *claims even Oct 18 22:19:47 mr_science: readme for what? Oct 18 22:19:51 mr_science: also, thanks a lot! Oct 18 22:20:06 readme for the rpi layer Oct 18 22:28:12 thanks, i must have looked right past that because i wasn't trying for compression Oct 18 22:45:27 BCMM: which rpi-layer are you trying to build from? Oct 18 22:46:00 the upstream one doesn't have any useful images in it Oct 18 22:46:18 just hw-up and rpi-basic i think Oct 18 22:47:53 i just use the "normal" sdimg output Oct 18 22:48:05 can always compress later to save space Oct 18 23:10:02 mr_science: i've been using this one https://github.com/djwillis/meta-raspberrypi - there's another one? Oct 18 23:11:00 i don't actually want to use any built-in image type - i'm trying to produce a directory or archive containing the bootfiles including an initramfs (which is my only rootfs) Oct 18 23:13:17 (but to start with i think i'll just use the files i already have on the sdcard and just build a cpio image fstype) Oct 18 23:21:26 according to github there are 30-some forks of the djwillis layer, including mine... Oct 18 23:21:53 but i haven't played with initramfs on rpi yet Oct 18 23:22:39 i was just going to say, if you want to try a more complete image, i have an rpi-xorg image and a couple of console ones Oct 18 23:23:16 haven't played with the console ones much lately either Oct 18 23:24:15 looks like i just have the rpi-clutter image, but i did build the normal console-image at one point Oct 18 23:25:10 https://github.com/sarnold/meta-raspberrypi <= if you're interested... **** ENDING LOGGING AT Sat Oct 19 02:59:58 2013