diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-04-04 23:14:11 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-13 19:35:06 +0100 |
commit | 58417093d7ce83c8a2f683a356fddc23aaee5e8e (patch) | |
tree | 56df8f2b6b0eed9f7179cbf3f6ff0dcdcb2c4361 /meta/recipes-devtools | |
parent | b8e51f73bc8e67ca60b7dd8d67091257aad62efd (diff) | |
download | openembedded-core-58417093d7ce83c8a2f683a356fddc23aaee5e8e.tar.gz openembedded-core-58417093d7ce83c8a2f683a356fddc23aaee5e8e.tar.bz2 openembedded-core-58417093d7ce83c8a2f683a356fddc23aaee5e8e.zip |
wic: Extend indirect string connection to support image names and rootfs
The wic command-line param --rootfs-dir gets extended to support
multiple directories and image names. Each '--rootfs-dir' could be
connected using a special string. This special string is a image
name which gets expanded by bitbake to get 'IMAGE_ROOTFS' or
a rootfs-dir path pointing to rootfs directory. Like this:
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
Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions