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