**** BEGIN LOGGING AT Thu Jun 01 03:00:02 2017 Jun 01 06:28:25 morning. Jun 01 06:38:08 I've created my own image/machine and have two issues. 1. When I compile the image, u-boot is not built (it is for the image/machine I based my files on). 2. The kernel-image-uimage recipe is empty. Jun 01 07:17:52 tasslehoff: would be better to have a look at your code, but... Jun 01 07:18:04 tasslehoff: in the machine.conf you need EXTRA_IMAGEDEPENDS += "u-boot" Jun 01 07:18:35 tasslehoff: 2. what kernel-image-uimage recipe is? Jun 01 07:19:34 tasslehoff: do you know yocto-bsp command? Jun 01 07:19:56 mckoan: linux-variscite_4.1.15.bb Jun 01 07:21:36 mckoan: stripping var-som-mx6 from PREFERRED_PROVIDER_u-boot_var-som-mx6 and PREFERRED_PROVIDER_virtual/bootloader_var-som-mx6 seems to have made it build u-boot. does that make sense? Jun 01 07:21:47 mckoan: no, I don't know that command. Jun 01 07:22:53 I come from the past. Have been stuck on a HW that only would run Dylan. Jun 01 07:23:08 Things are so much better now :) Jun 01 07:24:00 Oooh. And the hostname of my work pc is Pyro, so I need to run that release :) Jun 01 08:23:13 hm. harder to figure out why the kernel-image/kernel-image-uimage package is empty Jun 01 08:26:08 kernel, kernel-image and kernel-image-uimage are all empty Jun 01 08:26:58 kernel-modules as well, but kernel-modules-*, kernel-dev and kernel-vmlinux are populated Jun 01 08:30:02 tasslehoff: what do you mean with 'kernel-image' ? Jun 01 08:30:49 mckoan: that is one of the rpm's produced by a kernel build Jun 01 08:32:36 tasslehoff: and do you have the kernel binary image in the images directory? Jun 01 08:32:37 mckoan: https://pastebin.com/B6XC1fRL Jun 01 08:32:51 mckoan: yes Jun 01 08:38:00 mckoan: oh h*ll Jun 01 08:38:24 linux-variscite.bbappend has a do_install_append that deletes the image from /boot.... Jun 01 08:39:08 tasslehoff: they are famous for doing weird things ;-) Jun 01 08:39:27 mckoan: hehe. as long as I can figure out what :) Jun 01 08:39:54 If I create a do_install_append. will that override theirs, or will both run? Jun 01 08:40:11 easy to test :) Jun 01 08:40:42 tasslehoff: if your meta-custom has higher priority shoult be taken into account Jun 01 08:41:53 mckoan: it does. thanks Jun 01 09:14:00 mckoan: but both do_install_append functions will be ran? Jun 01 09:16:04 I have to run the "opposite" or comment out this from their do_install_append: rm -rf ${D}/boot/${KERNEL_IMAGETYPE}-${KERNEL_VERSION} || true; Jun 01 09:17:18 yeah, so I have to find an opposite command to put it back, if I do not want to change their layer. Jun 01 09:37:49 sent a pull request to remove the bbappend Jun 01 09:55:54 hmm, cursor keys seem to not work in qemu on wayland Jun 01 09:56:22 wayland (gnome-shell) host, I mean Jun 01 10:00:40 I using SRCREV = "${AUTOREV}" and PV = "3.7.0+git${SRCPV}" what should I put in PREFERRED_VERSION to always build the last commit Jun 01 10:19:09 Hi! What's the supposed way to use USERADD_PACKAGES as part of an image? Jun 01 10:19:58 I moved the USERAD_* stuff from an application's bb to an image's bb with the result being that the functions are not executed :-/ Jun 01 10:22:36 T_UNIX: it specifies the packages that require extra users... logically it belongs to the recipe of the app that needs the users Jun 01 10:24:38 tasslehoff: do you mean that both do_install_append are run? Jun 01 10:37:11 T_UNIX: as jku mentioned, extrausers class should be used at image level: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-classes-extrausers Jun 01 10:37:31 jku: okay. Can I leave the instructions in the image's bb and just set the correct PN value(s)? Jun 01 10:39:10 T_UNIX: for extrausers class usage, please have a look here: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=799 Jun 01 10:39:59 no login free browsing? :-/ Jun 01 10:42:16 T_UNIX: ah, sorry - https://wiki.yoctoproject.org/wiki/Technical_FAQ Jun 01 10:58:45 If I may ask: Jun 01 10:58:57 I do experience following error : https://pastebin.com/40DzbiH4 Jun 01 10:59:08 Maybe somebody had a similar issue? Jun 01 11:15:21 mckoan: yes, seems they accumulate Jun 01 11:15:32 maxin: so I'm supposed to use extrausers class instead of USERADD_ stuff? Jun 01 11:16:12 even to initially add a user? Jun 01 11:18:02 T_UNIX: yes, we need to inherit extrausers, instead of useradd class- https://pastebin.com/ihb4V78L Jun 01 11:20:38 T_UNIX: depending upon the use - in a package recipe( useradd) or in an image (extrausers) Jun 01 13:03:34 hi, does anyone knows the purpose of specifying a patch file and not apply it? e.g. file://foo.patch;apply=no Jun 01 13:07:45 because you'll do something with it later, maybe apply it manually Jun 01 13:15:56 I did inherit core-image and added the stuff I figured I need. My machine works, but I have no networking/eth0. This is a freescale machine. Jun 01 13:16:12 Any obvious packagegroups that I may have forgotten? Jun 01 13:16:56 tasslehoff: connman? Jun 01 13:20:05 rburton: hah. indeed :) Jun 01 13:20:23 wonder what dragged that into fsl-image-qt5 Jun 01 13:36:02 hi, im having some troble with binutils-cross-canadian-arm and gdb-cross-canadian-arm Jun 01 13:50:48 rburton: ok, thanks Jun 01 13:53:06 how can i find which recipe includes a pakage Jun 01 15:14:03 hello! Jun 01 15:14:45 how can I add a layer (BBLAYER) condionated to be using specific release version, i.e. add meta-foo layer if morty Jun 01 15:15:26 i.e. BBLAYERS += meta-foo if morty Jun 01 15:15:47 what's the correct syntax for the above? Jun 01 15:17:26 i wouldn't expect a bblayers.conf to work between versions like that to be honest Jun 01 15:18:14 yeah, would not recommend that approach at all Jun 01 15:24:32 wanted: someone who likes boost Jun 01 15:25:56 What package I need to install for nfsv4 client? Jun 01 15:29:16 DISTRO_FEATURES_append = " nfs" ? Jun 01 15:31:55 rburton: good luck Jun 01 15:32:37 kergoth: worth a go Jun 01 15:33:05 RP: friendly reminder to take a gander at shallow this week :) Jun 01 15:34:45 kergoth: thanks :) Jun 01 15:34:50 kergoth: It is in -next to remind me :) Jun 01 15:35:19 kergoth: equally I'm swamped. In the triage meeting we just talked about rising bug counts and nobody to work on them :( Jun 01 15:36:31 RP: if some company would hire me to chase down bugs, i would happily do it Jun 01 15:40:57 the problem I have is that I get the following error with newer releases: ERROR: Layer 'networking-layer' depends on layer 'meta-python', but this layer is not enabled in your configuration Jun 01 15:42:46 meta-networking has LAYERDEPENDS_networking-layer += "meta-python" Jun 01 15:43:12 if I did not need that in previous releases, in a newer release would be fine to disable as in comment that out? Jun 01 15:44:26 berndhs: being hired solely for that would be nice but its sadly not a priority for most companies :( Jun 01 15:45:00 nanote: presumably its there for a reason. I guess if you disable it, you might find out Jun 01 15:52:23 Hi folks Jun 01 15:52:50 I'm tring to build a yocto image, but today bitbake hang on fetching Jun 01 15:54:04 do you know if there is some issue on yoctoproject server side ? Jun 01 16:00:22 federico__: fetching what Jun 01 16:03:18 @rburton Jun 01 16:03:19 0: eglibc-initial-2.19-r0 do_fetch (pid 55352) 1: openssl-native-1.0.1j-r0 do_fetch (pid 55354) 2: eglibc-2.19-r0 do_fetch (pid 55353) Jun 01 16:03:35 I'm stuck there from hours with no progress Jun 01 16:03:42 they're not fetching from yocto servers Jun 01 16:03:45 I've tried to clean and restart but nothing change Jun 01 16:04:15 some eglibc recipes did a git pull of the repo which is huge, check ps for a wget or git process and check that its still doing stuff Jun 01 16:04:34 (newer releases have progress feedback during fetches, if you're using eglibc then you must have a fairly old release) Jun 01 16:06:05 yes I'm on old daisy Jun 01 16:06:12 but I cannot upgrade Jun 01 16:06:29 we've some dependency Jun 01 16:07:36 what should I check? Jun 01 16:08:38 daisy :o Jun 01 16:17:48 another question I got is that I have a recipe that inherits qt4 stuff, but for newer released version I need to move it to qt5.. is there an equivalent for inherit_morty ? Jun 01 16:23:37 so, for previous release I need 'inherit qt4e', for new release 'inherit cmake_qt5' Jun 01 16:23:54 can I somehow keep both? Jun 01 16:24:47 nanote: that's what git branches are for Jun 01 16:25:23 yes, but I want to keep all in one branch, as development still happens for both releases Jun 01 16:26:20 and? you can't develop on multiple branches? Jun 01 16:26:59 so, for new feature I need to push to new and old branch, instead master? Jun 01 16:27:22 I'd prefer to keep a single master branch, instead old and new Jun 01 16:28:18 it's not generally a good idea to try to support multiple yocto releases with a single branch, I don't think anyone would advocate such a thing Jun 01 16:28:21 but, if there is no other way around it, I guess that's what it is Jun 01 16:28:33 you could certainly hack something, i.e. use inline python to decide which to load Jun 01 16:28:58 ${@'foo' if something else 'bar'} Jun 01 16:29:20 exactly how you want to try to figure out what version of oe-core you're using would be your call, i doubt anyone wants to support such a thing :) Jun 01 16:29:27 how can I check for release version with inline python? Jun 01 16:29:55 I'm not going to encourage this by implementing it for you. it's python, it can do whatever you want it to do Jun 01 16:30:08 ok Jun 01 16:30:19 so you discourage that use Jun 01 16:30:58 not sure why I had in mind that layers should try to keep compatible across releases Jun 01 16:31:38 nanote: making a branch for each yocto release is an established practice everywhere in yocto. I recommend you follow that, develop new features in the master branch, and then backport them to older branches using 'git cherry-pick' or any other way you prefer. Jun 01 16:32:23 thanks for the suggestions Jun 01 16:33:34 In qemu user mode networking (aka slirp), can the guest make outgoing TCP connections? I found existing documentation on that vague and confusing. Jun 01 16:34:02 nanote: The thing is, the differences between branches might be small in most cases, but they diverge more and more. some older recipes won't even parse with current bibake, or vice versa. it's more trouble than it's worth to head down that road, IMO Jun 01 16:34:12 I know about hostfwd, which is for accessing the guest. Works for ssh for me. Jun 01 16:35:48 I've also found guestfwd, but that just connects the guest to a specific program or device, not some IP port on the host. Hmm, the netcat example probably would work. Jun 01 16:35:56 Is there really nothing simpler? Jun 01 16:37:00 kergoth: I see, thanks Jun 01 16:37:06 restrict=on|off seems to imply that there is routing to the outside world. Jun 01 16:37:32 But is the default on or off? Jun 01 16:44:44 Hmm, I guess it should just work, but somehow doesn't for me, Jun 01 16:46:26 Oh, it was working - just my test for it was broken. Thanks for listening ;-} Jun 01 17:58:44 rburton: can you take a look at 11513 Im a little confused, I wrote some comments Jun 01 19:06:45 hi, when i want to use a .scr boot file , i need to set UBOOT_ENV="boot" and UBOOT_ENV_SUFFIX="scr" and the file which mkimage should use to create this boot.scr file is called myboot.txt, From where does bitbake know how this file is called/ Jun 01 19:51:43 23 Jun 01 19:59:41 Which recipe to I modify to patch this file: Jun 01 19:59:41 https://github.com/torvalds/linux/blob/master/drivers/usb/serial/option.c Jun 01 20:00:16 do* Jun 01 20:01:18 I found this: http://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html#applying-patches Jun 01 20:01:33 But it's not quite clear to me how to find the recipe that is in charge of that file Jun 01 20:03:53 ythl: which kernel are you using? Jun 01 20:04:18 krogoth Jun 01 20:04:24 ythl: this is kernel/kernel modules, so some recipe inside meta/recipes-kernel/linux Jun 01 20:04:52 ythl: that is a stable release, not a kernel Jun 01 20:08:16 lsandov: I'm not sure how to tell which kernel poky is going to pull, but when I run it in QEMU it's 4.4.52 Jun 01 20:08:56 ythl: one way to figure out is to boot that machine with runqemu, then type uname -a Jun 01 20:09:16 ythl: sorry, I see what you mean Jun 01 20:09:26 so it is 4.4.X the kernel version Jun 01 20:10:19 So basically I need to make a patch from the 4.4.X option.c and then add it to SRC_URI Jun 01 20:10:42 somewhere in meta/recipes-kernel/linux Jun 01 20:13:45 I'm guessing I need to create linux-yocto_4.4.bbappend Jun 01 20:14:07 ythl: right Jun 01 20:14:33 lsandov: Cool, I'll try it out Jun 01 20:14:37 ythl: one one to figure out the recipe name that needs to be change is by: bitbake -e | grep PREFERRED_PROVIDER_virtual/kerne Jun 01 20:15:08 lsandov: Thanks for your help! Jun 01 22:59:09 hey guys i am new to yocto and the smart package manager and I was wondering if I can ask someone a couple of simple questions Jun 01 23:00:01 in general, for IRC, just post questions and wait a while (like, possibly a day or longer) Jun 01 23:00:10 ah ok Jun 01 23:01:20 I was wondering does anyone know how to use smart package manager to add a channel and install a package I have on the hdd? Jun 02 00:04:56 so i dont have lsusb on my raspi yocot, but it would be good to have it Jun 02 00:05:06 i get the source, try to build it Jun 02 00:05:16 automake 1-15 doesnt work Jun 02 00:08:01 this is major badness, honestly Jun 02 00:11:33 berndhs: add IMAGE_INSTALL += "usbutils" in image bb file Jun 02 00:12:25 image does not have development tools sdk so you cant build it on pi itself Jun 02 00:12:49 its possible to create such an image though Jun 02 00:22:11 khem: building it now, it seems to want to build another image. Can i jsut build the rpm for usbutils? a lot easier to load that on the existing system Jun 02 00:26:49 berndhs: you can Jun 02 00:27:30 berndhs: if you setup a local feedserver which serves the deploy/rpm directly from your build system Jun 02 00:27:45 then you can install the deps automatically Jun 02 00:27:49 if there are any Jun 02 00:28:09 otherwise you have to copy all the dependent rpms to rpi and install them too Jun 02 00:28:17 it shouldnt be that cumbersome Jun 02 00:28:23 if you want to try it out Jun 02 00:28:41 all rpms will be in deploy/rpm directory Jun 02 00:32:51 I tried it with a few of them, but for some things I don't know how to make the rpm Jun 02 00:33:14 a lot i can generate with bitbake, sometimes I don't know what it is called Jun 02 00:34:02 berndhs: just bitbake usbutils Jun 02 00:34:05 i did bitbake chrony, and qt5 stuff directly, then copied the rpms as you say Jun 02 00:34:18 ok so you know the pain then :) Jun 02 00:34:47 yes but it beats re-loading the whole system 2x a day :) Jun 02 00:37:28 berndhs: there is another way which is also seemless I will do a writeup about that over weekend Jun 02 00:37:38 where you setup local feedserver Jun 02 00:39:19 i am having a terrible time trying to get wifi to work, no luck after 2 days Jun 02 00:40:22 and I don't know why the wired internet is working to be honest Jun 02 00:49:16 berndhs: wifi on pi ? **** ENDING LOGGING AT Fri Jun 02 03:00:01 2017