**** BEGIN LOGGING AT Tue Nov 04 03:00:00 2014 Nov 04 08:26:02 good morning Nov 04 09:09:36 morning all Nov 04 09:19:31 hi bluelightning Nov 04 09:19:37 hi mckoan Nov 04 09:19:58 gm bluelightning Nov 04 09:20:02 hi woglinde Nov 04 11:40:04 m Nov 04 13:17:48 hi, can one call a python function from a shell function? ... I need to lock something and I was using a while ! ln -s ....; do trick... but I was told I must use the BB built-in Nov 04 13:18:54 doing something like my_locked_run "$lockfile" "$@" .... and my_locked_run been a python function Nov 04 13:19:17 feels weird to mix both things that way :( Nov 04 13:30:13 are all the '/usr/lib' hardcodes in lsb.bb on purpose or just bad form? Nov 04 16:02:39 is there an OE meeting today? (first Tuesday of the month) Nov 04 16:11:45 tlwoerner: there ought to be one but no announcement's been sent Nov 04 16:14:54 bluelightning: ok, thanks Nov 04 16:18:21 * kergoth tests meta-sourcery/recipe-split with a crosstool-ng toolchain to see how versatile it is Nov 04 16:21:58 is there a way to call a python exported function from a shell function? Nov 04 16:22:33 nope Nov 04 16:22:50 kergoth: thanks Nov 04 16:24:05 mnemoc: you can inject the result of a python function into a shell script by using ${@...} but that's not quite the same thing Nov 04 18:59:45 I'm looking for some help on a cmake recipe that needs to install conf files to /etc. By default the cmake.bbclass installs to /usr/etc what do I need to do in my recipe to fix this? Nov 04 19:09:56 first hit on google answer to that email http://www.cmake.org/pipermail/cmake/2008-April/020834.html Nov 04 19:11:42 or http://gnuradio.org/redmine/issues/492 Nov 04 19:11:43 Yes that's how you make cmake install to /etc but the OE class cmake.bbclass sets -DCMAKE_INSTALL_PREFIX:PATH=${prefix} which is /usr Nov 04 19:12:48 So how do I write my recipe to do the right thing? Nov 04 19:14:23 http://www.cmake.org/pipermail/cmake/2006-September/010994.html Nov 04 19:14:29 patch the cmake stuff Nov 04 19:15:03 patch the cmake stuff? Nov 04 19:16:04 yes Nov 04 19:16:18 are n't you willing to read the links I posted? Nov 04 19:18:21 and one another one Nov 04 19:18:25 http://www.cmake.org/cmake/help/v2.8.5/cmake.html#module:GNUInstallDirs Nov 04 19:18:53 I did read them and I had already read them and I don't understand how they affect the behavior of OE. I could patch CMake all day and the OE class cmake.bbclass would still tell it to install to ${prefix} which is /usr Nov 04 19:19:25 and now the question why did you not find that by yourself Nov 04 19:20:21 I did and it doesn't answer the question of how I tell OE to pas the proper install directory to CMake. Nov 04 19:21:01 did you not bother reading the class? you can see exactly how it goes about passing variables into cmake Nov 04 19:22:49 I have, read the class there is something I"m missing here because I'm new to OE. In the class there the call to CMake with the hardcoded parameter "-DCMAKE_INSTALL_PREFIX:PATH=${prefix}" Nov 04 19:23:34 right, so add the var corresponding to /etc to that Nov 04 19:23:36 trivial Nov 04 19:25:11 Do you mean add an option to EXTRA_OECMAKE to set CMAKE_INSTALL_SYSCONFDIR to /etc or to change prefix? Nov 04 19:25:50 prefix is exactly what it should be Nov 04 19:26:01 just fix sysconfdir to be ${sysconfdir} and call it a day Nov 04 19:34:38 Ok I see, thanks. Nov 04 19:43:52 kergoth if I am to harsh with the people? **** ENDING LOGGING AT Wed Nov 05 03:00:00 2014