huseyinkozan has quit [Remote host closed the connection]
huseyinkozan has joined #yocto
huseyinkozan_ has joined #yocto
huseyinkozan has quit [Remote host closed the connection]
huseyinkozan_ has quit [Client Quit]
mischief has quit [Quit: WeeChat 4.3.1]
mischief has joined #yocto
mischief has quit [Client Quit]
mischief has joined #yocto
ptsneves has joined #yocto
ptsneves has quit [Ping timeout: 255 seconds]
<qschulz>
howdy
<qschulz>
I've been asked how to "build an SDK with symbols in libraties (e.g. libstdc++)"
<qschulz>
I see that the SDK should already install dbg-pkgs?
Guest89 has joined #yocto
<qschulz>
is that only for target packages maybe and not sysroot?
<qschulz>
does anyone have hints at what to look at?
Guest89 has quit [Client Quit]
mkoniarz has joined #yocto
<mkoniarz>
Hi, how to set root password in rootfs Yocto build? i tried: INHERIT += "extrausers"
<mkoniarz>
EXTRA_USERS_PARAMS = "usermod -p $(openssl passwd -1 <my_password>) root;" but this didn't work, also i tried add custom /etc/shadow in my recipe, but this file is replaced
Fanfwe has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Fanfwe has joined #yocto
eminboydak has quit [Ping timeout: 256 seconds]
Jones42_ has joined #yocto
Jones42__ has joined #yocto
Jones42__ is now known as Jones42
Jones42_ has quit [Ping timeout: 258 seconds]
<ray-san2>
i am curious, what are you guys using for build automatisation? i am playing around with buildbot, but i am not quite happy that piplines in buildbot are defined in the master configuration
jmiehe has joined #yocto
jmiehe has quit [Client Quit]
<qschulz>
ray-san2: the project itself is built with buildbot but I have no experience with those. I've set up Jenkins two years ago but we migrated to GitLab CI/CD about a year ago I think
<qschulz>
Is there a specific question you want to ask?
<ray-san2>
qschulz: no specific question (yet), i am just curious and looking out for maybe better ideas before i invest too much time into buildbot :)
<ray-san2>
was looking also into gitlab, my issue there was, that for getting pipelines there to work, your source code has also to be in the same repo, but i have already a solution for git. but maybe syncing to external repos would be an option
<tgamblin>
ray-san2: I use https://github.com/ohwgiles/laminar for automating a few builds locally. Its appeal is minimalism though, not features
<ray-san2>
tgamblin: thanks for the input, i will look into that
<qschulz>
ray-san2: didn't get "your source code also has to be in the same repo" part
<qschulz>
ray-san2: FWIW, we use kas for setting up everything, they also have containers for building on too-old or too-recent host distributions
<ray-san2>
qschulz: i am using a "git solution" from a different vendor, so all source code and recipes are sitting there. and build jobs are defined in a .gitlab-ci.yml inside of the repo, but as i have said, these files aren't sitting in a gitlab repo.
<ray-san2>
qschulz: i am using also kas, but i had to build my own docker image because i need access to the hosts docker socket during the build of some images, and afaik this doesn't support kas-container or however the script is called
<qschulz>
ray-san2: what prevents you from mirroring the git repo into gitlab just for the CI?
<qschulz>
ray-san2: you can always try to contribute stuff back to kas-container, they are usually open to contribution IIRC
<ray-san2>
qschulz: i guess nothing really, i guess gitlab can do this syncing/mirroring automatically, like gitea and such?
<qschulz>
ray-san2: seems like a pull is a paid feature
<qschulz>
you can always have your own script doing this in a cronjob or have your "git solution" push to that gitlab repo too
<ray-san2>
this may be an option...maybe trigger a sync via a webhook or something like that
xmn has joined #yocto
<ldywicki>
I've tried kas with gitlab ~3 years ago and had it almost working. I managed to get it to the stage where it was running kas itself, without container mainly to avoid complications with docker in docker (dind). I can't remember now if I attempted with kas-container or not. Its sometimes hard to manage all the yaml spaghetti. ;) I found working blueprint with github used by https://github.com/meta-homeassistant/meta-homeassistant
RobertBerger has quit [Remote host closed the connection]
rber|res has quit [Ping timeout: 272 seconds]
eminboydak has joined #yocto
Xagen has joined #yocto
enok has quit [Ping timeout: 258 seconds]
fotte_2 has joined #yocto
<fotte_2>
Hi everyone. I got a question regarding OVERRIDES. From an example I found, i believe that override-chaining is possible like so: 'VAR = "foo"\n VAR:override-one = "foo-one"\n VAR:override-one:override-two = "foo-two"'. When any override (MACHINEOVER... DISTROOVERRI...) now contains "..:append = ":override-two", than my variable will have the value "foo-two", is that right?
goliath has quit [Quit: SIGSEGV]
<qschulz>
fotte_2: only if "any override" also has override-one
<qschulz>
not sure what you're trying to achieve with VAR:override-one:override-two = "foo-two", can you explain?
<qschulz>
or maybe provide a real life example?
Guest92 has quit [Ping timeout: 256 seconds]
dgriego has quit [Quit: Computer going to sleep]
Jones42 has quit [Ping timeout: 248 seconds]
Jones42 has joined #yocto
jmd has joined #yocto
ray-san2 has quit [Remote host closed the connection]
<qschulz>
i made a few mistakes in there (specifically missing/spurious whitespaces IIRC)
<qschulz>
so if something is a bit odd, just ask and i'll check
Kubu_work has quit [Quit: Leaving.]
<khem>
bitbake operators are something ! I did not realize its quite a bit :)
<khem>
100 slides almost
jmiehe has joined #yocto
<qschulz>
khem: and they sadly all have a purpose :(
<khem>
golang's operators fit into single page :)
<qschulz>
khem: though tbf, I write my slides so that nobody needs to attend the talk, so there's a lot there and some slides are present multiple times for...
<qschulz>
introducing....
<qschulz>
...
<qschulz>
suspens!
<khem>
your slides are superb btw.
jmiehe has quit [Client Quit]
<khem>
I am just introspecting w.r.t OE here
amitk_ has joined #yocto
<qschulz>
thanks I really appreciate it
<khem>
guest92: which logs do you want to divert to volatile memory, bitbake's or the resulting app's ?
<Guest92>
khem resulting app
<khem>
qschulz: we need more of this stuff documented and recorded btw.
<khem>
guest92: for that bitbake and OE might not be in picture, you have to tool that in your app
<khem>
volatile memory is /tmp usually on linux systems if they implement File Heirarchy standards for FS layout
<khem>
qschulz:yeah any way that new users can learn from
amitk has quit [Ping timeout: 258 seconds]
<qschulz>
khem: I really have no clue how we could write proper documentation for all the cases. It's something I've wanted to do for a long time but it just doesn't materialize in my head how to do this on paper
<khem>
megamanual is the place but then pick a subtopic and do an explainer
<qschulz>
khem: there was someone who sent on the ML about a sandboxed playground of bitbake, that could maybe help people do some experiments and us provide some examples that people can run from the browser too
<qschulz>
khem: well, most of it should be in the bitbake manual
<qschulz>
which i'm not sure many people are aware of
<mbulut>
curl: (6) Could not resolve host: auth.docker.io
<mischief>
mbulut: network is not allowed, probably
<mbulut>
but how can package sources be fetched when network is not allowed?
Jones42_ has joined #yocto
<mischief>
mbulut: it's allowed on fetch only, i believe :-)
<mbulut>
interesting...
<mbulut>
i added do_compile[network] = "1" to the recipe and not it's able to resolve the host :)
<mbulut>
not = now
<mbulut>
mischief, thx -- it seems like you saved me some hours of sleep
Jones42_ has quit [Ping timeout: 272 seconds]
jmd has quit [Remote host closed the connection]
florian has quit [Ping timeout: 255 seconds]
prabhakalad has quit [Ping timeout: 276 seconds]
<mischief>
mbulut: it's not really a good idea to do that. you now get to keep the broken pieces :-)
Haxxa has quit [Quit: Haxxa flies away.]
<mbulut>
with broken pieces you mean any stuff i download without sideways of the fetcher?
<mbulut>
(ignore the 'without')
Haxxa has joined #yocto
florian has joined #yocto
ptsneves has joined #yocto
prabhakalad has joined #yocto
mbulut has quit [Ping timeout: 264 seconds]
florian has quit [Ping timeout: 276 seconds]
Dracos-Carazza_ has joined #yocto
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<khem>
ideally one would fix the build of the package to move this fetching part to SRC_URI if possible and check if the artifact exists then dont fetch is during do_compile such a patch can be upstreamed too
Dracos-Carazza has quit [Ping timeout: 276 seconds]