poky/scripts/lib/mic
João Henrique Ferreira de Freitas ba65fe654a 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

(From OE-Core rev: 719d093c40e4c259a4c97d6c8a5efb5aeef5fd38)

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:35 +01:00
..
3rdparty/pykickstart wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
imager wic: Extend --rootfs-dir to connect rootfs-dirs 2014-03-30 10:10:35 +01:00
kickstart wic: Report all ROOTFS_DIR artifacts 2014-03-30 10:10:35 +01:00
plugins wic: Extend --rootfs-dir to connect rootfs-dirs 2014-03-30 10:10:35 +01:00
utils wic: Make exec_native_command() fail if a command isn't found 2014-02-20 14:28:13 +00:00
__init__.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
__version__.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
bootstrap.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
chroot.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
conf.py wic: Remove selinux_check() 2013-10-30 13:39:09 +00:00
creator.py wic: Remove dependency on rpmmisc 2013-10-23 07:14:10 +01:00
msger.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
plugin.py wic: Add SourcePlugin class 2014-02-04 12:57:35 +00:00
pluginbase.py wic: Add rootfs_dir argument to do_prepare_partition() method 2014-03-30 10:10:35 +01:00
rt_util.py wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00
test wic: Add mic w/pykickstart 2013-10-01 22:56:03 +01:00