init: Use image of read only file system in RAM if present

If a read-only file system image is in /run, specifically
/run/image-rofs, then mount it instead of the mtd partition.

This will allow running from ram to allow the flash to be updated,
either from a downloaded image, a packaged image, or an image
copied at boot.

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