ndec changed the topic of #yocto to: "Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Join us or Speak at Yocto Project Summit (2022.11) Nov 29-Dec 1, more: https://yoctoproject.org/summit | Join the community: https://www.yoctoproject.org/community | IRC logs available at https://www.yoctoproject.org/irc/ | Having difficulty on the list or with someone on the list, contact YP community mgr ndec"
akiCA has joined #yocto
davidinux has quit [Ping timeout: 248 seconds]
davidinux has joined #yocto
sakoman has quit [Quit: Leaving.]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #yocto
seninha has quit [Remote host closed the connection]
sakoman has joined #yocto
amitk has joined #yocto
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
rfs613 has quit [Ping timeout: 240 seconds]
rfs613 has joined #yocto
amitk_ has joined #yocto
thomasd13 has joined #yocto
amitk__ has joined #yocto
sakoman has quit [Quit: Leaving.]
amitk has quit [Ping timeout: 240 seconds]
akiCA has quit [Ping timeout: 256 seconds]
amitk_ has quit [Ping timeout: 256 seconds]
amitk has joined #yocto
alessioigor has joined #yocto
goliath has joined #yocto
rob_w has joined #yocto
zpfvo has joined #yocto
tomzy_0[m] has joined #yocto
<tomzy_0[m]> morning
florian_kc has joined #yocto
amitk has quit [Ping timeout: 248 seconds]
rfuentess has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
leon-anavi has joined #yocto
<tomzy_0[m]> When creating image using wks file with multiple partitions (2 rootfs A/B and couple for different kind of data) the permissions on those data partitions are messed up - do_image_wic logs the following pseudo folder does not exist. Usernames and permissions will be invalid
<tomzy_0[m]> Lately we updated project from dunfell to kirkstone
<tomzy_0[m]> the data partition were created with lines in wks file like part --source rootfs --fstype=ext4 --label ABC-data --align 1024 --use-uuid --fixed-size 2048 --rootfs-dir=${IMAGE_ROOTFS}${ABC-data_VAR}
<tomzy_0[m]> When we was on dunfell - this patch https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg144454.html was not used (we were using older revision)
<tomzy_0[m]> should we just dump rootfs plugin and rootfs-dir flag for those kind of partitions?
frieder has joined #yocto
Schlumpf has joined #yocto
vladest has quit [Ping timeout: 240 seconds]
mckoan|away is now known as mckoan
florian_kc has quit [Ping timeout: 250 seconds]
olani- has quit [Ping timeout: 256 seconds]
* landgraf is back from the (mostly) off grid vacation. time to eat some bugs (from bugzilla, not real ones!)
vladest has joined #yocto
amitk has joined #yocto
vladest has quit [Read error: Connection reset by peer]
vladest has joined #yocto
vladest has quit [Client Quit]
vladest has joined #yocto
vladest has quit [Read error: Connection reset by peer]
vladest has joined #yocto
bps has joined #yocto
<dacav> JPEW: thanks, your suggestion worked
<dacav> It ended up building a lot more dependencies (including GUI software), but the final sdk is just a few megabytes bigger.
ptsneves has joined #yocto
<rburton> jclsn: with proper firmware you can do uefi secure boot on arm64
<LetoThe2nd> rburton: *cough* cassini*
<rburton> lol
florian has joined #yocto
dwagenk has joined #yocto
gsalazar has joined #yocto
zelgomer has quit [Remote host closed the connection]
zelgomer has joined #yocto
<__ad> is there some simple trick to know what patch file is not needed from SRC_URI ?
<__ad> (for clean-out purposes)
<rburton> on upgrade?
<__ad> just to avoid to have unused .patch files in recipe subdir
<rburton> devtool will automatically drop upstreamed patches if you use that to upgrade
<rburton> oh, as in a patch file is on disk but not in SRC_URI?
<__ad> yes
<rburton> once upon a time i wrote a little script to grep each recipe directory for every patch file
<__ad> aha ok, i can write one, no prob
<__ad> thanks
prabhakarlad has joined #yocto
<RP> landgraf: welcome back!
<RP> For the record, I'm planning to be out next week
rber|res has joined #yocto
olani- has joined #yocto
vladest has quit [Ping timeout: 265 seconds]
d-s-e has joined #yocto
vladest has joined #yocto
vladest has quit [Client Quit]
vladest has joined #yocto
zpfvo has quit [Ping timeout: 256 seconds]
sgw has quit [Quit: Leaving.]
sgw has joined #yocto
seninha has joined #yocto
zpfvo has joined #yocto
d-s-e has quit [Ping timeout: 256 seconds]
Schlumpf has quit [Quit: Client closed]
fabatera[m] has joined #yocto
fvincenzo has joined #yocto
<LetoThe2nd> random thought: what would be a good and very straightforward example for a bbappend?
amitk has quit [Ping timeout: 240 seconds]
<RP> LetoThe2nd: change a PACKAGECONFIG? change the SUMMARY or DESCRIPTION?
<LetoThe2nd> RP: PACKAGECONFIG was my first guess too, but in many cases I'd put that into the distro. Will probably go for it then, though.
<fabatera[m]> maybe not very straightforward, but I'm changing the kernel version with PREFERRED_VERSION_linux-intel = "5.10%"
<landgraf> append downstram patch to SRC_URI?
<LetoThe2nd> fabatera[m]: which is a very different effect, as it changes the recipe which will be built
<LetoThe2nd> landgraf: yeah my guess too, but makes a minimal example more complicated.
<landgraf> LetoThe2nd: change SRCREV to build older/newer revision?
<LetoThe2nd> landgraf: might use that one, yes.
* landgraf is just looking into Q&D bbappends for xen and kernel he created
sgw has quit [Quit: Leaving.]
sgw has joined #yocto
Minvera has joined #yocto
<fabatera[m]> Any idea how to add ethernet controller driver to initramfs in the recipes?
<fabatera[m]> Intel NUC11 can't rootfs boot, apparently initrd (or iniramfs) is missing the ethernet controller driver. NUC10 works perfectly.
<fabatera[m]> s/rootfs/nfs/
<mcfrisk> fabatera[m]: find the initmrafs recipe and add more packages to it. See https://docs.yoctoproject.org/singleindex.html#building-an-initial-ram-filesystem-initramfs-image
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
<sudip> is there any way to create an ubi image with multiple volumes?
<sudip> currently I am using wic to build a complete image with multiple partitions, but will like to move to ubi image if possible
<fabatera[m]> I already had to do something related (for the working NUC10). Created an append for the initramfs recipe: INITRAMFS_SCRIPTS:append = " initramfs-module-nfsrootfs"
<fabatera[m]> But still can't find how to add such driver
<fabatera[m]> my reply was to mcfrisk
<tomzy_0[m]> Hello
<tomzy_0[m]> When creating image using wks file with multiple partitions (2 rootfs A/B and couple for different kind of data) the permissions on those data partitions are messed up - do_image_wic logs the following pseudo folder does not exist. Usernames and permissions will be invalid
<tomzy_0[m]> Lately we updated project from dunfell to kirkstone
<tomzy_0[m]> the data partition were created with lines in wks file like `part --source rootfs --fstype=ext4 --label ABC-data --align 1024 --use-uuid --fixed-size 2048 --rootfs-dir=${IMAGE_ROOTFS}${ABC-data_VAR}`
<tomzy_0[m]> When we was on dunfell - this patch https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg144454.html was not used (we were using older revision)
<tomzy_0[m]> should we just dump rootfs plugin and rootfs-dir flag for those kind of partitions?
d-s-e has joined #yocto
nemik has quit [Ping timeout: 256 seconds]
nemik has joined #yocto
fvincenzo has quit [Quit: Client closed]
<qschulz> sudip: multiubi IMAGE_FSTYPE?
adsdasd has joined #yocto
kscherer has joined #yocto
vladest has quit [Ping timeout: 268 seconds]
florian_kc has joined #yocto
adsdasd has quit [Quit: Client closed]
jkolasa has joined #yocto
xxx666 has joined #yocto
zpfvo has quit [Ping timeout: 260 seconds]
olani- has quit [Ping timeout: 256 seconds]
olani- has joined #yocto
<sudip> qschulz: but I thought multiubi is only used to create ubi images with different mkubifs_args and ubinize_args. In multiubi_mkfs() its always using "${IMAGE_ROOTFS}" in the mkfs.ubifs, so how will it take other partitions apart from the rootfs partition?
* sudip wonders what is he missing
<qschulz> sudip: yeah that was probably a bad suggestion, should have read a bit more about it
<sudip> np, thanks for helping, which made me look at the code :)
sakoman has joined #yocto
zpfvo has joined #yocto
seninha has quit [Ping timeout: 265 seconds]
Haxxa has quit [Ping timeout: 248 seconds]
GNUmoon2 has quit [Ping timeout: 240 seconds]
Haxxa has joined #yocto
GNUmoon2 has joined #yocto
jkolasa has quit [Quit: Client closed]
seninha has joined #yocto
rob_w has quit [Remote host closed the connection]
leonanavi has joined #yocto
zpfvo has quit [Ping timeout: 268 seconds]
zpfvo has joined #yocto
<Xagen> is there a way to get the sdk to preserve file ctime/mtime from packaging to later extraction?
xxx666 has quit [Ping timeout: 245 seconds]
<paowz> Hello there ! I have a question regarding an error I'm encountering during build step of Gutenprint available since Kirkstone: https://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb?h=mickledore. Here the full log: https://pastebin.com/Kau7cap1 . It looks like '/cups-genppd.5.3' call , which causes the error, cannot be found by the build system from within the 'work' folder..
goliath has quit [Quit: SIGSEGV]
<paowz> What am I missing here ? Any help would be greatly appreciated :-)
<jclsn> Does bitbake automatically maximize ram usage? Doesn't seem like it to me
<jclsn> Got 64GB and it only uses 10GB
<RP> jclsn: the kernel would usually use anything "spare" as disk cache so it will likely get used
<jclsn> Hit 17GB now
<jclsn> I would still expect it to use more but well
<jclsn> Guess I can safely return one of the 32GB DIMMs
<RP> jclsn: a lot depends on what you're building too
<jclsn> Pi distro and Qt
<jclsn> Anyway, it is nice to be able to compile and still have Team's running flawlessly ^^
_whitelogger has joined #yocto
bps has quit [Ping timeout: 256 seconds]
florian has quit [Quit: Ex-Chat]
florian_kc has quit [Ping timeout: 256 seconds]
goliath has joined #yocto
<rburton> paowz: try re-running bitbake, it might be a race in the makefiles. doesn't fix the problem, but works around it.
d-s-e has quit [Quit: Konversation terminated!]
leon-anavi has quit [Remote host closed the connection]
leonanavi has quit [Remote host closed the connection]
alessioigor has quit [Remote host closed the connection]
alessioigor has joined #yocto
zpfvo has quit [Quit: Leaving.]
zpfvo has joined #yocto
seninha has quit [Ping timeout: 256 seconds]
zpfvo has quit [Client Quit]
hpfr- has joined #yocto
rfuentess has quit [Remote host closed the connection]
<hpfr-> is the logs link in the topic supposed to be down
ptsneves has quit [Ping timeout: 265 seconds]
<hpfr-> oh the community page links to https://libera.irclog.whitequark.org/yocto which works
mckoan is now known as mckoan|away
<hpfr-> is IMAGE_INSTALL:append:machine-name expected to not really work from local.conf? I’m trying it and it seems to get clobbered by my image recipe
<rburton> appends will always work
<rburton> did you remember leading whitespace?
<hpfr-> yes
<hpfr-> and if I remove :machine-name, the append works fine. I’ve confirmed machine-name is correct, here is bitbake -e with :machine-name:
<hpfr-> oops, s/:machine-name/:image-name/g
<rburton> if you want the image name, you want to prefix it with pn-
<rburton> eg :pn-core-image-base
amitk has joined #yocto
<hpfr-> oof, I forgot about that
<hpfr-> thank you!
silbe has quit [Ping timeout: 260 seconds]
<hpfr-> one more: the docs mention you can’t use :append with IMAGE_FSTYPES. I have that defined in my machine config and now I want to append to it from local.conf, but it doesn’t seem to be possible
frieder has quit [Remote host closed the connection]
alessioigor_ has joined #yocto
<hpfr-> using IMAGE_FSTYPES:my-machine += "wic", I get https://0x0.st/HZGW.txt
alessioigor has quit [Ping timeout: 260 seconds]
alessioigor_ is now known as alessioigor
<JaMa> hpfr-: and what's wrong with that? it seems to do what you asked it to do
<hpfr-> I want wic appended to the existing tar.bz2 and cpio.gz from the machine config
<hpfr-> but it clobbers the machine config value
<hpfr-> despite me using +=
<JaMa> hpfr-: I understand that it's not what you've expected it to do as you've used += with an override, but that's PEBKAC, not specific to IMAGE_FSTYPES
<hpfr-> can you point me to some docs then?
<hpfr-> I’m not sure what I’m missing
<Saur[m]> RP: Not sure what's going on, but the last 12 commits in openembedded-core have `(From OE-Core rev: ...)` in their commit messages, referring to commits that do not exist (probably themselves in some earlier version). I noticed it in poky where the commits now have two such lines, one correct and one not so correct...
<JaMa> IMAGE_FSTYPES:append:my-machine = " wic"
<hpfr-> but you’re not allowed to do that with IMAGE_FSTYPES per https://docs.yoctoproject.org/dev/ref-manual/variables.html#term-IMAGE_FSTYPES
<JaMa> you might need to add :pn-your_image to limit this only to your images (to prevent adding wic to e.g. initramfs images), but then it should just work
<RP> Saur[m]: I picked patches from a poky branch instead of an oecore one and didn't notice/fix it, sorry
<Saur[m]> RP: Ok. Just wanted to check that it wasn't some tooling gone wrong.
amitk has quit [Ping timeout: 256 seconds]
vladest has joined #yocto
<hpfr-> JaMa: thanks, this seems to work fine. it seems like the warning about += in the docs predates the sphinx migration, so maybe it can be removed
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
goliath has quit [Quit: SIGSEGV]
thomasd13 has quit [Ping timeout: 256 seconds]
nemik has quit [Ping timeout: 265 seconds]
nemik has joined #yocto
<hpfr-> so I wouldn’t be surprised if it just doesn’t apply anymore
florian_kc has joined #yocto
florian_kc has quit [Ping timeout: 256 seconds]
amitk__ has quit [Ping timeout: 256 seconds]
eddy_ has joined #yocto
<eddy_> hello here I am again with a yocto question: if i add this to a yocto kernel module recipe yocto somehow will not set the MODULE macro any more. am i dooing somehting wrong? => EXTRA_OEMAKE += "KBUILD_CFLAGS_MODULE+="-I${STAGING_DIR_HOST}${includedir}/kernel/""
<eddy_> my intention is to have a shared folder between the kernel modules where the headers are installed and this line is to tell kbuild where to look for the other modules headers
<paowz> rburton: Thanks for the suggestion. Unhappily, it didn't help a lot.. the error remains.. :-/
hpfr- has quit [Remote host closed the connection]
hpfr has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
hpfr is now known as Guest4538
seninha has joined #yocto
alessioigor has quit [Remote host closed the connection]
florian_kc has joined #yocto
<eddy_> ok found my mistake.i am not suppost to set KBUILD_CFLAGS_MODULE but KCFLAGS wich will then be appended to KBUILD_CFLAGS from kbuild
goliath has joined #yocto
Guest8668 has joined #yocto
Guest8668 has quit [Client Quit]
Guest86668 has joined #yocto
eddy_ has quit [Quit: eddy_]
<Guest86668> Hello to all,
<Guest86668> In the project Im working, we have some shared libraries installed in non standard paths.
<Guest86668> I would like to append to the CFLAGS and LDFLAGS this new path so the compiler will find the header files and the linker the shared libs.
<Guest86668> Do you have some suggestions on how to do this?
Guest86668 has quit [Quit: Client closed]
gsalazar has quit [Ping timeout: 260 seconds]
Guest86668 has joined #yocto
Guest86668 has quit [Client Quit]
Guest86668 has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
Leonardo19 has joined #yocto
<Leonardo19> I have a problem when try to enable pgsql flag in PHP build, anyone can help me?
starblue has quit [Ping timeout: 265 seconds]
Leonardo19 has quit [Client Quit]
Guest86668 has quit [Quit: Client closed]
starblue has joined #yocto
prabhakarlad has quit [Quit: Client closed]
PobodysNerfect_ has quit [Quit: Gone to sleep. ZZZzzz…]
<yolo> why must TMPDIR be absolute path? I ran out of disk and moved yocto to another partition and I have to rebuild because TMPDIR no longer is valid, even though I made sure using symlinks to make sure the location is still the "same" before "mv" to new partition
alex88 has quit [Ping timeout: 265 seconds]
akiCA has joined #yocto
<RP> yolo: people can break that all too easily so it has checks to make sure people don't do it. You could disable the checks and see what happens but no guarantees. In general it is easier just to delete and let things recover from sstate
Guest4538 has quit [Remote host closed the connection]
hpfr has joined #yocto
hpfr is now known as Guest6007
alex88 has joined #yocto
<yolo> RP: I did the saved_tmpdir trick and it still kind of rebuilding, maybe a little faster than from scratcccch
<RP> yolo: building from sstate and just copying that would have been easier/faster ;-)
<yolo> not aware of that, will keep this in mind, now it's 81%, will just wait it out, it's a pitty each new build takes hours even on SSD with 8 cores and 32GB memory.
<yolo> building openbmc that is
kscherer has quit [Quit: Konversation terminated!]
<yolo> is systemd+musl "production ready" in yocto? systemd is really glibc only but I assume yocto has done some heavy patching to make it musl-ready too?
<rburton> i wouldn't want to go as far as production ready. if you want that, speak to systemd maintainers and convince them to consider supporting musl properly
<yolo> it seems Lennart rejected that idea outright a while ago and his attitude was non-negotiatble
<rburton> there _might_ be a softening of that stance recently
<rburton> definitely worth asking again, especially if you can come from a "and I want to deploy across a fleet of servers" perspective and not just "because its cool"
goliath has quit [Quit: SIGSEGV]
<yolo> will try, definitely. yes openbmc is related to servers and downsize the image matters to me, and yes we deploy a fleet of servers
<rburton> things like alpine looking to fund an alternative partly because systemd doesn't support musl might be helping too
<yolo> isn't alpine busybox+musl only, i guess containers need more than busybox's init
<yolo> there are a few inits, just that systemd is now dominant
<rburton> yeah you want a proper init ideally, even in containers
<yolo> make it embedded friendly is beneficial for all
Minvera has quit [Ping timeout: 240 seconds]
<yolo> in fact, systemd+musl is also a selling point for containers, where size matters due to the large scale of containers used in depolyments
<rburton> yeah
<yolo> i will ask chatggpt to write up something and convince Lennart tonight :)
<rburton> https://skarnet.org/software/s6/ is _interesting_
<rburton> going back to what you said earlier: always keep sstate-cache, never delete it, always share it between builds. huge savings, basically only build from scratch once.
<rburton> but now, bed. :)
<yolo> thanks! good nite
olani- has quit [Ping timeout: 256 seconds]
prabhakarlad has joined #yocto
akiCA has quit [Ping timeout: 256 seconds]
florian_kc has quit [Ping timeout: 256 seconds]
alex88 has quit [Ping timeout: 268 seconds]
alex88 has joined #yocto
sgw has quit [Quit: Leaving.]
sgw has joined #yocto
RobertBerger has joined #yocto
rber|res has quit [Ping timeout: 240 seconds]
<khem> yolo: systemd on musl is not as bad as it used to me. We still carry few patches which are still questionable but Lennart has provided detailed feedback on them and how we can proceed to get some of them resolved upstream. Its just time. someone has to work through them
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
Kadar[m] has joined #yocto
nemik has quit [Ping timeout: 265 seconds]
olani- has joined #yocto
nemik has joined #yocto
nemik has quit [Ping timeout: 240 seconds]