Thanks Craig, that worked!

On 8/7/07, Craig Hughes <craig@gumstix.com> 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:

   Symbol: BR2_TARGET_ROOTFS_JFFS2_SQUASH
[=n]

                                            
   Prompt: Make all files be owned by
root

                                                
     Defined at target/jffs2/Config.in:
40

                                                
     Depends on:
BR2_TARGET_ROOTFS_JFFS2



  
Location:


          
       -> Target
Options



         -> jffs2 root filesystem (BR2_TARGET_ROOTFS_JFFS2
[=y])

                            

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

        -$(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.

C
-------------------------------------------------------------------------
This SF.net 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 >>   http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users