Re: [yocto] SDK and what goes into it

2025-03-01 Thread Adrian Freihofer via lists.yoctoproject.org
Hi Thilo If you like to get one more layer of abstraction to what Alex already suggested, there is also the devtool ide-sdk tool which can bootstrap the SDK for you. If it gets called with --mode=shared it does exactly what Alex suggests. If it gets called without this option it defaults to "modif

Re: [yocto] Btrfs root filesystem permission issue

2025-03-01 Thread Lander0606 via lists.yoctoproject.org
Thanks for your response! I did have a look at the pseudo and btrfs-progs repository and noticed that the pseudo repository contains the following code in ./ports/unix/guts/ for the nftw() system call: rc = real_nftw(path, fn, nopenfd, flag); So, it seems that the wrapper for the nftw() system

Re: [yocto] Btrfs root filesystem permission issue

2025-03-01 Thread Gyorgy Sarvari via lists.yoctoproject.org
The reason seems to be this[1] update of btrfs-tools, which included this[2] commit. The important change is that previously mkfs.btrfs was using lstat syscall to get file stats, but then it switched to nftw libc function to do the same. Pseudo[3] however doesn't support this call - it "knows" that

Re: [yocto] Btrfs root filesystem permission issue

2025-03-01 Thread Gyorgy Sarvari via lists.yoctoproject.org
On 01.03.25 16:56, Lander0606 via Lists.Yoctoproject.Org wrote: > Thanks for your response! >   > I did have a look at the pseudo and btrfs-progs repository and noticed > that the pseudo repository contains the following code in > ./ports/unix/guts/ for the nftw() system call: >   > rc = real_nftw(

Re: [yocto] Btrfs root filesystem permission issue

2025-03-01 Thread Lander0606 via lists.yoctoproject.org
Nice! I did some research, but the only "improvement" I see would be to change the stat-struct in the callback to force UID/GID to 0. But for that, I think we need another callback function to wrap around the given callback to change the UID/GID. Unless I'm not seeing something or misunderstand