Thanks Craig, that worked!

On 8/7/07, Craig Hughes <> wrote:
On Aug 7, 2007, at 2:22 PM, C D wrote:

> Many thanks for the quick response!
> Sorry to be a pain but how can I disable root-squash?  (Some quick
> googling results were a bit ambiguous)
> In the mean-time, since we're 8 hours ahead here in the UK, I've
> left a build running overnight that doesn't create anything in
> target_skeleton and will only rely on an entry in
> device_table.txt.  However, the comments in device_table.txt seem
> to suggest that the directory/file must pre-exist before
> device_table.txt is processed so my build is probably in vein.
> Lets hope you're correct about root-squash.

Yes, I think the directories probably do need to exist.  The root-
squash thing is this option in the buildroot top-level:


   Prompt: Make all files be owned by

     Defined at target/jffs2/

     Depends on:


       -> Target

         -> jffs2 root filesystem (BR2_TARGET_ROOTFS_JFFS2


Turn that off to disable root-squashing.  I also see this in target/

        -$(STAGING_DIR)/usr/bin/fakeroot \
                -i $(STAGING_DIR)/fakeroot.env \
                -s $(STAGING_DIR)/fakeroot.env -- \
                chown -R root:root $(TARGET_DIR)

but that happens before, and separately from, the mkfs.jffs2
invocation which is is passed the device_table.txt; so I suspect that
if you disable root-squashing in the mkfs.jffs2 invocation (using
that config option above), then it'll work right.

This email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
gumstix-users mailing list