summaryrefslogtreecommitdiff
path: root/scripts/lib/mic/pluginbase.py
diff options
context:
space:
mode:
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>2014-03-29 00:12:04 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-30 10:01:58 +0100
commit6042b097a8fc24f2b85eb9848fb007a3c6c090a9 (patch)
tree968b9d6e9c3b7b023049d11aa127202c99714fea /scripts/lib/mic/pluginbase.py
parent26cd93b79318cbfaebb971d1e728041904e015f1 (diff)
downloadopenembedded-core-6042b097a8fc24f2b85eb9848fb007a3c6c090a9.tar.gz
openembedded-core-6042b097a8fc24f2b85eb9848fb007a3c6c090a9.tar.bz2
openembedded-core-6042b097a8fc24f2b85eb9848fb007a3c6c090a9.zip
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>
Diffstat (limited to 'scripts/lib/mic/pluginbase.py')
-rw-r--r--scripts/lib/mic/pluginbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/mic/pluginbase.py b/scripts/lib/mic/pluginbase.py
index e26b525dc3..9cf4c628d1 100644
--- a/scripts/lib/mic/pluginbase.py
+++ b/scripts/lib/mic/pluginbase.py
@@ -126,7 +126,7 @@ class SourcePlugin(_Plugin):
@classmethod
def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir,
- kernel_dir, native_sysroot):
+ kernel_dir, rootfs_dir, native_sysroot):
"""
Called to do the actual content population for a partition i.e. it
'prepares' the partition to be incorporated into the image.