**** BEGIN LOGGING AT Wed Oct 30 02:59:57 2019 Oct 30 08:59:06 I need to set static IP on the wifi connection of my RPi 0W... I have an append to wpa-supplicant recipe which sets SSID and PSK, how to proceed for the static IP? Oct 30 09:06:04 bernardoaraujo: depends on the network connection manager that you are using Oct 30 09:06:47 bernardoaraujo: if its systemd-networkd for example, just add a simple recipe that installs the desired conf files to /etc/systems/net/work (or whatsitcalled, you have to verify the path) Oct 30 09:19:27 LetoThe2nd: thanks for answering... I'm doing a core-image-base build, with the following added to local.conf: Oct 30 09:19:27 DISTRO_FEATURES_append = " wifi systemd" Oct 30 09:19:27 VIRTUAL-RUNTIME_init_manager = "systemd" Oct 30 09:19:27 IMAGE_INSTALL_append = " wpa-supplicant openssh" Oct 30 09:24:09 DISTRO_FEATURES in local.conf... Oct 30 09:24:16 burn with fire Oct 30 09:33:21 hrw: where would you suggest I place it? Oct 30 09:33:34 bernardoaraujo: make a distro of your own Oct 30 09:33:42 bernardoaraujo: if you need DISTRO_FEATURES then you need own distro Oct 30 09:33:56 if you need IMAGE_INSTALL then you need own image recipe Oct 30 09:34:10 bernardoaraujo: i suggest finding a coffee and then spend an hour with my past self: https://www.youtube.com/watch?v=o-8g0TPVVGg Oct 30 09:34:16 VIRTUAL-RUNTIME stuff is probably also distro stuff Oct 30 09:34:33 hrw: this is just a generic systemd distro setup Oct 30 09:34:41 15 years of OE and people do same wrong things Oct 30 09:34:58 hrw: hey at least i am preaching openly to do things right, and i have proof Oct 30 09:35:10 DISTRO/MACHINE FEATURES variables were great add. Oct 30 09:35:43 LetoThe2nd: thanks, I will definitely check that out... Oct 30 09:36:10 bernardoaraujo: so what you need is basically 1) a distro config. 2) an image recipe 3) a paacke recipe that bringst the files Oct 30 09:36:32 those three things together can make about any network config work with systemd-networkd Oct 30 09:41:07 whole new layer Oct 30 09:41:27 ah times when DISTRO="umbaumba" was my virtual example of doing things Oct 30 09:42:50 hrw: yes I'm working on my own layer... the reason I'm placing things on local.conf is to have dirty tests and after things are working, I place each variable on the correct place as a permanent solution Oct 30 09:43:02 LetoThe2nd: ok, let's see if I get it right... I need a recipe to install /etc/systemd/network/wlan0.network with the static IP configs? Oct 30 09:43:43 something along the lines of https://michlstechblog.info/blog/systemd-setup-a-static-ip-address/ Oct 30 09:43:44 ? Oct 30 09:47:18 moment please Oct 30 09:50:17 bernardoaraujo: exactly Oct 30 09:52:28 bernardoaraujo: that would be the 3) step, have a recipe that installs a file like this Oct 30 09:55:34 LetoThe2nd: gotcha... I found an example at meta-allwinner-hx that I guess is exactly what you mean Oct 30 09:55:39 :-) Oct 30 09:55:39 https://gitlab.com/dimtass/meta-allwinner-hx/blob/master/recipes-connectivity/systemd/systemd_%25.bbappend Oct 30 09:55:44 https://gitlab.com/dimtass/meta-allwinner-hx/blob/master/recipes-connectivity/systemd/systemd/wlan0.network Oct 30 09:55:55 except that wlan0.network needs to be adapted Oct 30 09:56:05 bernardoaraujo: thats the lame version, because it injects it into systemd Oct 30 09:56:20 but i guess that it counts for your usecase, yes. Oct 30 09:56:49 LetoThe2nd: lame cause it's a bbappend? Oct 30 09:58:12 bernardoaraujo: because it hijacks the systemd package for something i would say its not meant for. Oct 30 09:58:22 but thats could be subject to discussion Oct 30 09:59:36 LetoThe2nd: hmm yeah I see your point... anyways, thanks a lot for putting me in the right direction Oct 30 09:59:48 any chance you Oct 30 10:00:03 bernardoaraujo: have fun. feel free to ask more, but i might be AFK so the answer takes time Oct 30 10:00:11 any chance you're in Lyon for the summit tomorrow? Oct 30 10:00:26 bernardoaraujo: and be sure to watch the video, it hopefully explains a lot Oct 30 10:00:37 bernardoaraujo: yes, i will be (and already am) Oct 30 10:01:30 LetoThe2nd: see you there then... I'll present IOTA on Friday Oct 30 10:02:33 bernardoaraujo: ah, great! i'm not even speaking, just an ordinary attendee :) Oct 30 10:05:50 LetoThe2nd: nice! we want to do some interactive stuff for the "hackathon" track... a lot of last-minute adjustments however, not sure how far we'll get hehe... anyways, I'm excited! hopefully we'll bump into eachother tomorrow... thanks again for the help Oct 30 10:06:49 bernardoaraujo: sure, feel free to poke me. i'm the bearded guy with cowboy boots and metal shirt. always. Oct 30 10:07:39 LetoThe2nd: hahah yeah I'll use the video as reference Oct 30 10:08:06 bernardoaraujo: do own recipe for wlan0.network. Oct 30 10:12:14 hrw: yeah Josef said the same... would you say just a simple new recipe with SRC_URI="file://wlan0.network" and do_install()? Oct 30 10:12:22 yep Oct 30 10:12:55 hrw: cool, thanks!! Oct 30 10:13:15 bernardoaraujo: just do it as machine specific package Oct 30 10:36:19 gotta take off... thanks again hrw and LetoThe2nd Oct 30 10:36:31 yw Oct 30 10:36:47 have fun Oct 30 10:48:35 hey folks, I am creating a bitbake tianocore/edk2 recipe for arm64 and I am coming across some weirdness and was just wondering if anyone else has seen this issue (and resolved it): Oct 30 10:49:42 edksetup.sh (the prebuild set up script that bundles with edk2) relies on bash, and you are expected to source the file, but when I do so from within my bitbake recipe do_configure, I get a "file not found" on a file that clearly exists (if I ls the path that causes the error the file is there). I also made sure that my system shell is set to bash Oct 30 10:49:42 not dash Oct 30 10:50:48 I suspect this has nothing to do with bitbake, but wanted to check if anyone else had come across anything similar here Oct 30 10:51:40 nariman: not heard of it in either #oe nor #yocto. so its probably a problem caused by their script magic Oct 30 10:52:34 LetoThe2nd: thanks for the reply, yeah I was hitting a bit of a brick wall so thought I would ask, was a long shot really! cheers Oct 30 10:53:08 nariman: might as well be related to some dirty hacks in the recipe, if its only that one that fails Oct 30 10:54:03 LetoThe2nd: Given that I am facerolling my keyboard in writing this recipe, I may well be to blame, but it's so stripped back I can't see anything that would cause this, likely it's some omission on my part Oct 30 10:54:28 nariman: facerolling? pics or it didn't happen! Oct 30 17:48:31 nariman: edk is *very special*, the ovmf recipe in oe-core should be helpful Oct 30 17:52:58 rburton: it sure is Special :), I am used to working with edk2 but appreciate there is a learning curve here. I looked at the oe-core recipe for reference, I will look again, I suspect my issue is hidden in the output of env as referring to the file by absolute path (even though it's clearly in the right directory at the start of do_compile as per Oct 30 17:52:59 the -v output) fixes it. I then encounter an issue with bc not being in the path but that's a second order issue Oct 30 17:53:05 rburton: thanks for the tip! **** ENDING LOGGING AT Thu Oct 31 02:59:58 2019