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
Wouter0100 has quit [Ping timeout: 248 seconds]
Perflosopher0387 has quit [Ping timeout: 248 seconds]
gmorell has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
Ch^W has quit [Ping timeout: 248 seconds]
tangofoxtrot has quit [Read error: Connection reset by peer]
Fanfwe has joined #yocto
Ch^W has joined #yocto
jclsn has joined #yocto
tangofoxtrot has joined #yocto
vvn has quit [Quit: WeeChat 4.5.2]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 248 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 248 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 272 seconds]
sakoman has quit [Ping timeout: 260 seconds]
sakoman has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 248 seconds]
ajfriesen1645 has joined #yocto
ajfriesen164 has quit [Ping timeout: 260 seconds]
ajfriesen1645 is now known as ajfriesen164
Daanct12 has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
dgriego has quit [Ping timeout: 265 seconds]
dgriego has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 248 seconds]
savolla has joined #yocto
druppy has joined #yocto
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 265 seconds]
DixitP has joined #yocto
<DixitP> Hi, needs your suggestion. I worked on a bugzilla issue fix, sent out the patch. I got a comment that must have a selftest written for it. I have tried very hard but not able to develop fully working selftest as python is not my primary programming language. what should I do? can I go ahead and have this fix merged(I have tested it fully and it
<DixitP> works) and create another bugzilla issue to write selftest, which someone better than me can take up or I would need someone's help to develop the selftest case. what do you suggest?
frgo has joined #yocto
frgo has quit [Ping timeout: 245 seconds]
ptsneves has joined #yocto
prabhakalad has quit [Ping timeout: 260 seconds]
druppy has quit [Ping timeout: 252 seconds]
dmoseley has quit [Ping timeout: 260 seconds]
dmoseley has joined #yocto
alperak has joined #yocto
<rburton> DixitP: share what you have so far, it might be a easy fix to make the test case work
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
dmoseley_ has joined #yocto
dmoseley has quit [Ping timeout: 248 seconds]
leon-anavi has joined #yocto
frgo has joined #yocto
olani- has joined #yocto
olani- has quit [Remote host closed the connection]
berton has joined #yocto
frgo has quit [Ping timeout: 244 seconds]
olani- has joined #yocto
frgo has joined #yocto
prabhakalad has joined #yocto
frgo has quit [Ping timeout: 272 seconds]
olani- has quit [Ping timeout: 248 seconds]
<DixitP> # SPDX-License-Identifier: MIT
<DixitP> import os
<DixitP> from oeqa.selftest.case import OESelftestTestCase
<DixitP> from oeqa.utils.commands import bitbake, get_bb_var
<DixitP> class KernelSplitAutoloadTest(OESelftestTestCase):
<DixitP>     """
<DixitP>     Tests to verify the effect of KERNEL_SPLIT_MODULES on autoload config file creation
<DixitP>     """
<DixitP>     image = "core-image-minimal"
<DixitP>     autoload_file = "etc/modules-load.d/modules.conf"
<DixitP>     def setUp(self):
<DixitP>         """
<DixitP>         Apply shared configuration for kernel modules and autoload
<DixitP>         """
<DixitP>         super().setUp()
<DixitP>         shared_config = f'''
<DixitP> IMAGE_INSTALL:append = " kernel-module-hello"
<DixitP> KERNEL_MODULE_AUTOLOAD:append = " hello"
<DixitP>                 os.path.exists(autoload_path),
<DixitP>                 f"Autoload config file should NOT exist at {autoload_path} when KERNEL_SPLIT_MODULES is disabled"
<DixitP>             )
<DixitP>     def test_split_modules_enabled(self):
<DixitP>         """
<DixitP>         Test with KERNEL_SPLIT_MODULES enabled — autoload file should exist
<DixitP>         """
<DixitP>         self._run_test_with_split_modules(enable_split=True)
<DixitP>     def test_split_modules_disabled(self):
<DixitP>         """
<DixitP>         Test with KERNEL_SPLIT_MODULES disabled — autoload file should not exist
<DixitP>         """
<DixitP>         self._run_test_with_split_modules(enable_split=False)
<DixitP>     def tearDown(self):
<DixitP>         """
<DixitP>         Clean up all config changes
<DixitP>         """
<DixitP>         self.remove_config()
<DixitP> This is the py testcase I have written to validate KERNEL_SPLIT_MODULES effect. Its in regards to https://bugzilla.yoctoproject.org/show_bug.cgi?id=15145 issue
<DixitP> by default KERNEL_SPLIT_MODULES  = "1".
<DixitP> With that when a kernel module is added as autoload list, the respective conf file will be generated under rootfs /etc/modules.load.d
<DixitP> when KERNEL_SPLIT_MODULES  = "0", We expect the same autoload file to be generated, but its not getting generated - that is whole issue.
<DixitP> With the fix I am proposing, the conf file is getting generated under rootfs /etc/modules.load.d and other locations as required. I want to have that validated via this testcase.
<DixitP> The above snippet is missing the validation part as I am unable to make it work and I cleared that to avoid confusion.
olani- has joined #yocto
<DixitP> I will utilize hello-mod kernel module recipe to test the functionality.
<DixitP> rburton when you get chance, request you to take a look at this patch as well https://lists.yoctoproject.org/g/yocto-patches/topic/109447061#msg859 its been there since a while.
olani- has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #yocto
frgo has quit [Remote host closed the connection]
frgo has joined #yocto
ptsneves has quit [Remote host closed the connection]
dmoseley has joined #yocto
ptsneves has joined #yocto
dmoseley_ has quit [Ping timeout: 245 seconds]
<landgraf> DixitP: use pastebin services forcode snippets
zeemate has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
vthor has quit [Excess Flood]
vthor has joined #yocto
florian has joined #yocto
goliath has joined #yocto
<RP> DixitP: can you pastebin that file somewhere or add to the bugzilla entry and then post a link?
<RP> DixitP: I can't see where _run_test_with_split_modules is defined but it could have been truncated by irc, hard to tell
<DixitP> RP landgraf I think I got it now. I see the tests getting executed. Thank you
<RP> DixitP: in case it helps, the reason we ask for test cases is so that we can try and ensure this problem doesn't happen again
<DixitP> RP I totally get it, I was just stuck in the selftest but luckily it worked with today's trials.
ablu has quit [Ping timeout: 245 seconds]
DixitP has quit [Quit: Client closed]
ablu has joined #yocto
<ak77> hello, I remember there was a mechanism to create files, namely I have readonly fs and have to put symbolic link from /etc/resolv.conf to somewhere
<ak77> how to do that? or should I write custom recipe to put link there
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #yocto
wooosaiiii has quit [Remote host closed the connection]
wooosaiiii has joined #yocto
prabhakalad has quit [Quit: Konversation terminated!]
mbulut has joined #yocto
prabhakalad has joined #yocto
zkrx has quit []
Dvorkin has joined #yocto
<Dvorkin> how can I debug WIC file creation withtout explicitely running the wic from the command line?
cyxae has joined #yocto
zkrx has joined #yocto
zkrx has quit []
mbulut has quit [Read error: Connection reset by peer]
mbulut has joined #yocto
mbulut has quit [Remote host closed the connection]
<tgamblin> What's the right way to configure a layer with its own scripts/ directory so that when you do 'source oe-init-build-env', that layer's scripts directory is included (along with the one in oe-core)?
ptsneves has joined #yocto
<ak77> tgamblin: I don't know, but I have used another script, e.g. my-init-build-env
<tgamblin> ak77: that might be the best approach. I was curious if there was a built-in way assuming TEMPLATECONF is set ahead of time though
Daanct12 has quit [Quit: WeeChat 4.6.3]
<ak77> Dvorkin: you only want to examine created wks file ?
<Dvorkin> ak77, I need to see what commands it run to install the binaries into to the raw area
<rburton> tgamblin: there is no built-in way
<RP> tgamblin: I'm not sure you can do that since it implies parsing the layer, or a lot of shell code to handle BBPATH ordering
<tgamblin> rburton: RP: alright, custom script it is then (we're already sort of using one, just wasn't sure if it was overkill)
<rburton> somewhere i have a little script that does that though...
<rburton> while read -d: DIR; do if [ -d $DIR/scripts ]; then PATH=$PATH:$DIR/scripts fidone < <(bitbake-getvar --value BBPATH)
<rburton> erm sorry, new irc client
zkrx has joined #yocto
ptsneves has quit [Ping timeout: 252 seconds]
<rburton> tgamblin: https://pastebin.com/v8yYcJ51
<rburton> needs to be done after the build tree has been configured but will sweep all layers
<tgamblin> rburton: thanks!
dgriego has quit [Ping timeout: 276 seconds]
dgriego has joined #yocto
Dvorkin has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
dgriego has quit [Read error: Connection reset by peer]
dgriego has joined #yocto
dgriego has quit [Ping timeout: 248 seconds]
dgriego has joined #yocto
zkrx has quit []
zkrx has joined #yocto
ptsneves has joined #yocto
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #yocto
Algotech has quit [Ping timeout: 244 seconds]
josuedhg has joined #yocto
vthor has quit [Excess Flood]
vthor has joined #yocto
leon-anavi has quit [Quit: Leaving]
Algotech has joined #yocto
zeemate has quit [Ping timeout: 248 seconds]
Articulus has quit [Quit: Leaving]
josuedhg has quit [Ping timeout: 240 seconds]
tlwoerner has quit [Ping timeout: 260 seconds]
tlwoerner has joined #yocto
tgamblin_ has joined #yocto
tgamblin has quit [Ping timeout: 245 seconds]
tgamblin_ is now known as tgamblin
SandeepRaju has joined #yocto
<SandeepRaju> RP  Do you know if we have any channel to post questions related to meta-zephyr?
tgamblin_ has joined #yocto
tgamblin has quit [Ping timeout: 265 seconds]
berton has quit [Quit: Connection closed for inactivity]
tgamblin_ is now known as tgamblin
ptsneves has quit [Ping timeout: 276 seconds]
ptsneves has joined #yocto
alperak has quit [Quit: Connection closed for inactivity]
<SandeepRaju> jonmason khem using this tune file https://git.yoctoproject.org/poky/tree/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc I'm seeing some issue with zephyr 32-bit application issues. Does this tune support 32-bit?
<jonmason> SandeepRaju: looks like it's written to be arm64 only, which I think might be wrong (from light googling)
<jonmason> wikipedia says that chip is 32bit
<SandeepRaju> jonmason yes we implemented for 32-bit in zephyr for r52 core. Should I send a patch for this?
<jonmason> SandeepRaju: patches are always good :)
<SandeepRaju> Thanks jonmason I will send the patch in next 1-2 days.
dmoseley has quit [Quit: ZNC 1.9.1 - https://znc.in]
dmoseley has joined #yocto
<RP> SandeepRaju: I'm not sure there is one for that layer unfortunately
zeemate has joined #yocto
zeemate_ has joined #yocto
zeemate_ has quit [Remote host closed the connection]
savolla has quit [Quit: WeeChat 4.6.3]
olani- has joined #yocto
ptsneves has quit [Ping timeout: 245 seconds]
olani- has quit [Ping timeout: 272 seconds]
dmoseley has quit [Quit: ZNC 1.9.1 - https://znc.in]
dmoseley has joined #yocto
<SandeepRaju> Thanks RP It will be good to add one or should we use yocto@lists.yoctoproject.org for meta-zephyr discussion?
<RP> SandeepRaju: I'd use that list
druppy has joined #yocto
<SandeepRaju> Perfect thanks RP
druppy has quit [Ping timeout: 276 seconds]
cyxae has quit [Quit: cyxae]
florian has quit [Ping timeout: 244 seconds]
zeemate has quit [Ping timeout: 268 seconds]