]> code.ossystems Code Review - openembedded-core.git/commit
wic: Add rootfs_dir argument to do_prepare_partition() method
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>
Sat, 29 Mar 2014 03:12:04 +0000 (00:12 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Mar 2014 09:01:58 +0000 (10:01 +0100)
commit6042b097a8fc24f2b85eb9848fb007a3c6c090a9
tree968b9d6e9c3b7b023049d11aa127202c99714fea
parent26cd93b79318cbfaebb971d1e728041904e015f1
wic: Add rootfs_dir argument to do_prepare_partition() method

The do_prepare_partition() method from RootfsPlugin class need
to know what will be the rootfs_dir. This makes sense when .wks
file has a partition set up like this:

  part /standby --source rootfs --rootfs-dir=<special rootfs> ...

then do_prepare_partition() will work with the correct rootfs.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/mic/pluginbase.py
scripts/lib/mic/plugins/source/bootimg-efi.py
scripts/lib/mic/plugins/source/bootimg-pcbios.py