On Wed, Jul 30, 2014 at 05:28:13PM +0200, Jan Lübbe wrote: > Hi Jürgen! > > This looks good so far. > > On Wed, 2014-07-30 at 12:20 +0200, Juergen Borleis wrote: > > This change set adds a new option to the saveenv command which will > > write an empty environment without content. But it will be marked as a > > placeholder and thus should be "ignored" and barebox falls back to its > > built-in default environment. > > I haven't found where the environment loading is changed to implement > this behavior. Is a patch missing?
It's in the first patch. envfs_check_super is changed to return an error when the ENVFS_FLAGS_PLACEHOLDER flag is set. Then barebox will fall back to the default environment. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox