LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
goliath has quit [Quit: SIGSEGV]
florian_kc has quit [Ping timeout: 276 seconds]
chep` has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep` is now known as chep
dankm has quit [Remote host closed the connection]
dankm has joined #yocto
davidinux has quit [Ping timeout: 244 seconds]
<mischief> can someone remind me (again), what's the procedure to request a backport?
<mischief> nothing big, but this doesn't exist in scarthgap https://github.com/yoctoproject/poky/commit/0dfd37f2408cbdb32de5553e30b96efee5798a3b
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
sakoman has quit [Ping timeout: 276 seconds]
sakoman has joined #yocto
Daanct12 has joined #yocto
steelswords94361 has quit [Quit: Ping timeout (120 seconds)]
steelswords94361 has joined #yocto
vthor has quit [Quit: kill -9 $pid]
vthor has joined #yocto
vthor has quit [Changing host]
vthor has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.6.2]
vthor has quit [Quit: kill -9 $pid]
<usvi> good time of the day. we are using a single build for both production and debugging. we have a bbclass file to define some variables. It is included in multiple recipes. now, there is a need to, based on a variable in this bbclass, to include a debug user with a ssh key. how would you approach this?
<usvi> my workmate was tasked with this, but he is doing strange stuff like creating dynamically new bbappend files on the fly to achieve this. I have a feeling this is not the optimal way
<LetoThe2nd> usvi: use two distributions. its that simple.
ablu has quit [Ping timeout: 272 seconds]
ablu has joined #yocto
Daanct12 has joined #yocto
sakman has quit [Quit: Leaving]
<usvi> LetoThe2nd: I guess that is a thing. I was thinking if I could dynamically influence via bbclass variable if we are building "production" or "debug"
<usvi> I guess the question becomes: how do I make a recipe which adds a user with ssh key, password and sudo capabilities?
<usvi> that would be most convenient. to produce ipk which adds user
<usvi> is that even possible?
Daanct12 has quit [Quit: WeeChat 4.6.2]
Chaser has joined #yocto
<khem> usvi: you can add users in image recipe and have separate image recipes if thats the only difference your production vs dev image needs
Daanct12 has joined #yocto
<usvi> khem: that is the only difference
<usvi> oh it can go to .bb
<khem> define two images which technically include same .inc file and one has these users other does not
<khem> yes it can
rob_w has joined #yocto
<usvi> I need to manipulate sudoers file also. any tips for that?
<usvi> one option is of course to just leave the debug user in sudoers file no matter what
<usvi> oh and I need the ssh key conditionally also
<usvi> brb
_whitelogger has joined #yocto
Guest36 has joined #yocto
sakman has joined #yocto
Guest36 has quit [Client Quit]
<rber|res> @usvi: You might introduce "image modes" and like that you can avoid building different distros. e.g. https://gitlab.com/meta-layers/meta-resy-secure-distro/-/blob/master/classes/image-mode.bbclass?ref_type=heads
leon-anavi has joined #yocto
_whitelogger has joined #yocto
<usvi> khem rber|res : thank you. I will consider everything you said
zeemate has joined #yocto
mckoan|away is now known as mckoan
<mischief> we use two different images for production and debug, fwiw.
_whitelogger has joined #yocto
ptsneves has joined #yocto
florian_kc has joined #yocto
yannd has quit [Remote host closed the connection]
khem has quit [Quit: WeeChat 4.6.2]
khem has joined #yocto
eduter has joined #yocto
<philipl_> quick question as i'm not familiar with the project's merge process: when do things get merged from bitbake's master-next to master (i'm particularly interested about my current pending changes https://git.openembedded.org/bitbake/commit/?h=master-next&id=2a8722ddd155596862029f6ea34e1e92c77e0b7f). i'd like to use this series as a base for the discussed follow up change to assume lfs=0 by default
eduter58 has joined #yocto
eduter has quit [Ping timeout: 240 seconds]
ptsneves has quit [Quit: ptsneves]
ptsneves has joined #yocto
eduter58 has quit [Ping timeout: 240 seconds]
MarcWeDLM has joined #yocto
berton has joined #yocto
ptsneves has quit [Read error: Connection reset by peer]
florian_kc has quit [Ping timeout: 248 seconds]
enok has joined #yocto
enok has quit [Quit: enok]
enok has joined #yocto
enok has quit [Read error: Connection reset by peer]
enok has joined #yocto
enok has quit [Client Quit]
enok has joined #yocto
enok has quit [Client Quit]
enok has joined #yocto
enok has quit [Read error: Connection reset by peer]
<qschulz> congrats all on the Walnascar release 🎉
florian_kc has joined #yocto
florian__ has joined #yocto
<rburton> 🍻
<AdrianF> Will there also be a Co located Yocto Summit at https://events.linuxfoundation.org/open-source-summit-europe/features/co-located-events/ ?
<rburton> AdrianF: yes
<AdrianF> rburton: Thanks, I assume one day Thursday, 28 August
<rburton> i believe thats right. LetoThe2nd? ^^^
Chaser has quit [Ping timeout: 252 seconds]
<LetoThe2nd> There will be a YP thing at Amsterdam, yeah. I can try to dig up the date.
mansandersson86 has quit [Quit: The Lounge - https://thelounge.chat]
mansandersson86 has joined #yocto
<RP> philipl_: sorry about the delay on those, this is my fault
<RP> philipl_: there was something I wanted to check and I've not got around to it yet
<philipl_> RP: alright thanks - just wanted to make sure it isn't stuck because of some misunderstand (as i promised to also send out the lfs=0 patches)
<RP> philipl_: I've merged them, thanks and sorry for the delays
<qschulz> is there a way to execute a python BitBake function from a shell task?
<qschulz> (a custom python function in a recipe I mean :)
<qschulz> I know that for the opposite you can do bb.build.exec_func()
<rburton> no
<rburton> you're in a shell script
<rburton> you can do ${@...} to run python at evaluation time, before the shell is called
<qschulz> yup, but thats' not what i'm after sadly :)
<RP> qschulz: the challenge would be how to gain all the python environment info like the datastore from within a shell
<qschulz> but thanks, i'll figure something out (like making the shell task a python task instead :) )
<rburton> qschulz: how would it work? shell functions are literally written to disk and executed with bash.
<RP> I guess tinfoil could connect back in to the server but that would be horribly complex and fragile
<rburton> rewriting the function as python is likely the right thing
<rburton> but yeah, a next-gen tinfoil that would let you connect back to the running cooker and get/set variables would be useful
<qschulz> meh, cannot migrate an IMAGE_CMD function to a python task I guess, seems like it needs to be shell since do_image_<> content is generated by the anonymous python function in image.bbclass
<qschulz> all this to parse a bmap xml file to figure out where the last data block is in a sparse file because balena etcher has lost support for flashing bmap files and I cannot possibly wait to flash 16GB when only ~40MiB needs to be flashed
<qschulz> (yes, I know about bmaptool but we need something that works on all platforms easily, with GUI and balena etcher seems pretty popular)
<rburton> balena can't do bmap anymore? that's sad.
<qschulz> it can, but it fails
MarcWeDLM has quit [Quit: Client closed]