[Buildroot] [RFC] How to handle targets that need more than one file system to boot?
Jeremy Rosen
jeremy.rosen at openwide.fr
Thu Jan 3 08:52:36 UTC 2013
hello all
I have been thinking a bit about that recently for various reasons... AFAIK there are two approches
1) after buildroot has done its work use fakeroot or sudo to untar the tared root filesystem and then recreate
the various images you need for the different parts of your root fs
2) add a hook to buildroot to call a shell script to build custom filesystems during the filesystem creation phase
of buildroot... i.e within the fakeroot environement that buildroot uses to create its rootfs
I think that second approch is simpler for the user and is simple to implement in BR (it plugs well in the
current FS building mechanism) but I don't know if that's the direction BR is going...
the first approch is basically you making a script to run after buildroot, it's a bit complicated since you
need to be a bit familiar with how fakeroot and/or sudo works but it doesn't depends on any change in buildroot
Regards
Jérémy Rosen
fight key loggers : write some perl using vim
More information about the buildroot
mailing list