init: Allow options to be fixed at build time

If the file /init-options exists copy it to the runtime location
/run/initramfs/init-options.

This allows an initramfs image to be built that will not parse
any u-boot or command line variables by adding a file into the
the image.  This can be done either through a recipe overlay or
additonal package today and could also be a cpio merged into the
initrd in the future.

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