diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-03-29 00:12:08 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-30 10:01:58 +0100 |
commit | 719d093c40e4c259a4c97d6c8a5efb5aeef5fd38 (patch) | |
tree | 7dcaaf88343d4e1926f4d379e8cac385879ad414 /scripts/runqemu-ifup | |
parent | a8762f3be215678a6806cabe49647083f42323a8 (diff) | |
download | openembedded-core-719d093c40e4c259a4c97d6c8a5efb5aeef5fd38.tar.gz openembedded-core-719d093c40e4c259a4c97d6c8a5efb5aeef5fd38.tar.bz2 openembedded-core-719d093c40e4c259a4c97d6c8a5efb5aeef5fd38.zip |
wic: Extend --rootfs-dir to connect rootfs-dirs
The wic command-line param --rootfs-dir gets generalized to support
multiple directories. Each '--rootfs-dir' could be connected using a
special string, that should be present in .wks. I.e:
wic create ... --rootfs-dir rootfs1=/some/rootfs/dir \
--rootfs-dir rootfs2=/some/other/rootfs/dir
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
The user could use harded-code directory instead of connectors. Like this:
wic create ... hard-coded-path.wks -r /some/rootfs/dir
part / --source rootfs --ondisk sda --fstype=ext3 --label primary --align 1024
part /standby --source rootfs --rootfs-dir=/some/rootfs/dir \
--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 'scripts/runqemu-ifup')
0 files changed, 0 insertions, 0 deletions