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]
davidinux has quit [Ping timeout: 255 seconds]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #yocto
emdevt has joined #yocto
davidinux has joined #yocto
zenstoic has quit [Quit: Connection closed for inactivity]
camus has joined #yocto
ablu has quit [Ping timeout: 255 seconds]
tgamblin_ has joined #yocto
tgamblin has quit [Ping timeout: 260 seconds]
Estrella___ has joined #yocto
ablu has joined #yocto
Estrella_ has quit [Ping timeout: 240 seconds]
jclsn has quit [Ping timeout: 240 seconds]
jclsn has joined #yocto
rsalveti has joined #yocto
Lestat9 has joined #yocto
<Lestat9> Daniel Alan Gabriel - mockingbird hunters assassins' - ghostpeople@gmx.com
Lestat9 has quit [Quit: Leaving]
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #yocto
Allak has joined #yocto
zelgomer has quit [Ping timeout: 252 seconds]
Allak has quit [Remote host closed the connection]
zelgomer has joined #yocto
prabhakarlad has quit [Ping timeout: 245 seconds]
nerdboy has quit [Ping timeout: 255 seconds]
nerdboy has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
Chaser has joined #yocto
joeythesaint has quit [Ping timeout: 258 seconds]
joeythesaint has joined #yocto
zelgomer has quit [Remote host closed the connection]
zelgomer has joined #yocto
rohieb_ has joined #yocto
rohieb has quit [Ping timeout: 272 seconds]
drkhsh has quit [Ping timeout: 272 seconds]
sgw has quit [Ping timeout: 255 seconds]
drkhsh has joined #yocto
amitk has joined #yocto
sgw has joined #yocto
davidinux has quit [Ping timeout: 255 seconds]
davidinux has joined #yocto
rob_w has joined #yocto
OnkelUlla has joined #yocto
jgrossholtz7 has quit [Quit: The Lounge - https://thelounge.chat]
linfax has joined #yocto
jgrossholtz79 has joined #yocto
mckoan|away is now known as mckoan
<mckoan> good morning
goliath has joined #yocto
Chaser has quit [Quit: Chaser]
Chaser has joined #yocto
ajfriesen8473 has quit [Quit: The Lounge - https://thelounge.chat]
ajfriesen8473 has joined #yocto
Chaser has quit [Quit: Chaser]
frieder has joined #yocto
Kubu_work has joined #yocto
vladest has quit [Ping timeout: 260 seconds]
varjag has joined #yocto
xmn has quit [Ping timeout: 272 seconds]
rfuentess has joined #yocto
<LetoThe2nd> yo dudX
alessioigor has joined #yocto
vladest has joined #yocto
vladest has quit [Remote host closed the connection]
rohieb_ is now known as rohieb
vladest has joined #yocto
prabhakarlad has joined #yocto
linfax_ has joined #yocto
zpfvo has joined #yocto
linfax has quit [Read error: Connection reset by peer]
GNUmoon has quit [Ping timeout: 252 seconds]
frieder has quit [Ping timeout: 240 seconds]
redcake has joined #yocto
GNUmoon has joined #yocto
olof has quit [Ping timeout: 255 seconds]
olof has joined #yocto
frieder has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
zpfvo has quit [Ping timeout: 260 seconds]
<PhoenixMage> 'sup Leto
ptsneves has joined #yocto
zpfvo has joined #yocto
redcake has quit [Quit: Quit]
florian_kc has joined #yocto
<qschulz> jclsn: /buffer 11
Rich_1234 has joined #yocto
mbulut has joined #yocto
kanavin_ has quit [Remote host closed the connection]
<ptsneves> Do i understand right that the code in https://git.yoctoproject.org/poky/tree/meta/classes/useradd.bbclass#n125 is redundant because the useradd_sysroot only runs for target recipes and the class sets DEPENDS:append:class-target = " base-files shadow-native shadow-sysroot shadow base-passwd". Is there any case i am missing where the DEPENDS are not honored, like in an image recipe?
kanavin has joined #yocto
zpfvo has quit [Ping timeout: 255 seconds]
zpfvo has joined #yocto
Chaser has joined #yocto
<rburton> PhoenixMage: set the password to a string you assign using python's secret library
<PhoenixMage> rburton: Cheers, I'll look into it
<qschulz> tlwoerner: thanks for the merge of rk3588 support back to kirkstone <3
<PhoenixMage> Damn, that reminds me I need to resend my patch for the rk3568 stuff
<PhoenixMage> tlwoerner: Did you get a chance to test the ethernet with the yocto-dev kernel in master?
<PhoenixMage> Pretty sure the ethernet wont work in the kirkstone unless you run a custom kernel
<PhoenixMage> I havent tested master, all my stuff is kirkstone
amitk_ has joined #yocto
zpfvo has quit [Ping timeout: 264 seconds]
tnovotny has joined #yocto
zpfvo has joined #yocto
florian has joined #yocto
tnovotny_ has joined #yocto
tnovotny has quit [Ping timeout: 252 seconds]
zpfvo has quit [Ping timeout: 252 seconds]
zpfvo has joined #yocto
zpfvo has quit [Ping timeout: 255 seconds]
zpfvo has joined #yocto
amitk_ has quit [Ping timeout: 255 seconds]
zelgomer has quit [Remote host closed the connection]
zelgomer has joined #yocto
mvlad has joined #yocto
otavio has quit [Remote host closed the connection]
otavio has joined #yocto
<Rich_1234> I have a core-image-weston with Chromium. I need to adjust my clock time to access certain pages. I don't have hwclock or timedatectl. Easiest solution? Does Busybox provide things for time adjustment?
frieder has quit [Ping timeout: 272 seconds]
prabhakarlad has quit [Quit: Client closed]
<landgraf> Rich_1234: data?
<landgraf> Rich_1234: date ?
<PhoenixMage> Busybox has a rudementary hwclock I think
frieder has joined #yocto
frieder has quit [Ping timeout: 245 seconds]
rob_w has quit [Remote host closed the connection]
vladest has quit [Quit: vladest]
danlor has joined #yocto
<rburton> kanavin: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3636 promises to be fun if you've not seen it already
<kanavin> rburton, hopefully we can neatly sidestep this by building glib-native as the 'first step' instead of building glib twice
<rburton> i expect that won't be sufficient but you never know
<rburton> shout if you look at it because its on my todo list but i doubt i'll do that today
prabhakarlad has joined #yocto
<Rich_1234> landgraf, yeah date is set to march 9th
<Rich_1234> the actual time I think is fine
<landgraf> Rich_1234: date -s 'Mon Oct 16 15:00:33'
<Rich_1234> landgraf I will give that a go, cheers
frieder has joined #yocto
tgamblin_ is now known as tgamblin
vladest has joined #yocto
tnovotny_ has quit [Quit: Leaving]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
bhstalel has joined #yocto
<Rich_1234> landgraf date did work thanks, just had to do date -s '2023-10-16 ab:xx:xx'
frieder has quit [Ping timeout: 240 seconds]
linfax_ has quit [Ping timeout: 240 seconds]
<danlor> Hi! Has anyone had issues when installing ca-certificates-java into the image? The update-ca-certificates java hook is failing when executing the postinstall (ca-certificates postinstall is being executed before ca-certificates-java). I'm on Kirkstone, but ca-certificates and ca-certificates-java don't seem to have changed since. I've not been able
<danlor> to find anything related to this.
leon-anavi has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
florian has quit [Ping timeout: 252 seconds]
frieder has joined #yocto
goliath has quit [Quit: SIGSEGV]
frieder has quit [Ping timeout: 272 seconds]
rfuentess has quit [Remote host closed the connection]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<jclsn> qschulz: Thx, will have a look
<jclsn> I already sent a request, but I think I forgot to sign off the commit
frieder has joined #yocto
prabhakarlad has quit [Quit: Client closed]
frieder has quit [Remote host closed the connection]
xmn has joined #yocto
mbulut has quit [Ping timeout: 255 seconds]
danlor has quit [Quit: Client closed]
leon-anavi has quit [Quit: Leaving]
danlor has joined #yocto
ptsneves has quit [Ping timeout: 255 seconds]
<danlor> Okey, it only fails when PACKAGE_CLASSES = "package_deb"
florian_kc has quit [Quit: Ex-Chat]
zpfvo has quit [Ping timeout: 258 seconds]
Chocky has joined #yocto
<Chocky> Greetings!
<Chocky> I have a custom fetch setup for a recipe in kirkstone. During the unpack phase, but not in the actual unpack step itself, the contents of my src directory get erased. Trying to track down the code that does this. What am I missing?
mckoan is now known as mckoan|away
<RP> Chocky: base.bbclass do_unpack[cleandirs] = "${@d.getVar('S') if os.path.normpath(d.getVar('S')) != os.path.normpath(d.getVar('WORKDIR')) else os.path.join('${S}', 'patches')}"
danlor has quit [Quit: Client closed]
<Chocky> Ah. That's some funky logic, but thanks.
<RP> Chocky: do_unpack[cleandirs] = "" in your recipe would likely avoid it :)
<Chocky> indeed.
<Chocky> I did OpenWrt for many many years; Yocto still has a lot of weird corners for me.
Chaser has quit [Quit: Chaser]
danlor has joined #yocto
<bhstalel> Chocky Yocto will be your best friend.
* Chocky blames fullstop
<Chocky> well, I doubt that, but I owner many sized hammers.
zpfvo has joined #yocto
danlor has quit [Client Quit]
<RP> Chocky: I am a little curious on where you notice the big differences and if there are things we should be doing differently
<Chocky> Yeah, I don't know. I don't want to start a philosophy way or anything, and in the end they, and Linux are just tools. A boss of my mine many decades ago was Phil Blundell, who founded OpenEmbedded stuff my history with this stuff goes back quite a ways.
bhstalel has quit [Quit: Client closed]
<Chocky> The biggest obvious difference between OpenWrt and Yocto is that the former uses a common staging area, but Yocto puts all the build stuff in a per-recipe build directory. There's pros and cons to each.
<RP> Chocky: Right, I'm not trying to get into the philosophy discussion! :) I do sometimes wonder if we can make things easier in places though so I try and have an open mind. Clearing do_unpack before we start does conceptually make sense as you then start from empty each time
<Chocky> What I can certainly say is that for my co-workers coming to Yocto from non-Linux backgrounds, it's extraordinarily difficult to track down issues. That's partly due to the nature of how cross compiling has to work. I don't have any good answers to that.
<RP> As you say, there are pros and cons to recipe vs common staging areas
<Chocky> I think OpenWrt is fantastic, but it's also understaffed, especially security and things.
<RP> Chocky: I did work with pb_ and miss some of his input...
<RP> and yes, cross compiling is a pain
<Chocky> You may also remember Wookey; someone else I used to work a lot with.
<RP> Chocky: yes, rburton works with him
<Chocky> "Wookey, only one name, and it's the second one"
<rburton> amusingly, the orgchart claims that wookey is known as '.'
<RP> Chocky: there is only one wookey :)
<Chocky> I'd like to see a menuconfig in Yocto (beyond the Linux kernel), but perhaps that's impractical - one of the downsides in OpenWrt is that if you make targets for multiple platforms, they really all need to be identical in term of packages.
bhstalel has joined #yocto
<bhstalel> Why RECIPE_SYSROOT is not in variables documentation ??
<rburton> bhstalel: patches welcome
<Chocky> I'm also seeing Zephyr, which is of course not Linux, but it's taking a lot of cues from Linux build systems.
<rburton> (because variables get added without remembering to update the docs)
<bhstalel> I am thinking to add it, of course, but I thought it was intentional or something
<rburton> nope
zpfvo has quit [Quit: Leaving.]
<RP> Chocky: there are layers to let you build zephyr with YP
<Chocky> I guess you can build anything with anything if you try hard enough. I certainly have at times
<RP> Chocky: whilst we primarily do linux you can build firmware, rt systems and all sorts. It is just code...
<bhstalel> Help me with this, when I send patches and some reviews are done and I need to change something, do I need always to reset the commit and recreate the patch again ?
<bhstalel> Is there a way to tell git to apply the new commit to the latest commit as well and then recreate the patch ?
<rburton> look up git commit --amend
<rburton> or rebase
<rburton> personally i'll have a branch in progress with commits like "do something", "fix", "arghghhg", "OK I HATE COMPUTERS" but when it works i do an interactive rebase and squash/reword the commits to hide the rage
<bhstalel> The issue is, I sent a patch, then I worked on something else, then modifications are needed in old commit,
<Chocky> RP: Yeah, I know. Although sometimes could != should.
<rburton> bhstalel: feature branches and rebasing. one branch per "feature".
<bhstalel> So, I create a branch for each, let's say, patch that I intend to commit
<rburton> well, feature, not patch. if that feature is one patch the fine, but it might be a series of related patches
<bhstalel> Yes, that's what I meant, that will do it
zenstoic has joined #yocto
<Chocky> One other flaw with OpenWrt is that whilst it's possible to add files to the final image, that you have staged externally, it's not possible to remove files unless you hack in some post-processing or something.
PhoenixMage has quit [Ping timeout: 245 seconds]
PhoenixMage has joined #yocto
<fullstop> Chocky: I did nothing wrong!
Kubu_work has quit [Quit: Leaving.]
dmoseley has quit [Quit: ZNC 1.8.2 - https://znc.in]
dmoseley has joined #yocto
bhstalel has quit [Ping timeout: 245 seconds]
Estrella has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Estrella has joined #yocto
Chaser has joined #yocto
PhoenixMage has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 258 seconds]
Vonter has joined #yocto
alimon has quit [Remote host closed the connection]
alimon has joined #yocto
brrm has quit [Ping timeout: 240 seconds]
brrm has joined #yocto
florian has joined #yocto
Minvera has joined #yocto
Guest67 has joined #yocto
<Guest67> hi all.. there was a switch for bitbake that lists the provider for virtual/kernel. I can't seem to remember it and can't find it onine. Just wondering if anyone else remembers
Chaser has quit [Quit: Chaser]
<sudip> Guest67: try "bitbake-getvar PREFERRED_PROVIDER_virtual/kernel"
<Guest67> thanks thats a totally new command I didnt know about
bhstalel has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
<sudip> I am trying to upgrade rpm, with the new version its now using cmake and I can see the configure step is failing to find libm.so. I checked the current v4.18.1 and could not find libm.so in recipe-sysroot-native. is the current rpm build using libm from the host ?
Haxxa has joined #yocto
<sudip> missed saying rpm-native is failing.
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
goliath has joined #yocto
prabhakarlad has joined #yocto
<sudip> The -lm is being mentioned by lua.pc and that also says "libdir=${pcfiledir}/../../../usr/lib" which is "recipe-sysroot-native/usr/lib/" so libm should be here.
<khem> sudip: which version are you upgrading to.
<sudip> 4.19.0
<sudip> but my confusion is with the build of the current version
<khem> it needs it from uninative I guess
sakman has joined #yocto
<sudip> but then shouldn't the path be mentioned in LD_FLAGS ?
<sudip> only reference to uninative I can see is with "dynamic-linker"
<sudip> unless "dynamic-linker" knows the path already.
<khem> what is pcfiledir pointing to ?
<khem> its normal to use libm from host btw.
<khem> this is what I see on my rpm-native 4.18.1
<sudip> hmm. mine is having libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6
* sudip gets back to the logs again.
alessioigor has quit [Quit: alessioigor]
<khem> I guess you are on debian-like system which should be fine
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #yocto
<sudip> yes, on Debian.
bhstalel has quit [Ping timeout: 245 seconds]
jmk1 has quit [Read error: Connection reset by peer]
jclsn has quit [Quit: WeeChat 4.0.5]
jclsn has joined #yocto
jmk1 has joined #yocto
mvlad has quit [Remote host closed the connection]
Guest67 has quit [Quit: Client closed]
<RP> rburton: you sometimes hate things? :)
sakman has quit [Quit: Leaving]
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
<mischief> is it possible to get timing statistics for all tasks in all recipes?
<RP> mischief: have you looked at the buildstats data?
bhstalel has joined #yocto
Vonter has quit [Ping timeout: 272 seconds]
Vonter has joined #yocto
<mischief> RP: ah, forgot about this. thanks!
<mischief> wonder why do many do_configures take forever.
goliath has quit [Quit: SIGSEGV]
bhstalel has quit [Ping timeout: 245 seconds]
Vonter has quit [Ping timeout: 255 seconds]
Vonter has joined #yocto
<RP> mischief: single threaded and the reautoconf is slow
<mischief> isn't there a way to accelerate gnu autoconf somehow?
PhoenixMage has joined #yocto
Minvera has quit [Ping timeout: 240 seconds]
<khem> sometime ago I did some time mesurements, configure tasks took around 20% of total build time for a scratch build
tangofoxtrot has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 260 seconds]
tangofoxtrot has joined #yocto
<mischief> i asked because our builds normally take 10 minute, and thats with sstate
Vonter has joined #yocto
<khem> 10mins to image is fast
<khem> and with sstate there should be less configure tasks executed
<khem> depending on amount of sstate reuse
zenstoic has quit [Quit: Connection closed for inactivity]
florian has quit [Ping timeout: 240 seconds]
<mischief> khem: yes, i'm saying even in the optimal case of the highest possible hit rate for sstate, it still takes 10 minutes :-)