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

Arnout Vandecappelle arnout at mind.be
Fri Jun 8 19:59:55 UTC 2018



On 08-06-18 19:19, Yann E. MORIN wrote:
> 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?

 No, we don't want to tweak fstab. There is no way to know if you want things to
be mounted in that particular way, and whether it should be mounted
automatically, and if some flags are needed, and so on.


 Regards,
 Arnout


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

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list