kumquat-buildroot/fs
Peter Korsgaard 655acd1df0 fs/common.mk: disable real chown calls in fakeroot
fakeroot by default forwards {f,l,}chown calls to libc and ignores
permission issues, which may cause issues when building in restricted
environments like user namespaces as set up with bubblewrap where a chown
call with a uid/gid not mapped in the user namespace instead returns EINVAL.
This error is not masked by fakeroot and returned to the caller, causing
failures.

There is no real reason to really perform the *chown calls in the context of
Buildroot (as the calls will likely just fail and files are not accessed
outside the fakeroot environment any way).

This forwarding can be disabled by setting the FAKEROOTDONTTRYCHOWN
environment variable, so set it when fakeroot is executed.

Reported-by: Esben Nielsen <nielsen.esben@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-04-06 19:12:09 +02:00
..
axfs
btrfs
cloop
cpio
cramfs
ext2
f2fs fs/f2fs: simplify overprovision option handling 2018-11-08 21:17:49 +01:00
initramfs
iso9660
jffs2
romfs
squashfs
tar fs/tar: add support for xattrs (thus capabilties) 2018-11-20 23:28:07 +01:00
ubi
ubifs
yaffs2
common.mk fs/common.mk: disable real chown calls in fakeroot 2019-04-06 19:12:09 +02:00
Config.in fs/f2fs: add support for creating a f2fs image 2018-11-03 15:14:47 +01:00