**** BEGIN LOGGING AT Thu Jan 21 02:59:57 2021 Jan 21 08:57:52 Hi All, i have a working gRPC 1.34.1 (tested crosscompilation aarch64 and SDK on x86_64). I would to know if someone is using gRPC here? Jan 21 14:40:09 Hi. I am looking for a way to access var flags from bash code, as opposed to d.getVarFlags() from python code Jan 21 14:40:40 For example, I'm trying to set something like DEVICETREE_OVERLAYS[frobnob] = "bootargs frob-can2 soc-crypto" Jan 21 14:41:44 and then for each devicetree loop through the DEVICETREE_OVERLAYS[$devicetree] Jan 21 14:45:12 why not just do it in python? Jan 21 14:47:25 mru: I would need to call back into bash functions to do useful work with said variables. Writing things in python is the backup plan Jan 21 14:47:47 you could use "${@' '.join(d.getVarFlags('VAR'))}" to get a list of the flags Jan 21 14:48:01 or something like that Jan 21 14:48:39 getting the values from shell code might not be so easy Jan 21 14:49:24 hopefully someone will come along and correct me soon Jan 21 14:49:56 meanwhile you can be thankful it isn't java and xml Jan 21 14:50:04 hahaha! Jan 21 14:50:08 True that! Jan 21 14:50:48 I've found teh combination of pythin and shell to be quite useful and easy to work with, despite some confusion as to what's what Jan 21 14:54:12 So, ${@' '.join(d.getVarFlags('VAR'))} gives me a string of keys(e.g "frobnob gezuntheit"). However, given the key from shell code, I don't know how to get the values Jan 21 14:55:37 although It's very tempting to convert everything to python and treat things as a dictionary Jan 21 15:15:55 Well, I'm having issues with python too. With shell code, I can break things down into functions that take arguments. But I can't seem to be able to do that from a recipe Jan 21 15:16:26 python has functions too Jan 21 15:18:36 I tried 'python somefunc() {}', as well as 'python () {def somefunc(): }', but when I try to call ${@somefunc()} i'm getting that 'somefunc' is not defined Jan 21 15:22:58 just use normal python syntax Jan 21 15:23:10 def foo(bar): Jan 21 15:23:40 the special syntax is only for anonymous python code and task functions Jan 21 15:28:10 THings are simplerthan I thought. Thank you! Jan 21 19:33:31 armpit: if I add a rescipe to meta-oe, should that commit add it to the world build? Jan 21 20:06:43 Crofton|cloud: khem has been asking for that now, yes Jan 21 20:07:02 Crofton|cloud: so perhaps add to the appropriate packagegroup Jan 21 20:09:03 hmmm Jan 21 20:10:58 yeah, thanks. I think I've figured it out Jan 21 23:11:52 Crofton|cloud, world build yes.. not to an image so adding it to the appropriate packagegroup would be helpful Jan 21 23:13:03 it si yet anoeht cpp binding for zeromq, so will add next to it Jan 21 23:13:34 k Jan 21 23:14:15 khems been more consistent in expecting new packages being added to the package groups Jan 21 23:15:07 world builds don't catch everything like packaging related issues Jan 21 23:17:06 I should check if their are tests :) Jan 21 23:17:14 trying to learn ptest also Jan 21 23:17:29 that is good in general **** ENDING LOGGING AT Fri Jan 22 02:59:58 2021