[OE-core] [PATCH 0/3] wic: using indirect string to connect images

João Henrique Ferreira de Freitas joaohf at gmail.com
Sat Apr 5 02:14:08 UTC 2014


Now is possible to pass a image OE name or a rootfs directory.

The command-line param and .wks remains the some.

    wic create ... --rootfs-dir rootfs1=core-image-minimal \
        --rootfs-dir rootfs2=core-image-minimal-dev
    
    .wks:
    
      part / --source rootfs --rootfs-dir="rootfs1" --ondisk sda --fstype=ext3 \
        --label primary --align 1024
    
      part /standby --source rootfs --rootfs-dir="rootfs2" \
        --ondisk sda --fstype=ext3 --label secondary --align 1024

João Henrique Ferreira de Freitas (3):
  wic: Move find_bitbake_env_line() to oe.misc
  wic: add find_artifact() to get a specific bitbake variable
  wic: Extend indirect string connection to support image names and
    rootfs

 scripts/lib/image/engine.py              | 17 -----------------
 scripts/lib/mic/plugins/source/rootfs.py | 27 ++++++++++++++++++++++++---
 scripts/lib/mic/utils/oe/misc.py         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+), 20 deletions(-)

-- 
1.8.3.2



More information about the Openembedded-core mailing list