Hi guys,

For my project, I changed the filesystem from ext4 to btrfs. The image builds 
and flashes fine, but when booting the system some mount problems occur because 
the root filesystem has UID 1000 all over it. So, when creating the filesystem, 
the directories are not created with root:root as owner. Some important notes:

* Currently I'm on the master branch to use the newest kernel 6.12, but when 
switching back to the scarthgap branch, the issue with permissions doesn't 
exist for a btrfs image. The filesystem mounts fine.
* I use Fedora 41 with a btrfs filesystem as build host, but I checked on an 
Ubuntu 24.04 machine with an ext4 filesystem as well and the issue still 
persists.
* I tried adding a fix with do_image[postfuncs] to run chown -R root:root on 
all directories, but the issue still persists...
* To test, I just mount the generated btrfs filesystem to my Fedora host and 
check the permissions with ls -lah

Has anyone experienced similar problems with btrfs? Or does anyone have an idea 
how to patch this?

Any help is appreciated! Thanks in advance!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64889): https://lists.yoctoproject.org/g/yocto/message/64889
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to