*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 248 seconds) | 00:06 | |
*** reatmon_ <reatmon_!~reatmon@192.91.75.29> has quit IRC (Remote host closed the connection) | 00:10 | |
*** reatmon_ <reatmon_!~reatmon@192.91.75.30> has joined #yocto | 00:11 | |
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto | 00:18 | |
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has quit IRC (Ping timeout: 252 seconds) | 00:49 | |
*** mckoan|away <mckoan|away!~marco@host-95-229-48-41.business.telecomitalia.it> has joined #yocto | 00:57 | |
*** jclsn <jclsn!~jclsn@2a04:4540:6502:9000:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 260 seconds) | 01:08 | |
*** jclsn <jclsn!~jclsn@2a04:4540:6511:4a00:2ce:39ff:fecf:efcd> has joined #yocto | 01:10 | |
*** Guest22 <Guest22!~Guest22@165.225.116.159> has joined #yocto | 01:27 | |
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 276 seconds) | 01:44 | |
*** ablu_ <ablu_!~m-bfyrfh@user/Ablu> has joined #yocto | 01:44 | |
*** Guest22 <Guest22!~Guest22@165.225.116.159> has quit IRC (Quit: Client closed) | 01:47 | |
*** ablu_ is now known as ablu | 01:49 | |
*** Danct12 <Danct12!~danct12@user/danct12> has quit IRC (Quit: ZNC 1.9.1 - https://znc.in) | 02:33 | |
*** Danct12 <Danct12!~danct12@user/danct12> has joined #yocto | 02:33 | |
*** asriel <asriel!~asriel@user/asriel> has quit IRC (Quit: Don't drink the water. They put something in it to make you forget.) | 02:34 | |
*** Danct12 <Danct12!~danct12@user/danct12> has quit IRC (Remote host closed the connection) | 02:34 | |
*** Danct12 <Danct12!~danct12@user/danct12> has joined #yocto | 02:34 | |
*** asriel <asriel!~asriel@user/asriel> has joined #yocto | 02:38 | |
*** xmn <xmn!~xmn@2600:4040:9398:a200:c1ca:bb59:da40:43b> has quit IRC (Ping timeout: 260 seconds) | 03:32 | |
*** jmd <jmd!~user@2001:a61:2ae9:ab01:1c5b:c6f3:a18d:7893> has joined #yocto | 03:52 | |
*** jmd <jmd!~user@2001:a61:2ae9:ab01:1c5b:c6f3:a18d:7893> has quit IRC (Remote host closed the connection) | 05:08 | |
*** amitk <amitk!~amit@58.84.62.26> has joined #yocto | 05:16 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 05:27 | |
*** Guest22 <Guest22!~Guest22@165.225.116.159> has joined #yocto | 05:37 | |
*** enok <enok!~Thunderbi@94.191.137.59.mobile.tre.se> has joined #yocto | 05:56 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 05:56 | |
*** enok <enok!~Thunderbi@94.191.137.59.mobile.tre.se> has quit IRC (Ping timeout: 255 seconds) | 06:08 | |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 06:31 | |
*** OnkelUll_ is now known as OnkelUlla | 06:34 | |
*** mckoan|away is now known as mckoan | 06:48 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto | 06:52 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 06:53 | |
*** grma <grma!~gruberm@89-41-133-247.static.kufnet.at> has joined #yocto | 07:10 | |
*** rfuentess <rfuentess!~rfuentess@p200300cc8f0ada007bca7d9fd5044654.dip0.t-ipconnect.de> has joined #yocto | 07:12 | |
*** zpfvo <zpfvo!~fvo@i59F5CDA1.versanet.de> has joined #yocto | 07:19 | |
*** Jones42 <Jones42!~Jones42@user/Jones42> has joined #yocto | 07:24 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 276 seconds) | 07:34 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 07:48 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 276 seconds) | 07:56 | |
*** berton <berton!uid641616@id-641616.ilkley.irccloud.com> has joined #yocto | 07:59 | |
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.104> has joined #yocto | 08:11 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:eb01:da00:e88e:21ff:fe65:be18> has joined #yocto | 08:27 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 08:30 | |
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto | 08:32 | |
*** mbulut <mbulut!~mbulut@ip1f128e48.dynamic.kabel-deutschland.de> has joined #yocto | 08:57 | |
*** rber|res <rber|res!~rber|res@089144212131.atnat0021.highway.a1.net> has joined #yocto | 09:09 | |
*** ltp_newbie <ltp_newbie!~ltp_newbi@49.249.95.238> has joined #yocto | 09:14 | |
*** enok <enok!~Thunderbi@2a02:aa1:1045:fc2:2d6b:9b7d:6649:393> has joined #yocto | 09:21 | |
*** enok71 <enok71!~Thunderbi@95.202.53.16> has joined #yocto | 09:41 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 260 seconds) | 09:43 | |
*** enok <enok!~Thunderbi@2a02:aa1:1045:fc2:2d6b:9b7d:6649:393> has quit IRC (Ping timeout: 252 seconds) | 09:44 | |
*** enok71 is now known as enok | 09:44 | |
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC (Ping timeout: 256 seconds) | 09:55 | |
mbulut | does anyone know about a recipe providing docker native for running the docker daemon at build time? | 10:04 |
---|---|---|
*** johndunet <johndunet!~johndunet@234.6.157.89.rev.sfr.net> has joined #yocto | 10:09 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 10:09 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Client Quit) | 10:09 | |
rburton | mbulut: there have been people trying to beat enough assumptions out of podman that you can actually build and run it as a normal user, but we're not there yet. no way to _install_ docker as a non-root user to use at build time. If you desperately need docker during a recipe build first reconsider and find an alternative, or just rely on the host having docker. | 10:14 |
rburton | if you desperately need this then fixing podman so a normal user can install it into their $HOME and it works entirely inside the home directory shouldn't be _too_ difficult, just need to fix the assumptions. | 10:15 |
*** guillaume <guillaume!~guillaume@234.6.157.89.rev.sfr.net> has joined #yocto | 10:16 | |
*** johndunet <johndunet!~johndunet@234.6.157.89.rev.sfr.net> has quit IRC (Quit: Client closed) | 10:16 | |
*** guillaume is now known as johnjohn | 10:17 | |
*** johnjohn is now known as johnjohn28 | 10:17 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 10:18 | |
*** johnjohn28 <johnjohn28!~guillaume@user/johnjohn28> has quit IRC (Client Quit) | 10:20 | |
*** johnjohn28 <johnjohn28!~johnjohn2@user/johnjohn28> has joined #yocto | 10:20 | |
mbulut | i think podman is out of the race as my end goal is to pre-populate /var/lib/docker for offline container usage in the field. having docker on the host (docker-in-docker in my case) was the method i was going after but before starting with that i just wanted to hear if there's anything recent providing a docker-native... | 10:21 |
rburton | you'll have more luck if you use podman instead of docker, i expect. its the same but without horrible license. | 10:24 |
rburton | and meta-virt has OCI container image types, so you might be able to just drop the images in the right place. zeddii might have more input when he's awake. | 10:25 |
*** enok <enok!~Thunderbi@95.202.53.16> has quit IRC (Ping timeout: 260 seconds) | 10:25 | |
*** sakoman <sakoman!~sakoman@98.142.47.158> has quit IRC (Ping timeout: 260 seconds) | 10:28 | |
mbulut | i was looking at this proof-of-concept layer to begin with: https://github.com/savoirfairelinux/meta-embedded-containers/blob/main/recipes-support/container-image/container-image.bb | 10:29 |
mbulut | https://blog.savoirfairelinux.com/en-ca/2020/how-to-embed-a-docker-image-into-yoctos-root-filesystem/ | 10:29 |
mbulut | i don't know too much about podman tbh and our current container deployment infrastructure is based on docker, so i'm reluctant to switch if there's a viable way to do this in a way that's compatible with docker at runtime | 10:33 |
mbulut | i might take a look at meta-virt though | 10:34 |
rburton | podman and docker have identical runtime interfaces | 10:34 |
mbulut | so podman would look for/populate layers in /var/lib/docker? | 10:35 |
rburton | no, but the commands you'd use are identical | 10:35 |
mbulut | ok | 10:35 |
rburton | use docker if you prefer, it's just more annoying | 10:36 |
mbulut | too bad, would have been nice if i could use podman to populate /var/lib/docker at build time and use docker at runtime | 10:36 |
rburton | if you're populating with podman just run with podman too. the podman docs explicitly say you can alias docker=podman. | 10:37 |
rburton | or just use docker if you want to use docker :) | 10:38 |
mbulut | :) | 10:38 |
mbulut | i think i should read a bit about podman | 10:38 |
mbulut | gotta figure out compatibility with container registries, docker-compose, etc... | 10:38 |
*** sakoman <sakoman!~sakoman@98.142.47.158> has joined #yocto | 10:45 | |
*** simonl <simonl!~simonl@user/simonl> has joined #yocto | 11:05 | |
*** Guest22 <Guest22!~Guest22@165.225.116.159> has quit IRC (Quit: Client closed) | 11:14 | |
*** enok <enok!~Thunderbi@95.202.53.16> has joined #yocto | 11:27 | |
simonl | Hi! Sorry if this is a dumb question - I want to file a bug in Bugzilla (for the 'pseudo' tool - have script to reproduce the issue and a patch to fix it), but I can't find anywhere that I can create a Bugzilla account. At e.g. https://wiki.yoctoproject.org/wiki/Bugzilla_Configuration_and_Bug_Tracking it says 'click on "New Account" in the footer area', but there is no such link. Does anyone know | 11:27 |
simonl | how you actually should go about to get an account? | 11:27 |
*** ltp_newbie <ltp_newbie!~ltp_newbi@49.249.95.238> has quit IRC (Quit: Client closed) | 11:28 | |
rburton | yeah that needs fixing! halstead, how does one create a bugzilla account now? | 11:37 |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 276 seconds) | 11:40 | |
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has joined #yocto | 11:45 | |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 11:45 | |
*** Jones42 <Jones42!~Jones42@user/Jones42> has quit IRC (Ping timeout: 248 seconds) | 11:48 | |
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has quit IRC (Read error: Connection reset by peer) | 11:48 | |
*** Jones42 <Jones42!~Jones42@user/Jones42> has joined #yocto | 11:49 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 11:53 | |
Jones42 | If I change the path prefix of some package from /usr to /foo, the package itself builds nicely, but other packages that depend on it, can't find the pkgconfig file anymore, since it's now in recipe-sysroot/foo/lib/pkgconfig, which isn't in PKG_CONFIG_PATH. Is there an elegant way to fix this? | 11:56 |
RP | simonl: in the meantime you could email helpdesk@yoctoproject.org with an account request and mention there is no link on the bugzilla | 11:56 |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto | 11:59 | |
simonl | RP: Ok, thanks! | 12:06 |
RP | simonl: please do send the patch for pseudo to the list too. I'm curious what you found! | 12:10 |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 248 seconds) | 12:11 | |
*** enok <enok!~Thunderbi@95.202.53.16> has quit IRC (Remote host closed the connection) | 12:12 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto | 12:13 | |
*** enok <enok!~Thunderbi@95.202.53.16> has joined #yocto | 12:14 | |
*** enok <enok!~Thunderbi@95.202.53.16> has quit IRC (Client Quit) | 12:17 | |
*** sukbeom <sukbeom!~sukbeom@121.172.255.83> has quit IRC (Quit: The Lounge - https://thelounge.chat) | 12:19 | |
*** sukbeom <sukbeom!~sukbeom@121.172.255.83> has joined #yocto | 12:20 | |
*** enok <enok!~Thunderbi@95.202.53.16> has joined #yocto | 12:21 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 12:30 | |
rburton | Jones42: don't change the prefix? why do you want to change the prefix? | 12:36 |
rburton | it keeps on coming up and i've never understood why | 12:36 |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has joined #yocto | 12:40 | |
Jones42 | rburton: because I want to split out an application into an own partition. (which i want to be able to individually replace/update with rauc) | 12:42 |
rburton | you'll need to extend PKG_CONFIG_PATH in recipes which want to use that app | 12:45 |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Ping timeout: 260 seconds) | 12:46 | |
CrazyGecko | lol, i wanted to ask the same question as @simonl about account creating. @RP should I send a account request too or should I wait for the website to be fixed? How long does this usually take? | 12:47 |
Jones42 | rburton: thanks, that's what feared... there's a surprising amount of hardcoded paths in bitbake.conf | 12:48 |
rburton | well it's all variabled, so not really hardcoded | 12:48 |
rburton | if you want to carve a system into two pieces then that's your choice. your distro could globally add to PKG_CONFIG_PATH and that might be all you need. | 12:49 |
CrazyGecko | @simonl found that regarding the account creation. https://bugzilla.yoctoproject.org/createaccount.cgi It seems, like it is intended, but the link should nod be missing. so better write an E-Mail there for the account | 12:49 |
Jones42 | rburton: that could work, will give it a try. thanks! | 12:50 |
Jones42 | rburton: I'm open to alternatives, however. using rauc and having the app in its own image seemed to be the easiest way | 12:51 |
zeddii | mbulut: I'm about 90% of the way through cross container install at build time. I have it slightly hacked and working for liboci users (podman, etc) and have a few final issues to deal with on the docker front. | 12:56 |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 12:58 | |
mbulut | cool, i'd be interested in that work. for now i'm working on a solution for my specific use case on the basis of that savoirelinux poc-layer. if i manage to get a viable recipe together, i might take a look at rootless docker (https://docs.docker.com/engine/security/rootless/) as the savoirelinux approach involves sudoing and stuff which i'd like to avoid... | 13:02 |
zeddii | that particular document won't really help you. I've been through it about a hundred times, you just run into the guid/uid mapping that requires setup and permissions, I've been working on modifying the docker source code to not require it in an install configuration. | 13:03 |
mbulut | you mean the rootless docker one? | 13:04 |
zeddii | I also have a custom native docker registry (helps in some cases, not all), as well as various other tools have done to manipulate the vfs store | 13:04 |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has joined #yocto | 13:04 | |
zeddii | the savoirelinux type approach is ok if you are hacking something together, but I've already gone on the record several times as saying that it just won't fly in m-virt | 13:05 |
rburton | this is why i suggest podman: it had support for running entirely in $HOME for longer so _should_ be easier to translate to a rootless build environment | 13:06 |
zeddii | rburton: you don't even need podman for the cross container install part, I can already install meta-virt OCI images for podman that "appear" and are runnable on boot without needing podman on the host | 13:07 |
rburton | yeah | 13:08 |
zeddii | but docker, because they refuse to use the oci based VFS is a harder nut to crack, and I won't put it into m-virt until both are working,. | 13:08 |
rburton | meh ignore docker | 13:08 |
zeddii | don't make me haul up my presentation that says "won't crown a runtime king" | 13:08 |
zeddii | plus, RH is annoying in their own way with podman. | 13:08 |
rburton | their licensing fiasco made that choice for me ;) | 13:08 |
zeddii | they won't play nicely with the rest of the CNCF tools, madly replacing bits with their own creations. very systemd-like. | 13:09 |
zeddii | maybe I can just to a presentation @ vienna where someone just says things to wind me up and gives me the mic! | 13:09 |
zeddii | "fireside rant" ? | 13:10 |
rburton | yeah do it | 13:10 |
mbulut | yeah agree, the savoirelinux thing is nothing that could ever be upstreamed as something generally useful because of its assumptions on the host tools but yet currently still my best hope to get the job at hand done without stirring up too much dust in our infrastructure// | 13:10 |
rburton | that would be great | 13:10 |
mbulut | zeddii, is there any gh repo or sth i could watch to see how your thing goes so i might come back to it some time? | 13:12 |
RP | CrazyGecko: feel free to send a email about an account as well | 13:12 |
mbulut | oh, i guess meta-virt is where i should be looking, right? | 13:14 |
zeddii | mbulut: I maintain meta-virtualization, when ready the stuff either goes there or goes into a WIP branch, but I put it down about a month ago to do oe-core kernel stuff and package updates in m-virt, I'm back to it again shortly. I expect to push at least the minimal infrastructure in August so it'll be ready for the fall release. | 13:15 |
mbulut | cool, thx | 13:16 |
zeddii | it must be Monday. half my infrastructure is busted, I'm going to go see if I can revive some machines. | 13:16 |
mbulut | confirm: it's monday (at least in my tz) | 13:16 |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has joined #yocto | 13:21 | |
johnjohn28 | Hi all | 13:33 |
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Remote host closed the connection) | 13:37 | |
johnjohn28 | I'm still struggling to add the VETH kernel module to my Yocto image, and I can't understand why it's not working. | 13:40 |
johnjohn28 | I enabled the kernel module via menuconfig (bitbake virtual/kernel -c menuconfig), then created a fragment with the modified config (bitbake -c diffconfig virtual/kernel which created the file builds/build-genericx86-64/tmp/work/genericx86_64-poky-linux/linux-yocto/5.15.72+gitAUTOINC+441f5fe000_0b628306d1-r0/fragment.cfg). | 13:40 |
johnjohn28 | I then created a recipe using recipetool appendsrcfile -w ../../layers/meta-my-layer/ virtual/kernel path/to/fragment.cfg. I cleaned and recompiled the kernel with bitbake -c clean virtual/kernel then bitbake virtual/kernel. | 13:40 |
johnjohn28 | After that, I built my image and installed it, but the module is still not installed: | 13:40 |
johnjohn28 | root@device:~# zcat /proc/config.gz | grep VETH >> # CONFIG_VETH is not set | 13:41 |
johnjohn28 | I'm desperate, I've been trying for hours to add this module by all means, and nothing works. Yet it's a relatively simple module without any dependencies. Do you have any idea what might be causing the problem? | 13:41 |
rburton | Jones42: did you install the kernel module? | 13:42 |
rburton | enabling a module does not install it into the image | 13:42 |
rburton | also double-check the .config in the build tree to verify your setting actually stuck, kconfig is a fickle thing | 13:43 |
johnjohn28 | with kernel-module-veth on IMAGE_INSTALL ? | 13:43 |
rburton | yes | 13:43 |
*** belsirk <belsirk!~rfuentess@p5b2a7a5e.dip0.t-ipconnect.de> has joined #yocto | 13:43 | |
rburton | oh you checked the on target config, so you can blame your fragment not being sufficient (or not being used at all) | 13:43 |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 13:44 | |
*** rfuentess <rfuentess!~rfuentess@p200300cc8f0ada007bca7d9fd5044654.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 252 seconds) | 13:45 | |
johnjohn28 | No match for argument: kernel-module-veth | 13:45 |
rburton | check the .config in the build tree to see if your assignment stuck (bitbake virtual/kernel -c showconfig) | 13:48 |
rburton | if it didn't then double-check that your append is actually working, you can check the SRC_URI with bitbake-getvar -r virtual/kernel SRC_URI | 13:48 |
zeddii | johnjohn28: assuming my build server revives shortly, I can help as well. but I'll need a few more to get an initial build started. | 13:49 |
johnjohn28 | The output of the command bitbake-getvar -r virtual/kernel SRC_URI does show my fragment. | 13:52 |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe) | 13:52 | |
Jones42 | johnjohn28: does your .config in the build folder still say "m", while you have "y" in your fragment? | 13:54 |
johnjohn28 | builder@707b406ad0f5:~/builds/build-genericx86-64$ cat /home/builder/builds/build-genericx86-64/tmp/work/genericx86_64-poky-linux/linux-yocto/5.15.72+gitAUTOINC+441f5fe000_0b628306d1-r0/linux-genericx86_64-standard-build/.config | grep VETH | 13:56 |
johnjohn28 | CONFIG_VETH=y | 13:56 |
rburton | sounds like your target isn't running the same kernel... | 13:57 |
Jones42 | johnjohn28, how do you get the image on the target? can you give us some information on your config? | 14:00 |
johnjohn28 | oh you're right, I use RAUC to update my device, but it only updates the rootfs and a data partition. | 14:05 |
johnjohn28 | I'm really stupid. | 14:06 |
vvn | should I add to vardepsexclude the direct variable used in the value or all variables recursively? i.e. FOO="${BAR}" BAZ="${FOO}", should I add BAZ[vardepsexclude] = "FOO" or BAZ[vardepsexclude] = "FOO BAR"? | 14:09 |
Jones42 | johnjohn28: we've all been there, glad you found the issue! | 14:10 |
rburton | kanavin_: fyi "python3: drop deterministic_imports" breaks the build of python3-meson-python | 14:12 |
rburton | which is fun | 14:12 |
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has joined #yocto | 14:12 | |
rburton | i wonder if empty directories are breaking things | 14:13 |
RP | rburton: ah, I was nervous about dropping that :/ | 14:13 |
RP | rburton: there is an upstream bug saying it should all work so we need to tell them about it most likely | 14:14 |
*** Jones42 <Jones42!~Jones42@user/Jones42> has quit IRC (Ping timeout: 248 seconds) | 14:15 | |
rburton | yeah commenting now | 14:16 |
shoragan | johnjohn28, so you're not updating your kernel? i'd suggest configuring rauc to update it in lock-step with the rootfs. if you're not using secure boot, it's often simpler to just have it in the rootfs. | 14:16 |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Ping timeout: 252 seconds) | 14:17 | |
johnjohn28 | yeah it's work | 14:20 |
johnjohn28 | I'm torn between the joy of finally succeeding and the shame of having spent so much time searching for such a simple mistake ^^ | 14:21 |
johnjohn28 | Thank you all for your help. | 14:21 |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto | 14:21 | |
*** rob_w <rob_w!~rob@2001:a61:615f:af01:dd1b:b7a1:4e15:68ef> has joined #yocto | 14:25 | |
johnjohn28 | shoragan, yeah, I only update the rootfs and some other partition but not the kernel. | 14:30 |
johnjohn28 | I make : losetup -Pf --show image.wic | 14:30 |
johnjohn28 | dd if=/dev/loop35p1 of=/tmp/boot.img | 14:31 |
johnjohn28 | mount -o loop /tmp/boot.img /tmp/boot | 14:31 |
johnjohn28 | scp /tmp/boot/bzImage root@192.168.1.53:/tmp | 14:31 |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Ping timeout: 245 seconds) | 14:32 | |
johnjohn28 | on the device cp /tmp/bzImage /boot/bzImage | 14:32 |
johnjohn28 | and it work, the module is here | 14:32 |
johnjohn28 | after a reboot | 14:32 |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 14:36 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto | 14:37 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Read error: Connection reset by peer) | 14:41 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto | 14:42 | |
*** paulg <paulg!~paulg@198-48-234-115.cpe.pppoe.ca> has joined #yocto | 14:42 | |
*** CrazyGecko <CrazyGecko!~gecko@90.251.200.213.static.wline.lns.sme.cust.swisscom.ch> has quit IRC (Ping timeout: 252 seconds) | 14:43 | |
*** frieder <frieder!~frieder@i4DF67AE6.pool.tripleplugandplay.com> has quit IRC (Remote host closed the connection) | 14:55 | |
*** xmn <xmn!~xmn@2600:4040:9398:a200:c9d8:8663:9274:8351> has joined #yocto | 14:59 | |
*** Guest12 <Guest12!~Guest12@84.14.139.238> has joined #yocto | 15:04 | |
*** enok <enok!~Thunderbi@95.202.53.16> has quit IRC (Ping timeout: 260 seconds) | 15:07 | |
Guest12 | Hello, I report a yocto bug here. the `INHERIT += "cve-check"` is incompatible with do_populate_sdk_ext with core-image-sato (I suppose it is the case for all images) on scarthgap `7fb368604c5c7` : `ERROR: Task cve-update-nvd2-native.do_fetch attempted to execute unexpectedly` . thank you in advance. (PS: I didn't open a bugtracker ticket, I let | 15:11 |
Guest12 | you have the pleasure) | 15:11 |
*** Guest12 <Guest12!~Guest12@84.14.139.238> has quit IRC (Quit: Client closed) | 15:13 | |
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving) | 15:30 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto | 15:31 | |
*** mjm <mjm!~mjm@user/mjm> has joined #yocto | 15:36 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Quit: jmiehe) | 15:39 | |
*** geoffhp <geoffhp!~geoff@syn-107-185-062-133.res.spectrum.com> has joined #yocto | 15:45 | |
*** belsirk <belsirk!~rfuentess@p5b2a7a5e.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection) | 15:45 | |
*** mckoan is now known as mckoan|away | 15:57 | |
halstead | simonl: rburton: I'm sorry the account request instructions keep getting hidden. Can you email it-coreprojects-helpdesk@linuxfoundation.org and we'll get it made. | 16:04 |
*** enok <enok!~Thunderbi@2a02:aa1:1046:e8e4:fb22:e3da:e5d:3521> has joined #yocto | 16:11 | |
*** goliath <goliath!~goliath@user/goliath> has joined #yocto | 16:18 | |
*** enok <enok!~Thunderbi@2a02:aa1:1046:e8e4:fb22:e3da:e5d:3521> has quit IRC (Ping timeout: 245 seconds) | 16:19 | |
*** zpfvo <zpfvo!~fvo@i59F5CDA1.versanet.de> has quit IRC (Remote host closed the connection) | 16:21 | |
*** MattWeb__ <MattWeb__!~MattWeb__@ec2-52-222-0-234.us-gov-west-1.compute.amazonaws.com> has joined #yocto | 16:41 | |
*** jmd <jmd!~user@2001:a61:2ae9:ab01:1c5b:c6f3:a18d:7893> has joined #yocto | 16:42 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 16:43 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 272 seconds) | 16:50 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 16:54 | |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has joined #yocto | 16:56 | |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 17:10 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Ping timeout: 252 seconds) | 17:14 | |
mbulut | in a recipe that does sudo (with sudo in HOSTTOOLS_NONFATAL) i get `sudo: /etc/sudo.conf is owned by uid 65534, should be 0` and `sudo: /workspaces/sandbox/build/01047/tmp/hosttools/sudo must be owned by uid 0 and have the setuid bit set` | 17:17 |
mbulut | i can do the same sudo command from a devshell but inside the recipe it fails.... any idea what could be causing this? | 17:18 |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto | 17:21 | |
mbulut | also i checked who owns /etc/sudo.conf and it's owned by root (uid 0) so really don't know why bitbake claims it's owned by 65534 | 17:24 |
mbulut | i found some hints but they're all related to ansible -- nothing bitbake related.. | 17:25 |
mbulut | https://lists.yoctoproject.org/g/yocto/topic/error_when_try_to_use_sudo/96733939 | 17:30 |
mbulut | very similar to my situation and post https://lists.yoctoproject.org/g/yocto/message/59594 suggests an issue "introduced somewhere between dunfell and kirkstone" ... if that's true i might very well be hitting the same problem as i'm using kirkstone 4.0.2 | 17:35 |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok) | 17:35 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Remote host closed the connection) | 18:18 | |
khem | which recipe is doing sudo operation, that should be looked into | 18:32 |
rburton | mbulut: guessing this is your docker experiments. _this_ is why its a terrible idea to sudo docker inside a recipe | 18:35 |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has joined #yocto | 18:38 | |
rburton | so I'm back to thinking that our splitting of the python modules is too granular to be actually useful | 18:39 |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has joined #yocto | 18:39 | |
*** jmiehe <jmiehe!~Thunderbi@user/jmiehe> has quit IRC (Client Quit) | 18:39 | |
mbulut | rburton, khem, yes it's the docker experiments. just running a build off master to check if it's down to fakeroot/pseudo and not a bug present in 4.0.2 | 18:43 |
mbulut | not claiming at all that doing sudo docker inside a recipe is a good thing but before exploring the implications of using podman instead, i wanted to see how far i get with this | 18:46 |
mbulut | seems like at the time when that article was written (dunfell), it used to work so i wanted to give it a shot | 18:47 |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 18:50 | |
*** florian <florian!~florian@p4fd9b29c.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 248 seconds) | 18:57 | |
*** berton <berton!uid641616@id-641616.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity) | 19:25 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok) | 19:31 | |
*** enok71 <enok71!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 19:31 | |
*** enok71 is now known as enok | 19:33 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 252 seconds) | 19:38 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto | 19:39 | |
*** sotaoverride <sotaoverride!~aatir@ool-4578fe22.dyn.optonline.net> has quit IRC (Ping timeout: 264 seconds) | 19:44 | |
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 252 seconds) | 19:46 | |
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection) | 19:53 | |
*** dankm <dankm!~dan@user/dankm> has joined #yocto | 19:55 | |
*** mvlad <mvlad!~mvlad@2a02:2f08:eb01:da00:e88e:21ff:fe65:be18> has quit IRC (Remote host closed the connection) | 20:07 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Quit: Haxxa flies away.) | 20:15 | |
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto | 20:17 | |
*** Algotech <Algotech!~Algotech@2a01:e0a:5e0:29b0:211:32ff:fe75:6948> has joined #yocto | 20:31 | |
*** Algotech <Algotech!~Algotech@2a01:e0a:5e0:29b0:211:32ff:fe75:6948> has quit IRC (Client Quit) | 20:31 | |
*** jmd <jmd!~user@2001:a61:2ae9:ab01:1c5b:c6f3:a18d:7893> has quit IRC (Remote host closed the connection) | 20:34 | |
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has quit IRC (Remote host closed the connection) | 20:35 | |
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has joined #yocto | 20:41 | |
RP | mbulut: it could be pseudo interacting really badly with sudo | 20:45 |
mbulut | yeah, i'm not pursuing that further (though the master build still running just for the sake of being sure it's by design and not a bug) | 20:49 |
mbulut | shifted myself towards rootless-docker instead -- let's see how that goes | 20:50 |
vvn | what's your view on setting PACKAGECONFIG:pn-foo in the distro conf vs. setting PACKAGECONFIG:distro in bbappend? | 20:52 |
RP | I'd have said distro conf file | 20:52 |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto | 21:01 | |
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Remote host closed the connection) | 21:01 | |
*** marka <marka!~marka@149.115.66.185> has quit IRC (Ping timeout: 248 seconds) | 21:04 | |
*** marka <marka!~marka@149.115.66.185> has joined #yocto | 21:05 | |
*** jbo- is now known as jbo | 21:08 | |
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV) | 21:08 | |
*** TundraMan <TundraMan!~marka@149.115.66.185> has joined #yocto | 21:10 | |
*** marka <marka!~marka@149.115.66.185> has quit IRC (Ping timeout: 248 seconds) | 21:10 | |
*** rob_w <rob_w!~rob@2001:a61:615f:af01:dd1b:b7a1:4e15:68ef> has quit IRC (Read error: Connection reset by peer) | 21:34 | |
*** BrianL <BrianL!~BrianL@98.97.38.30> has joined #yocto | 21:50 | |
BrianL | Is there any way to change the disk label used for mmcblk0p1, so that it is not boot-mmcblk0p1, via config or otherwise, when using wic to package the image? | 21:54 |
*** amitk_ <amitk_!~amit@58.84.62.6> has joined #yocto | 22:08 | |
*** amitk <amitk!~amit@58.84.62.26> has quit IRC (Ping timeout: 260 seconds) | 22:11 | |
mbulut | zeddii, u around? | 22:25 |
*** Guest8 <Guest8!~Guest@modemcable143.110-82-70.mc.videotron.ca> has joined #yocto | 22:30 | |
mbulut | BrianL, have you tried --use-label in the .wks? | 22:47 |
mbulut | stuck on the rootless docker as well... :/ | 22:53 |
mbulut | so my build env is a docker container itself, that's for the record | 22:54 |
mbulut | i added the bits suggested in https://docs.docker.com/engine/security/rootless/ to my dev container and can run the daemon using dockerd-rootless.sh from normal shell and also bitbake shell | 22:56 |
mbulut | but freaking not from within a build task | 22:57 |
mbulut | newguid fails while setting up the UID/GID map: | 22:58 |
mbulut | [rootlesskit:parent] error: failed to setup UID/GID map: newuidmap 36572 [0 1000 1 1 100000 65536] failed: newuidmap: write to uid_map failed: Operation not permitted | 22:58 |
*** rjones2 <rjones2!~rjones2@user/rjones2> has joined #yocto | 22:59 | |
mbulut | this isn't down to the headroom for nested uids, i tried increasing it in /etc/subuid and /etc/subgid | 23:00 |
mbulut | i admit this might be a too specific problem to raise here but since it only fails when running the build task i'm kind of lacking knowledge of what happens behind the scenes that might cause the EPERM | 23:05 |
*** Guest8 <Guest8!~Guest@modemcable143.110-82-70.mc.videotron.ca> has quit IRC (Ping timeout: 256 seconds) | 23:06 | |
*** Guest71 <Guest71!~Guest@modemcable143.110-82-70.mc.videotron.ca> has joined #yocto | 23:21 | |
*** BrianL <BrianL!~BrianL@98.97.38.30> has quit IRC (Quit: Client closed) | 23:23 | |
*** Guest71 <Guest71!~Guest@modemcable143.110-82-70.mc.videotron.ca> has quit IRC (Quit: Client closed) | 23:52 | |
*** Guest62 <Guest62!~Guest@modemcable143.110-82-70.mc.videotron.ca> has joined #yocto | 23:58 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!