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