**** BEGIN LOGGING AT Sat Apr 16 02:59:58 2016 Apr 16 08:33:37 hi, I've recently got myself into openembedded, and unfortunately I'm stuck with setting up SRC_URI Apr 16 08:34:22 what I'm trying to achieve, is to copy file from the local host into the working directory and this trivia task seems to be impossible for me :/ Apr 16 08:35:29 lest say I've got file on the local machine in the following location: /home/me/extra/file.xx and I want this file to be copied to the $WORKDIR Apr 16 08:36:44 what I've got is a SRC_URI="file:///home/me/extra/file.xx" and it seems to work, but the file is copied to the $WORKID/home/me/extra/file.xx ... but I'd like it to be in the $WORKDIR/file.xx Apr 16 08:37:05 is it possible to achieve? Apr 16 08:38:24 my second issue is that in the SRC_URI I've got actually a python macro, which outputs the file location, buuuut it doesn't work :/ Apr 16 08:39:24 the macro generates the string file:///home/me/extra/file.xx (I've confirmed this using print()) but bitbake complains that file can not be located Apr 16 08:40:24 my original SRC_URL looks like this: SRC_URL = "${@get_local_file('/file.xx')}" Apr 16 08:41:02 arkq: have you tried adding /home/me/extra/ to FILESEXTRAPATHS? Apr 16 08:41:59 no, because it seems, that when I will set this variable, then evey file will be searched in this path, am I right? Apr 16 08:42:20 but I want only few file to be copied from the external (local host) directory Apr 16 08:42:39 if I'm wrong I will try this right away Apr 16 08:42:47 arkq: you can add this to your recipe: FILESEXTRAPATHS_append := ":/home/me/extra" Apr 16 08:43:21 then SRC_URI += "file://file.xx" Apr 16 08:44:20 OK, I'll try this Apr 16 08:45:46 no guarantees, but I think this should do the trick :) Apr 16 09:04:48 it seems to work, thx a lot! Apr 16 10:43:41 do we support building kernel modules on the device? Apr 16 12:58:44 Crofton|work: sorta, kinda Apr 16 12:59:09 Crofton|work: the kernel-dev package should have all that is needed, but you might need a 'make scripts' step before trying to build modules Apr 16 12:59:31 Crofton|work: and of course a toolchain, perl, openssl and likely u-boot-tools Apr 16 12:59:46 maybe findutils and proper tar Apr 16 12:59:49 heh Apr 16 12:59:57 I hate customers Apr 16 13:00:53 I've been thinking of making dkms work, but it's way down on my TODO Apr 16 13:11:30 I suspect this will not solve any real problems for me, but I suppose for the case I have, I should make an effort to make it build something Apr 16 14:55:54 koen: dkms would be cool Apr 16 14:56:51 Crofton|work: I think there had been attempt to have enough on target to rebuild kernel images Apr 16 14:57:12 you will need on-device SDK as part of image Apr 16 16:50:35 hi Apr 16 16:51:11 question: what's the appropriate way to make sure busybox's getty attaches to an additional serial console (/dev/ttyUSB0) during startup? Apr 16 16:56:07 or, asking more generally, how do I add a program to the OE startup most elegantly? Apr 16 17:01:41 funkylab_: http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-SERIAL_CONSOLES Apr 16 17:03:09 josep: thanks! Awesome. I was digging through busybox.bb and busybox's source code :) Apr 16 17:05:12 funkylab_: you're welcome :) **** ENDING LOGGING AT Sun Apr 17 02:59:58 2016