pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
305 stars 110 forks source link

add --configdump option #173

Closed Villemoes closed 2 years ago

Villemoes commented 2 years ago

libconfuse has a cfg_print() function for sort-of pretty-printing a cfg_t* object. Let's expose that via a --configdump option, to make debugging of complicated setups with several layers of include() a little easier.

If I can get it to work, I will also be using the output dump directly on target, i.e. merely using the host genimage as a preprocessor - so that I can still reuse include() fragments in my image definition, but I don't have to copy all those files to target when bootstrapping the eMMC.

Signed-off-by: Rasmus Villemoes rasmus.villemoes@prevas.dk

Villemoes commented 2 years ago

Superseded by #174