initfs: Add flash clear and update during init

Add code to clear the rwfs (preserving files from the whitelist)
during init, by a command line option.

Also allow it to be triggered by the file system not being a jffs2.

A console user can download images to /run/initramfs/ at the
debug-init-sh prompt for manual update.

Also add code but do not enable detecting images loaded into
initramfs / for future update options.  If enabled a custom initrd
with update images can be bulit (it would not fit in flash and
need to be netbooted).

Signed-off-by: Milton Miller <miltonm@us.ibm.com>
1 file changed
tree: 4ef5e24e444afb9711a55194b59e3cceaf060ff3
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE