**** BEGIN LOGGING AT Thu Oct 03 02:59:57 2019 Oct 03 15:56:09 https://blog.3mdeb.com/2019/2019-02-07-kas/ Oct 03 15:58:56 These guys have great points Oct 03 16:02:38 hmm, it's interesting, but seems fairly invasive to the workflow, and has its own limitations. might have to poke at it, though Oct 03 16:08:32 kergoth, Crofton: It's interesting how different groups try to solve the same problem, we made: https://github.com/garmin/pyrex Oct 03 16:11:11 JPEW: i like the transparent docker approaches. fuck development INSIDE the thing, just run bitbake there and don't muck with my setup Oct 03 16:11:22 i hack it with sudo docker run --rm -it --privileged -u "$(id -u):$(id -g)" -v "$resolv:/etc/resolv.conf" -v "$PWD:$PWD" -v "$PWD/..:$PWD/.." -v ~/.ssh:/home/build/.ssh -v "$XDG_CONFIG_HOME/git:/home/build/.config/git" industrial-vm:latest /bin/bash -c "cd \"$PWD\" && env \"PATH=$PATH\" \"BUILDDIR=$BUILDDIR\" \"INDUSTRIAL_SOURCES=$INDUSTRIAL_SOURCES\" \"BB_ENV_EXTRAWHITE=$BB_ENV_EXTRAWHITE\" bitbake \"\$@\"" or equivalent, with manual tweaks. not pretty, Oct 03 16:11:23 but.. Oct 03 16:11:24 kergoth: Exactly Oct 03 16:12:06 We need to collect all this info and have a bext practices list page Oct 03 16:12:24 and say migrate away from repo :) Oct 03 16:12:36 i'm not sure best practices *exist* here, everyone keeps rolling new tools for it :) Oct 03 16:12:55 oe should have had their own back in the beginning before everyone got used to the capabiliteis of their own tooling :) Oct 03 16:13:28 kergoth, the problem is no one has the time to figure that out. Oct 03 16:13:45 So now we need to review what eople do and work ouy the good and bad of each Oct 03 16:13:56 it's nice that there are tools to simlpify the docker based setup now, both kas and pyrex are better than handcrafted shit Oct 03 16:13:58 As I said earlier, we have a very diverse user base Oct 03 16:14:08 yeah, trying to satisfy the workflow needs of everyone is a tough one Oct 03 16:14:12 widely varied needs Oct 03 16:14:16 docker wasn;t invented when OE was invented Oct 03 16:14:29 Even just somewhere that *listed* all the options would be helpful Oct 03 16:14:35 right Oct 03 16:14:39 true, but then tools like kas take on other aspects, not just docker. but yeah, a Docker page in the oe wiki would probably be a good idea Oct 03 16:14:49 there is a wind river created one Oct 03 16:15:02 hmm, sounds like a job for the OE TSC :) Oct 03 16:15:10 I think detailing the pros/cons of each would be helpful, too Oct 03 16:15:15 i've tried using crops, but i did not take to that stuff *at all*, i ended up just using cbrake/oe-build with a wrapper function like the above Oct 03 16:15:15 Crofton: Noted Oct 03 16:15:47 and by that I mean show leadership, not consume huge amounts of your time Oct 03 16:15:52 IMHO, crops is the "I just want to build it to try it out tool". It's not a dev environment Oct 03 16:15:59 * kergoth nods Oct 03 16:16:15 OK I need to fix something for someone who pays me Oct 03 16:16:28 I could starve doing useful stuff like this :( Oct 03 16:16:31 seems like there's 3 key aspects to a more transparent approach: passing env vars in, adding numerous bind volumes, and dealing with uid/gid mapping. Oct 03 16:16:52 heh, i should get back to banging my head on this intractable task myself Oct 03 16:17:21 heh Oct 03 16:17:35 kergton: You should look at how pyrex handles the UID/GID mapping sometime. It's.... interesting :) Oct 03 16:19:27 the one i'm using at the moment just checks if the current uid/gid doesn't match up witht he build user inside and changes it if needed. cheap but gets the job done Oct 03 16:19:37 yeah i'll take a look for sure Oct 03 16:23:35 These would be called Layer Management Systems? Oct 03 16:41:49 Crofton: kas looks like it might do some layer management, but the others (pyrex, CROPS) don't Oct 03 16:49:01 What should i call a wiki page to collect these links? Oct 03 16:58:49 <3 git-revise so much Oct 03 17:20:53 JPEW, how do you describe pyrex? Oct 03 17:22:52 Crofton: Seamless Docker container setup for developing with OpenEmbedded/Yocto Project Oct 03 17:23:07 I *think* most docker users will understand what that means Oct 03 17:23:46 hmm, I am looking for a name for a wiki page :) Oct 03 17:24:35 Docker container build tools? Oct 03 17:24:53 Building in a Docker container? Oct 03 17:28:10 seems like there are two things, handling layes and docker configs Oct 03 17:28:19 :Build management tooling Oct 03 17:28:41 so many visors Oct 03 17:37:26 Crofton: I really need a sunvisor.... I get why the presenters are being blinded, but the light on the audience are annoying Oct 03 17:40:26 ah I see, I am just far enough back to avoid it Oct 03 19:21:38 Please add to this page, then we need to classify better and start listing strengths and weknesses Oct 03 19:21:40 https://www.openembedded.org/wiki/Build_Management_Tooling **** ENDING LOGGING AT Fri Oct 04 03:02:52 2019