[Buildroot] [PATCH] fs: allow extra arguments to common tarball extraction

Yann E. MORIN yann.morin.1998 at free.fr
Fri Jun 8 17:19:41 UTC 2018


Arnout, All,

On 2018-06-07 23:03 +0200, Arnout Vandecappelle spake thusly:
> On 06-06-18 20:51, Yann E. MORIN wrote:
> > But my position has always been consistent on this topic: the images
> > that Buildroot generates only ever covers just "basic" situations, using
> > a single-filesystem layout. Anything that needs to do a multi-filesystem
> > layout should be done as a new filesystem. Doing it in a new filesystem
> > is much more flexible than whatever kconfig option we may ever add. And
> > since we already have this wonderful flexibility, I don't think it makes
> > sense to add a new option that duplicates only a very limited subset of
> > that flexibility. That duplication is not good, IMNSHO...
> 
>  There is (in my even less humble opinion) one way that we can solve this
> generically: by adding a genimage filesystem. genimage is able to create
> separate filesystem images for subtrees. so it can cover many use cases in a
> generic way.
> 
>  There are probably a few gotchas, but I still believe it should be possible.

Like tweaking the /etc/fstab accordingly, which genimage does not do on
its own?

So this "genimage fs" would not be so complex, but not so obvious either,
to write, as we'd need to have some additional script that does the fstab
tweaking... Probably that info would have to be scrapped out of the
genimage.cfg file.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list