* matthias.he...@atlas-elektronik.com <matthias.he...@atlas-elektronik.com> [141210 11:48]: > > -----Ursprüngliche Nachricht----- > > Von: Anders Darander [mailto:and...@chargestorm.se] > > Gesendet: Mittwoch, 10. Dezember 2014 11:24 > > An: Heise, Matthias > > Cc: j...@spectralogic.com; yocto@yoctoproject.org > > Betreff: Re: [yocto] nfs-boot problem
> > * matthias.he...@atlas-elektronik.com <Matthias.Heise@atlas- > > elektronik.com> [141210 09:35]: > > > As to the rootfs, this folder > > > fsl-community-bsp/build/tmp/work/wandboard_quad-poky-linux- > > gnueabi/cor > > > e-image-minimal/1.0-r0/rootfs seems to be exactly the structure that > > > is packed into the > > > image.tar.bz2 so I thought it is a good idea to directly use it as nfs > > > share. Is there some reason not to do so ? > > Well, there're quite few. For instance file and directory ownership, > > permissions etc. > Yes, I can see that > >If you're not using devtmpfs, and thus would like static > > device nodes, they wouldn't be created in the build directory. > This is a little beyond my horizon, if you don't mind, could you > please explain this a little, I may be lacking some knowledge here... > sorry Well, nowadays most people are letting the kernel create the device nodes itself (possibly with some extra help from udev/mdev). Though, on really tiny systems you might still want to manually create all device nodes statically during image create time. In that special case, the device node names will be available in the build directory .../rootfs, but they will be regular files, not device nodes. If you don't know about this, it's quite likely you don't have to bother with this at the moment. > > Thus, you really should be using the tarball when you want to run an > > nfsroot. > Tried again but again it didn't work, do you have an idea what could be wrong > ? What steps have you taken? How have you unpacked and exported the rootfs? If you have export e.g. /export/rootfs, it's usually enough (for a simple image at least) to run `sudo tar xf ....rootfs.tar.bz2`. Cheers, Anders -- Anders Darander ChargeStorm AB / eStorm AB -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto