saveenv: provide a zeroed/empty/ignore environment
If an external environment storage should be used in very rare and special cases,
the intentional behaviour should be to ignore the external environment and always
fall back to the built-in environment. By storing an empty "to be ignored" environment
into the external environment a confusing error message about invalid CRC sums will go
away and still the built-in environment is used.
With this new option we can force the intentional behaviour.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 72ce27f commit e805b7dcb02bf7d8087a13175b02758ed60c5e23
@Juergen Borleis Juergen Borleis authored on 31 Jul 2014
Sascha Hauer committed on 1 Aug 2014
Showing 2 changed files
View
commands/saveenv.c
View
scripts/bareboxenv.c