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
Chocky has quit [Quit: Leaving.]
Chocky has joined #yocto
otavio has quit [Remote host closed the connection]
florian_kc has quit [Ping timeout: 240 seconds]
geoffhp has joined #yocto
camus has quit [Ping timeout: 255 seconds]
davidinux has quit [Ping timeout: 272 seconds]
davidinux has joined #yocto
camus has joined #yocto
Omax has quit [Ping timeout: 252 seconds]
jclsn has quit [Ping timeout: 246 seconds]
jclsn has joined #yocto
Omax has joined #yocto
kpo_ has quit [Ping timeout: 258 seconds]
amitk has joined #yocto
amitk has quit [Ping timeout: 240 seconds]
amitk has joined #yocto
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #yocto
Vonter has quit [Ping timeout: 252 seconds]
Vonter has joined #yocto
alessioigor has joined #yocto
xmn has quit [Ping timeout: 272 seconds]
davidinux has quit [Ping timeout: 255 seconds]
davidinux has joined #yocto
jmd has joined #yocto
Vonter has quit [Ping timeout: 246 seconds]
Vonter has joined #yocto
brrm has quit [Ping timeout: 264 seconds]
ablu has joined #yocto
ablu has quit [Remote host closed the connection]
brrm has joined #yocto
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
ablu has joined #yocto
ablu has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 260 seconds]
ablu has joined #yocto
linfax has joined #yocto
Daanct12 has joined #yocto
rfuentess has joined #yocto
goliath has joined #yocto
rfuentess has quit [Remote host closed the connection]
rfuentess has joined #yocto
Kubu_work has joined #yocto
Daanct12 has quit [Ping timeout: 246 seconds]
mckoan_ is now known as mckoan
Daanct12 has joined #yocto
<mckoan> good morning
<alessioigor> good morning to you too
frieder has joined #yocto
radanter has joined #yocto
rfuentess has quit [Remote host closed the connection]
olani- has joined #yocto
rfuentess has joined #yocto
landgraf has joined #yocto
Guest89 has joined #yocto
goliath has quit [Remote host closed the connection]
goliath has joined #yocto
goliath has quit [Remote host closed the connection]
goliath has joined #yocto
<Guest89> Hello everyone. My colleagues and me are trying to set up a Yocto build environment that uses the downloads/sstate-cache dirs in a common NFS share. In order to let one add files to directories created by other, we added BB_DEFAULT_UMASK = "002" to our local.confs . This worked well at first, but when building a complete image BitBake fails with
<Guest89> several errors "X conflicts between attempted installs of Y and Z", where X is a rootfs directory. Turns out that X was created with permissions 775 instead of 755, so it seems the new umask "leaks" into the rootfs. Did we use the wrong variable or is it a BitBake bug? Thanks for any info!
mbulut has joined #yocto
Guest89 is now known as egueli
mbulut_ has joined #yocto
mbulut_ has quit [Client Quit]
leon-anavi has joined #yocto
mbulut has quit [Ping timeout: 255 seconds]
Max86 has joined #yocto
mvlad has joined #yocto
<mckoan> egueli: AKA Guest89: AFAIK and IIRC Yocto sstate doesn0t work with NFS
<egueli> mckoan I wish I knew that before... any idea why doesn't it work exactly? note that the tmp directory is local, only downloads & sstate-cache are in NFS
<Max86> Hello!,
<Max86> i'm currently building a function that generate an id and append it to the /etc/os-release file on every build.
<Max86> The function is working without any problems, but the build fails with "path mismatch [1 link]: ino ... db".
<Max86> This problem is only when i modify existing files
<Max86> Why is this happening? Is there a file hash check?
<RP> egueli: we do use NFS for sstate and downloads on the autobuilder so it can and does work
<RP> egueli: is that an older release? We did make some umask fixes a while ago
<RP> mckoan: FWIW we can run sstate and downloads over NFS
<egueli> RP working on Mickledore
<RP> egueli: that is new enough to have what I was thinking of
<RP> egueli: oh, you changed BB_DEFAULT_UMASK? :/
<egueli> RP I had to, otherwise if user A creates a directory there, user B cannot add a cache entry because of 755 permissions
<RP> egueli: there is a bug open in bugzilla about pseudo not creating sstate files with the right permissions in some cases iirc. We've not narrowed it down or managed to fix that one yet and I suspect that is what you're running into. Changing the overall umask will have other side effects
<egueli> I might have found a workaround: add entries to fs-perms.txt to clarify what are the expected directory permissions
olani- has quit [Ping timeout: 240 seconds]
<egueli> I then ran "-c cleansstate" on all the affected recipes and... I just got a successful build 😀
<RP> egueli: you really want to fix the pseudo/sstate issue separately to the main umask values or you'll be chasing a ton of issues everyone else doens't see
<egueli> @RP: do you have a reference for that bug?
Vonter has joined #yocto
<RP> egueli: I looked but I can't find it. Perhaps it was closed as fixed? :/
<egueli> RP: no worries, thanks for the heads-up anyway
<RP> egueli: please reopen if you can describe how to reproduce it
egueli has quit [Quit: Client closed]
Guest89 has joined #yocto
Guest89 is now known as egueli
<egueli> RP: will try, cheers
OnkelUlla has joined #yocto
florian_kc has joined #yocto
prabhakarlad has quit [Quit: Client closed]
<egueli> RP: if I understand correctly from the bug, BitBake is supposed to make sstate-cache entries with 775 by default? i.e. without using BB_DEFAULT_UMASK ?
schtobia has quit [Quit: Bye!]
schtobia has joined #yocto
florian_kc is now known as florian
<Rich_1234> If I want to launch a full-screen application on boot (akin to Windows kiosk mode). Is launching the program as a daemon as part of an sysvinit script e.g. add (/etc/init.d/myscript) generally the way to go?
ptsneves has joined #yocto
<mckoan> Rich_1234: yes
<Rich_1234> mckoan thanks, I just wanted to check before I spent too much time on that
<Max86> I found the reason for the issue (https://wiki.yoctoproject.org/wiki/Pseudo_Abort) But how can i avoid this issue when i modifiy files?
olani- has joined #yocto
olani- has quit [Ping timeout: 240 seconds]
olani- has joined #yocto
<kanavin> RP: thanks, I'll try to dig into it
olani- has quit [Ping timeout: 245 seconds]
olani- has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
starblue has quit [Ping timeout: 255 seconds]
olani- has quit [Remote host closed the connection]
starblue has joined #yocto
<rburton> Rich_1234: depends on the context of the system. an init script will run as root and not neccessarily have permission to access the x/wayland server. if you're running a graphical session start the thing in there. systemd also has user sessions and user startup units which are better too.
<Rich_1234> rburton just to clarify, do you mean if I make init.d/myscript and I had weston I would basically add weston-start to myscript? Or you mean something like add a cron job on start to just launch the app when weston has finished loading. I may take a look at systemd also ty
<rburton> Rich_1234: if you're using weston then i'd recommend switching to systemd, bringing up weston in a user session and starting your app the same way
otavio has joined #yocto
<Rich_1234> rburton thanks, I will give that a go
frieder has quit [Ping timeout: 240 seconds]
prabhakarlad has joined #yocto
florian_kc has joined #yocto
<rburton> yocton:
<rburton> whoops
varjag has joined #yocto
<RP> egueli: I think our intent was to use the user's umask
frieder has joined #yocto
egueli has quit [Quit: Client closed]
GNUmoon2 has joined #yocto
tgamblin has joined #yocto
tnovotny has joined #yocto
Chocky1 has joined #yocto
Chocky2 has joined #yocto
Chocky has quit [Ping timeout: 264 seconds]
<Rich_1234> Why does setting INIT_MANAGER to systemd add a dependency of xwayland, I feel like I am missing something here. The systemd recipe https://layers.openembedded.org/layerindex/recipe/300915/  doesn't seem to list x as a dependency unless something like libxkbcommon defaults to using x11 over wayland
Chocky1 has quit [Ping timeout: 260 seconds]
Chocky2 has quit [Ping timeout: 248 seconds]
Danct12 has quit [Read error: Connection reset by peer]
Daanct12 has quit [Quit: WeeChat 4.1.1]
xmn has joined #yocto
<Rich_1234> nevermind, I think it must have been a mistake in my local.conf
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #yocto
DvorkinDmitry has joined #yocto
<DvorkinDmitry> is there are any recommendations/recipes to have encrypted rootfs for Yocto?
<mcfrisk> any hints how to handle private keys and password related secrets in builds? I'm trying to avoid magic tar balls and env variables
Danct12 has joined #yocto
Danct12 has quit [Client Quit]
Guest38 has joined #yocto
Guest38 is now known as egueli
frieder has quit [Ping timeout: 272 seconds]
diecore has joined #yocto
<diecore> Hello! When I try to build the kernel with bitbake virtual/kernel using a custom recipe for the kernel, build complains and gives me errors because -std=c99 or c11 is not enabled. How can I add it ?
<LetoThe2nd> diecore: "the build complains"?
frieder has joined #yocto
tnovotny has quit [Quit: Leaving]
Danct12 has joined #yocto
<rburton> diecore: sounds like your custom recipe is broken, not the compiler
<diecore> :LetoThe2nd :rburton The build complains if my module is written with c99 style if not all are OK
rfuentess has quit [Remote host closed the connection]
<diecore> for example if I have the variable declariation inside for loop which is allowed in c99
<KanjiMonster> probably easiest solution is to not do that and just follow the kernel code style ;p
<diecore> We have 2023 and we still writing code in the kernel like C90 ?
emdevt__ has quit [Quit: Leaving]
<rburton> diecore: you could just extend the CFLAGS
<KanjiMonster> yeah, placing a CFLAGS += -std=c99 in your module's Makefile should work
<KanjiMonster> but if you ever want to contribute your code, you will need to adapt to kernel style
Tyaku has joined #yocto
goliath has quit [Quit: SIGSEGV]
<Tyaku> Hello, I have questions about Java applications in Yocto: Currently we have a recipe that generate a .jar and the .jar is executed directly in the image using "java" application. To make it working we use a runtime dependancy on "openjdk-8". The problem of this is that "openjdk-8" takes a lot of space.
<Tyaku> So we are looking for alternatives to reduce the disk usage for the unique JAVA application that we need to run
<rburton> wouldn't you use the JRE not the JDK for target?
<Tyaku> I found graalvm that seems to work in ubuntu, this software can be used to generate a binary from a JAR file, the binary is like 10Mo in our case. I didn't try this on yocto yet so I don't know if it works and I didn't check the licences too.
<Tyaku> But I would like to know if there is know alternatives like this in yocto*
<Tyaku> rburton, we use the jdk, but the jre should work and reduce some size
<rburton> Tyaku: https://github.com/meta-java/meta-java is where all the java stuff that is already integrated is
<rburton> using the jre will save space for sure, or sure you can compile to binary. no idea if graalvm has been tried by anyone.
LocutusOfBorg has quit [Read error: Connection reset by peer]
LocutusOfBorg has joined #yocto
<jonmason> If there is anyone in the RTP area looking for work, just got pinged by a recruiter and happy to pass it along
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
nerdboy has quit [Ping timeout: 240 seconds]
frieder has quit [Remote host closed the connection]
Marmottus has quit [Quit: The Lounge - https://thelounge.chat]
Marmottus has joined #yocto
Marmottus has quit [Client Quit]
Marmottus has joined #yocto
Marmottus has quit [Client Quit]
Marmottus has joined #yocto
ptsneves has quit [Ping timeout: 255 seconds]
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
Max86 has quit [Quit: Client closed]
leon-anavi has quit [Quit: Leaving]
linfax has quit [Ping timeout: 248 seconds]
<Tyaku> So, the openjdk-8 takes 128,8 Mo on the rootfs, the openjre-8 takes 89.6Mo, this is still to much. Tommorow I will check what is in meta-java, if there is a solution like GraalVM that permits to "build" a java application as binary with embedded JVM, as minimal as possible (so with only required features)
<Tyaku> If not, I will try to use GraalVM to check if it works and what kind of "size" we can get. In a Ubuntu computer the executable takes just 10Mo and doesn't require externals stuffs.
<Tyaku> Also I have a dummy question, nothing to see with it.
<Tyaku> It's about "licencing". In my company we are not good with it. We would like to know, if it is real that when we use some software or libraries in a yocto image, the user must be able to upgrade the software/library when he want or not ? Because I eard this somewhere
<Rich_1234> Tyaku Our company isn't the best at licencing either. Something like LGPL, the user must be allowed to upgrade the software component that is LGPL'd, e.g. if you use a specific QT version, you must then allow the user to update that QT version which may cause problems with safety critical devices. Then there is GPLv2 and GPLv3. All more confusing
<Rich_1234> than the good old MIT licence
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<rburton> Tyaku: that's 4e of the LGPL i imagine. lots of ifs in there...
<rburton> i imagine you're a 4d1 user of LGPL code, that is "dynamically linking"
mckoan is now known as mckoan|away
<rburton> the fun is the installation information clause in the GPL
florian_kc has quit [Ping timeout: 248 seconds]
Kubu_work has quit [Quit: Leaving.]
florian has quit [Quit: Ex-Chat]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
<Tyaku> Yep, but changing a shared library at runtime in a "personnal computer" is one thing but doing it on an embedded device with yocto/openwrt means: the user need to have access to ssh/serial console or be able to flash a custom image. I don't know any company allowing this.
<Tyaku> For the 4.e, maybe in case of a yocto project, we must simply provide the yocto project used to build, with local.conf and all the layers being used for the build, but who do it ?
<Tyaku> I mean "providing the sources of the yocto project being used is enough to provide 'Provide Installation Information'", but is too much for a company.
<Tyaku> Not only for the sources, but more for the necessary to provide a way for the user to "enter" in the device;
radanter has quit [Remote host closed the connection]
jmd` has joined #yocto
Marmottus has quit [Quit: The Lounge - https://thelounge.chat]
Marmottus has joined #yocto
Marmottus has quit [Quit: The Lounge - https://thelounge.chat]
Marmottus has joined #yocto
Bardon_ has quit [Ping timeout: 240 seconds]
<khem> LGPL3 is more like GPL2 than LGPL-2.1
Vonter has quit [Ping timeout: 258 seconds]
Bardon has joined #yocto
Vonter has joined #yocto
egueli has quit [Quit: Client closed]
jmd` has quit [Remote host closed the connection]
Bardon_ has joined #yocto
Bardon has quit [Ping timeout: 272 seconds]
nerdboy has quit [Ping timeout: 240 seconds]
kpo_ has joined #yocto
GNUmoon2 has quit [Ping timeout: 256 seconds]
amitk has quit [Ping timeout: 255 seconds]
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
ferry_ has joined #yocto
justache is now known as justHaunted
Bardon has joined #yocto
Bardon_ has quit [Ping timeout: 248 seconds]
prabhakarlad has quit [Quit: Client closed]
Haxxa has quit [Quit: Haxxa flies away.]
Haxxa has joined #yocto
<LetoThe2nd> I just had a meeting with some people who boasted that they landed a deal because their customers switched to Yocto. Then they asked me why anybody is still doing that, because you know, why not just buy something off the shelf. And when I said "selling a device with Linux on it effectively makes you a Linux distributor", they jaw-dropped.
* LetoThe2nd facepalms.
rcw has joined #yocto
<LetoThe2nd> YAY for compliance.
goliath has joined #yocto
ferry_ has quit [Quit: http://quassel-irc.org - Chat comfortabel. Waar dan ook.]
jmd` has joined #yocto
alessioigor has quit [Quit: alessioigor]
<RP> khem: looks like removing libcroco from oe-core has a knock on effect for meta-oe :(
<DvorkinDmitry> is there are any recommendations/recipes to have encrypted rootfs for Yocto?
<LetoThe2nd> DvorkinDmitry: it depends a bit on where you start with the chain of trust.
<LetoThe2nd> DvorkinDmitry: maybe looking at the secured boot topics related to NXP HAB can help you. I think Bootlin has done a bit in that area.
prabhakarlad has joined #yocto
<DvorkinDmitry> LetoThe2nd, probably the something simplest based on dm-crypto with TPM (or not). fscrypt is not working with my kernel
florian_kc has joined #yocto
<LetoThe2nd> DvorkinDmitry: key thought is: where do you get the key from?
<DvorkinDmitry> LetoThe2nd, I just want to try. Later will think - if I'll use OTP...
diecore has quit [Quit: Konversation terminated!]
<LetoThe2nd> DvorkinDmitry: you suffer the usual inversion of thought priority. but anyways, maybe https://github.com/jiazhang0/meta-secure-core helps you.
jmd` has quit [Remote host closed the connection]
jmd has quit [Remote host closed the connection]
<DvorkinDmitry> LetoThe2nd, thank you! Very interesting! any other ideas what to read as the starting point?
<LetoThe2nd> Not right off the bat, sorry
<khem> RP: I dont think so, I did check for any recipe needing it and found none in meta-openembedded
<RP> khem: meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
florian_kc is now known as florian
Bardon has quit [Ping timeout: 252 seconds]
<moto-timo> did we ever implement the OVF (open virtual format) VM format? I know we still have vmdk, but VirtualBox on Ubuntu 22.04 only seems to recognize .ovf
Bardon has joined #yocto
mvlad has quit [Remote host closed the connection]
Danct12 has quit [Read error: Connection reset by peer]
<khem> RP: interesting how does it detect that ? recipe does not list it as dep
<khem> ah master-next has the needed changes
<khem> that explains it
<khem> it will be fixed soon in master too I am just waiting on some CI jobs to finish
pabigot has quit [Ping timeout: 255 seconds]
pabigot has joined #yocto
Danct12 has joined #yocto
<JPEW> Nope. I'll look into it
<RP> JPEW: I've stopped the build since I think we'd drown in warnings
<RP> (and thanks)
* moto-timo realizes OVF is a folder and OVA is the zipfile and I know nothing about VirtualBox formats.
<moto-timo> also .ovf is the text file with metadata... just to keep everybody confused
sakoman has quit [Ping timeout: 246 seconds]
sakoman has joined #yocto
smurray_ has joined #yocto
wkennington_ has joined #yocto
sakman_ has joined #yocto
simond4722 has joined #yocto
Piraty_ has joined #yocto
wak has quit [Ping timeout: 264 seconds]
smurray has quit [Ping timeout: 264 seconds]
rfs613 has quit [Ping timeout: 264 seconds]
simond472 has quit [Ping timeout: 264 seconds]
u4ia has quit [Ping timeout: 264 seconds]
simond4722 is now known as simond472
Piraty has quit [Ping timeout: 264 seconds]
sakman has quit [Ping timeout: 264 seconds]
smurray_ is now known as smurray
u4ia has joined #yocto
rfs613 has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep has joined #yocto
lexano has quit [Ping timeout: 255 seconds]
goliath has quit [Quit: SIGSEGV]