Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] jffs2root/ext2root targets squash ownership even if option disabled
@ 2008-04-02  0:04 Hamish Moffatt
  0 siblings, 0 replies; only message in thread
From: Hamish Moffatt @ 2008-04-02  0:04 UTC (permalink / raw)
  To: buildroot

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
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-02  0:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02  0:04 [Buildroot] jffs2root/ext2root targets squash ownership even if option disabled Hamish Moffatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox