jffs2root/ext2root targets squash ownership even if option disabled
The ext2 and jffs2 targets both have options to set all file ownerships to root:root;
config BR2_TARGET_ROOTFS_EXT2_SQUASH
bool "Make all files be owned by root"
depends on BR2_TARGET_ROOTFS_EXT2
default y
If enabled, they pass an appropriate option to genext2fs / mkfs.jffs2 respectively.
However regardless of whether it's enabled, they both chown all the files to root:root anyway;
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
Does anyone know why? It appears to be a bug.
Hamish
Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>