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
vvmeson has quit [Read error: Connection reset by peer]
vvmeson has joined #yocto
cavejohnson has quit [Ping timeout: 272 seconds]
amitk_ has quit [Ping timeout: 246 seconds]
cavejohnson has joined #yocto
vvmeson is now known as vmeson
tgamblin has quit [Ping timeout: 246 seconds]
starblue3 has quit [Ping timeout: 264 seconds]
starblue3 has joined #yocto
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
LocutusOfBorg has quit [Ping timeout: 246 seconds]
kscherer has quit [Quit: Konversation terminated!]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
cavejohnson has quit [Ping timeout: 272 seconds]
cavejohnson has joined #yocto
nemik has quit [Ping timeout: 272 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 245 seconds]
nemik has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
Minvera has quit [Ping timeout: 245 seconds]
cavejohnson has quit [Ping timeout: 272 seconds]
sakoman has quit [Quit: Leaving.]
wooosaiiii has quit [Quit: wooosaiiii]
wooosaiiii has joined #yocto
davidinux has joined #yocto
amitk has joined #yocto
alessioigor has joined #yocto
LocutusOfBorg has joined #yocto
Guest98 has joined #yocto
goliath has joined #yocto
Schlumpf has joined #yocto
rob_w has joined #yocto
frieder has joined #yocto
mckoan|away is now known as mckoan
<mckoan> good morning
<LetoThe2nd> yo dudX
Guest98 has quit [Quit: Client closed]
yannd has joined #yocto
Yash75 has joined #yocto
amitk_ has joined #yocto
Kubu_work has joined #yocto
nemik has quit [Ping timeout: 245 seconds]
rfuentess has joined #yocto
nemik has joined #yocto
leon-anavi has joined #yocto
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
florian__ has joined #yocto
florian__ has quit [Ping timeout: 272 seconds]
amitk_ has quit [Ping timeout: 246 seconds]
JerryM has joined #yocto
gsalazar has joined #yocto
Dracos-Carazza_ has joined #yocto
Dracos-Carazza has quit [Ping timeout: 252 seconds]
xmn has quit [Ping timeout: 246 seconds]
xmn has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
mvlad has joined #yocto
vladest has joined #yocto
nemik has quit [Ping timeout: 245 seconds]
rfuentess has quit [Ping timeout: 272 seconds]
nemik has joined #yocto
alessioigor has quit [Quit: alessioigor]
rfuentess has joined #yocto
alessioigor has joined #yocto
jetm has quit [Quit: ZNC 1.7.2 - https://znc.in]
philmd- has quit [Quit: ZNC 1.7.2 - https://znc.in]
florian__ has joined #yocto
Schlumpf has quit [Quit: Client closed]
olani has quit [Remote host closed the connection]
ptsneves has quit [Ping timeout: 272 seconds]
florian__ has quit [Remote host closed the connection]
jetm- has quit [Quit: ZNC 1.7.2 - https://znc.in]
philmd has quit [Quit: ZNC 1.7.2 - https://znc.in]
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
<RP> In case anyone is interested, https://elisa.tech/event/a-development-environment-for-do-178c-level-d-certified-linux/?hss_channel=tw-1382777181533659138 - an ELISA presentation about Yocto Project by Ch^W later today
jetm has joined #yocto
<LetoThe2nd> RP: thanks for the heads up, will put it out laters
nemik has quit [Ping timeout: 246 seconds]
<RP> LetoThe2nd: thanks
nemik has joined #yocto
philmd has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 240 seconds]
nemik has joined #yocto
jetm has quit [Read error: Connection reset by peer]
philmd has quit [Read error: Connection reset by peer]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
xmn has quit [Quit: ZZZzzz…]
jetm has joined #yocto
davidinux has quit [Quit: WeeChat 3.5]
philmd has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
onkelpit[m] has joined #yocto
<rburton> RP: in next you can drop the opkg patches as the upgrades are "better". Piotr just needs to rebase the opkg one on top to keep the option.
<RP> rburton: I didn't think these were in the upgrades?
<rburton> hm i shall check
<rburton> you're right
<rburton> ignore me
<RP> rburton: I think the patches come in after the release and are due in the next one scheduled for Nov
tgamblin has joined #yocto
brrrm is now known as brrm
rfuentess has quit [Remote host closed the connection]
rfuentess has joined #yocto
<LetoThe2nd> rburton: yup I actually checked that photostream just an hour ago. thats what happens when two old grumpy white dudes try to be like the cool kids.
<rburton> another 700 photos landed overnight or so, i guess that's the lot now
TheOne has joined #yocto
<TheOne> Out of curiosity, besides the yocto experts here, are you experts in other areas as well or have you "only" specialized in this? Trying to understand how it all works as a junior :)
<tgamblin> TheOne: This may not be exactly what you're asking about, but there are many people involved who come from physics and/or materials science backgrounds
jetm- has joined #yocto
Vonter has quit [Ping timeout: 260 seconds]
philmd- has joined #yocto
<LetoThe2nd> random thought - I have a layer with a .templateconf, and its driving me nuts. any way to ignore it?
Vonter has joined #yocto
rob_w has quit [Ping timeout: 250 seconds]
<TheOne> tgamblin thanks for the reply, just wondering if they are an expert in yocto only or also experts in other fields
Minvera has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
philmd has quit [Ping timeout: 250 seconds]
tgamblin has quit [Remote host closed the connection]
jetm has quit [Ping timeout: 272 seconds]
philmd- has quit [Ping timeout: 252 seconds]
jetm- has quit [Ping timeout: 260 seconds]
philmd has joined #yocto
<jonmason> zeddii: The dev-kernel is still at 6.3. Seems weird that it's older than one of the supported kernels. Are you waiting on 6.5 to be released to bump it?
jetm has joined #yocto
rob_w has joined #yocto
jetm- has joined #yocto
tgamblin has joined #yocto
|Xagen has joined #yocto
sotaover3ide is now known as sotaoverride
Xagen has quit [Ping timeout: 245 seconds]
philmd- has joined #yocto
Yash75 has quit [Ping timeout: 246 seconds]
|Xagen has quit [Ping timeout: 272 seconds]
rfuentess has quit [Ping timeout: 240 seconds]
belsirk has joined #yocto
marc1 has quit [Read error: Connection reset by peer]
belsirk is now known as rfuentess
marc1 has joined #yocto
TheOne has quit [Quit: Client closed]
nemik has quit [Ping timeout: 245 seconds]
nemik has joined #yocto
philmd has quit [Quit: ZNC 1.7.2 - https://znc.in]
jetm has quit [Quit: ZNC 1.7.2 - https://znc.in]
nemik has quit [Ping timeout: 272 seconds]
nemik has joined #yocto
rfuentess has quit [Remote host closed the connection]
kscherer has joined #yocto
<jonmason> zeddii: disregard, I was on mickledore, not master
BrianL has joined #yocto
sakoman has joined #yocto
<rburton> poked a bit more at the NVD cve api and had yet another horrific discovery
Xagen has joined #yocto
mckoan is now known as mckoan|away
rob_w has quit [Remote host closed the connection]
GNUmoon2 has joined #yocto
GNUmoon has quit [Ping timeout: 240 seconds]
JerryM has quit [Quit: Konversation terminated!]
xmn has joined #yocto
rfuentess has joined #yocto
Canary has joined #yocto
rfuentess has quit [Read error: Connection reset by peer]
<Canary> I've been having difficulty working with a custom license in a recipe. I cannot figure out how to add the license to the layer and set up the checksum in the recipe. Also, for clarity's sake, I am working with petalinux and not just pure yocto.
<fray> Where is your error, when building the recipe or?
<Canary> I'll get an error that LIC_FILES_CHKSUM points to an invalid file, followed by a path to the build directory where the license file does not exist.
<Canary> My attempt at adding the license includes setting the LICENSE and NO_GENERIC_LICENSE[license name] vars in the recipe (as well as attempting to figure out a path for LIC_FILES_CHKSUM), and adding a LICENSE_PATH to layer.conf.
<fray> ok.. Is the presented path your ${S} location (the source code location for that recipe) or is it the WORKDIR (that is the maind irectory)
<fray> Usually you just set two items:
<fray> LICENSE = "textual-description-of-license"
<fray> LIC_FILES_CHKSUM = "file://<path>;md5=...."
<fray> that's it.
<fray> the error says that the path you specified doesn't exist
goliath has quit [Quit: SIGSEGV]
<rburton> Canary: the hdparm recipe is a good example of a custom license where you can't just use SPDX names in LICENSE
<rburton> as fray says, the relative paths are relative to ${S}
<fray> The LIC_FILES_CHKSUM path will default into the S (source) directory. If you are changing your S value, then you need to adjust the path relative to S
<Canary> I'll take a look at that hdparm recipe.
<fray> So if it's completely custom, and the license is not located within the extracted sources. Often you need to add the licese to the SRC_URI (using the standard format), then the LIC_FILES_CHKSUM will be something like "file://../LICENSE;md5=..."
<fray> (this assumes the S directory is a child of the WORKDIR, since WORKDIR is where the license will be downloaded. Alternatively you can do file://${WORKDIR}/LICENSE;md5=.... (I think that still works, but it's been a while)
<RP> JPEW: that is with the latest runner patches afaik
<JPEW> blerg
<Canary> I think I'm still a bit fuzzy on where exactly the source directory and work directory refer to in relation to the project.
<rburton> Canary: WORKDIR is temp/[arch]/[package]/[version], S defaults to a directory recipe-version/ under that directory.
<Canary> Okay, so they both refer to a location that is created by yocto rather than anything I directly control.
<rburton> yeah absolutely
<Canary> Part of my problem has been getting the license file to get into there in the first place, and it sounds like the solution is to add it to the SRC_URI? I thought I'd tried that, but may have not done it right.
<rburton> ${S} is typically "the root of the source tree"
<rburton> so the license file is _not_ part of the source?
<rburton> first step in that case is tell people distributing the source that it really should include the license file
<rburton> but yeah, if you have the license as a file then add it to SRC_URI and it will appear in WORKDIR too
<Canary> First step is for me to really learn yocto and not do things wrong. This is my first attempt at a recipe, and I'm basically trying to add a firmware file into the project and wanted to do it right by including the license that goes with it.
<fray> IMHO the license should always be listed in the SRC_URI (or part of the source). The SRC_URI can refrence files in a local directory, i.e.: recipes-test/my-recipe/files/LICENSE then your recipe just does SRC_URI = "file://LICENSE"
<fray> (it is possible to point LIC_FILE_CHKSUM outside of the recipe path, but I discourage it with a few VERY minor exceptions.. basically recipes that don't have any source code it may be a valid)
<Canary> Given that this is such a case without any source code, just a firmware file to copy into a location, should I do it another way, or should I just dump that license file into the files directory and add it to the SRC_URI?
<fray> A file is still 'source' in the general sense. So I would have two entries in the SRC_URI, one for the license and one for the configurationf ile.
<fray> a packagegroup would be an example of a recipe without sources. All it does is set dependencies
<Canary> Now also worth asking, but this particular recipe is, as stated, to add firmware. I saw that there used to be an intel-maintained linux-firmware recipe. Is there anything like that under active maintainence that people are recommended to use?
<fray> there are a bunch of firmware recipes still, maybe not in the main repository, but definitely still in places
<fray> 'er.. that is out of date.. sec
<fray> the 'kria-base-fimrware.inc' file has ther eferences to the firmware.. the .bb is what installs them
<fray> (note, the LIC_FILES_CHKSUM in that is a bit suspicious, since it uses the ${WORKDIR} approach, when it probably shouldn't..)
<Canary> okay, that looks like what I should probably be using. Still, I wanted to make sure I figured this license thing out regarless for when I start making real recipes.
leon-anavi has quit [Quit: Leaving]
<tlwoerner> the aarch64 patches being added my meta-arm don't seem to apply error-free to linux-yocto 6.4
<tlwoerner> s/my/by
<tlwoerner> strangely, they aren't being applied to qemuarm64, so maybe nobody has noticed?
<Canary> Does SRC_URI require two separate append operations, and not just adding all files at once?
<Canary> nevermind, forgot to cancel the second new-line character.
<Canary> That was probably what happened yesterday when I am pretty sure I had tried to do it this way.
<Canary> Okay, so now my license is showing up in the build directory tree, but it is in [...]/linux-firmware/1.0-r0/, while LIC_FILES_CHKSUM apparently points to [...]/linux-firmware/1.0-r0/linux-firmware-1.0/
<rburton> set LIC_FILES_CHKSUM to file://${WORKDIR}/mylicensefile
<rburton> relative paths are relative to ${S}
<rburton> because the usual case is "the LICENSE file in the tarball", so file://LICENSE is right
<Canary> ah, yes, okay. Just like in my do_install where I use ${WORKDIR} to reference the firmware file.
<Canary> What about SRC_URI? Should I be using ${WORKDIR} in there, too, or is that different?
<Canary> Wait, no, of course not, that part's already working given the files are being copied into the work directory.
<rburton> right, SRC_URI is either absolute remote URLs (http:...) or relative local file: URLs which are searched for near the recipe itself
goliath has joined #yocto
<rburton> mrybczyn[m]: so the incremental CVE feed doesn't cover CPE changes, and the API for incremental CPE updates is "somewhat verbose" and means yet more API calls. urghhghghghghg.
<rburton> lol
<mrybczyn[m]> rburton: rburton: agh thinking more and more of an mirror
<rburton> I got all excited by cve.org having JSON but eg https://cveawg.mitre.org/api/cve/CVE-2019-1010218 doesn't have machine-readable product/version info either
<rburton> unless this is meant to be machine-readable
<rburton> "version_value": "Upto Version 1.2.103 (Current stable) [fixed: There's no fix yet]"
<rburton> though this CVE is great. the exploit is a link to imgur.com
<mrybczyn[m]> rburton: some new entries have it (from mid 2022 I think). But they didn't backport the data from nvd. At least this is what I understood.
<rburton> interesting
* rburton tries a newer cve
<rburton> "versions": [
<rburton> {
<rburton> "status": "affected",
<rburton> "version": "4b842e4e25b12951fa10dedb4bc16bc47e3b850c",
<rburton> "lessThanOrEqual": "74e19ef0ff8061ef55957c3abd71614ef0f42f47",
<rburton> "versionType": "git"
<rburton> }
<JPEW> RP: The lz4 ptest is close to the edge of timing out. I think maybe that's what happened, but I'll try to figure out why it didn't say so and why the ptest-runner timedout when the old one didn't
<rburton> mrybczyn[m]: *obviously* now for eg cve-2023-0459 nvd and mitre have different version information
<RP> JPEW: some kind of buffer flushing issue?
<JPEW> Possibly
<mrybczyn[m]> rburton: rburton: why have I sais that merge of two databases is fun? Sniff...
frieder has quit [Remote host closed the connection]
alessioigor has quit [Quit: alessioigor]
yannd has quit [Ping timeout: 272 seconds]
Haxxa has quit [Remote host closed the connection]
<Canary> I believe firmware is supposed to be installed into /lib/firmware, but the ${libdir} var gives me /usr/lib. Is there a var I should be using to install to /lib?
<rburton> Canary: linux-firmware uses nonarch_base_libdir
GNUmoon2 has quit [Ping timeout: 240 seconds]
florian_kc has joined #yocto
yannd has joined #yocto
<Canary> Is there a good place to look up things like that? I didn't see it defined in the Variables glossary.
<rburton> bitbake.conf has a big list of all the defined variables
<rburton> it _should_ be in the docs somewhere so feel free to file a bug/patch :)
<fray> meta/conf/documentation.conf lists a ton of the variables.. not everything but a lot of them
<fray> the actual documentation on the Yocto Project wiki has most things as well
GNUmoon2 has joined #yocto
Haxxa has joined #yocto
<fray> also if you use bitbake -e , a lot of the variables you'd see have a '[doc]' listed (from the documentation.conf and elsewhere)
Guest14 has joined #yocto
<Guest14> Hi, I am systemd-networkd to configure the network with yocto. But I run into a problem: https://github.com/systemd/systemd/issues/5625
<Guest14> https://github.com/systemd/systemd/pull/6918 that cannot be simply fixed. (The code where the patch is made is in systemd repository (not systemd-stable)) and the code that I have in HardKnott is really different (kirkstone is also different so I don't know if it fixes the problem or not).
<Guest14> So, my question is: What are the steps to use udhcpc instead of systemd-networkd to configure the network ?
<Guest14> udhcpc need to be run for each interface when an interface is up ?
<Guest14> I have a WiFi STA interface and ethernet interface, I wan't to manage the two interfaces by a DHCP client.
<Guest14> For the WiFi interface, I already have a script that is called when a CONNECTED/DISCONNECTED event appear (using wpa_cli -a /path/to/script). For eth0 I don't know if there is something like this.
<JPEW> RP: Figured it out. Bad assumption on what the timeout meant that I "fixed"
<JPEW> I assumed it was the total test timeout, it's actually how long to wait without seeing input, so a test that prints once a second would run forever
<JPEW> not sure if we actually _want_ that, but fixes incoming soon
florian_kc has quit [Ping timeout: 272 seconds]
gsalazar has quit [Ping timeout: 252 seconds]
BrianL has quit [Quit: Client closed]
florian_kc has joined #yocto
nemik has quit [Ping timeout: 240 seconds]
nemik has joined #yocto
florian_kc has quit [Ping timeout: 272 seconds]
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
sakoman has quit [Quit: Leaving.]
alessioigor has joined #yocto
sakoman has joined #yocto
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #yocto
alessioigor has quit [Quit: alessioigor]
<tlwoerner> jonmason: the kernel patches meta-arm adds for aarch64 don't apply cleanly for 6.4 (maybe it's just me?)
florian_kc has joined #yocto
<tlwoerner> when i build with qemuarm64 they aren't added, so you won't see the problem there, but building for a "real" machine seems to hit it (or at least it does for me with meta-rockchip)
shimmer__ has joined #yocto
* zeddii warms up the tar
<jonmason> tlwoerner: ues, its a problem
<jonmason> err..yes
<tlwoerner> ah no worries!
<jonmason> I have a patch....
<tlwoerner> i really just wanted to make sure it wasn't just me on meta-rockchip
<jonmason> essentially, they can all be removed
<tlwoerner> sounds great! thanks
<jonmason> its to prevent warnings for defconfig usage
<shimmer__> Anybody know why the OpenEmbedded layer index shits the bed if you switch to branch fido?
<jonmason> only 1 is needed on 6.4 now
<jonmason> shimmer__: because it's ancient and unsupported
<jonmason> tlwoerner: in the process of moving meta-arm back to using master
<shimmer__> Ugh, I know, I'm trying to get our build updated to kirkstone but I'm trying to recreate what previous engineers did
<jonmason> shimmer__: are you just trying to build a qemu or something?
<jonmason> in case you needed it, which I'm sure you don't
<tlwoerner> jonmason: :-)
<shimmer__> No, we have a custom board with an NXP imx 6 solo x processor on it. We have an old version of Uboot on our build and I'm trying to update it. To do that I have to get an old Yocto build updated to modern repos. The old build is crashing because it doesn't know where to get mosquitto, and I can't figure it out using the layer index.
<shimmer__> I may have to just scrap it and start over
<jonmason> shimmer__: you might be able to get the old u-boot working in your layer. We hold back legacy versions for BSPs, and its not terrible to do
<jonmason> you might do something like this for all of the recipes from fido, then verify it works, then update
<shimmer__> Well, the goal is to update U-boot. They need to update emmc chips on the board and they need a newer version of uboot to do that
<jonmason> baby steps
<jonmason> get them on a modern build setup, then make it about the legacy versions (my suggestion)
rber|res has quit [Ping timeout: 260 seconds]
<shimmer__> yeah, that seems like the path of least resistance, ok thanks for your help
shimmer__ has quit [Quit: leaving]
<jonmason> you might even be able to use devtool to rebase the patches in u-boot and apply it to the latest version
<jonmason> depending on how invasive they are
Ablu is now known as Ablu__
<vvn> Don't you guys think that we should default TMPDIR to ${TOPDIR}/tmp/${DISTRO}? So that by default one can build any combination of machine/distro without interfering with the built artifacts?
<vvn> RP: ^
Guest14 has quit [Quit: Client closed]
<denix> how can I force runqemu to NOT use system libc? it starts the correct qemu-system-aarch64 from TMPDIR, but trips on /lib64/libc.so.6: version `GLIBC_2.34' not found
goliath has quit [Quit: SIGSEGV]
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #yocto
pabigot has quit [Ping timeout: 246 seconds]
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
florian has quit [Killed (NickServ (GHOST command used by florian_kc!~florian@dynamic-002-244-182-046.2.244.pool.telefonica.de))]
florian_kc is now known as florian
florian_kc has joined #yocto
vladest has quit [Ping timeout: 252 seconds]
pabigot has joined #yocto
mvlad has quit [Remote host closed the connection]
kevinrowland has joined #yocto
kevinrowland has quit [Quit: Client closed]
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RP> vvn: not that many people build multiple distros in parallel and if they do, it is easy to change...
<RP> vvn: people do find deep paths problematic
<fray> I've done it and used to do it fairly regularly. The key was to have a distribution 'tmpdir' (which is generally required for multilibs anyway)
florian has quit [Ping timeout: 272 seconds]
nemik has quit [Ping timeout: 252 seconds]
nemik has joined #yocto
nemik has quit [Ping timeout: 272 seconds]
nemik has joined #yocto
cavejohnson has joined #yocto
Kubu_work has quit [Quit: Leaving.]
Canary has quit [Quit: leaving]
paulg has quit [Read error: Connection reset by peer]
zwelch_ has joined #yocto
zwelch has quit [Read error: Connection reset by peer]
Minvera has quit [Ping timeout: 272 seconds]
florian has joined #yocto
cavejohnson has quit [Ping timeout: 272 seconds]
<RP> JPEW: thanks! patches in testing...
paulg has joined #yocto
<RP> vvn: I sometimes have done ${TOPDIR}/tmp-${DISTRO} too
amitk has quit [Ping timeout: 245 seconds]
kscherer has quit [Quit: Konversation terminated!]
florian has quit [Ping timeout: 272 seconds]