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(path, fn, nopenfd, flag); > > So, it seems that the wrapper for the nftw() system call just forwards > it to the underlying system (the host, right?). Is that the reason why > the btrfs filesystem creation does work, but files are owned by the > build host user? > I'm guessing there need to be some code around it to support the "fake > root environment" that pseudo is trying to achieve? Yes, pretty much. I don't know from the top of my head if the ports/unix/* files are used in Linux env at all, but regardless, your understanding looks correct to me and I think you summarized the issue pretty well.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64904): https://lists.yoctoproject.org/g/yocto/message/64904 Mute This Topic: https://lists.yoctoproject.org/mt/111420988/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-