mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
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. (From OE-Core rev: 6042b097a8fc24f2b85eb9848fb007a3c6c090a9) Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
25d16c4934
commit
550e931734
@@ -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.
|
||||
|
||||
@@ -96,7 +96,7 @@ class BootimgEFIPlugin(SourcePlugin):
|
||||
|
||||
@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.
|
||||
|
||||
@@ -124,7 +124,7 @@ class BootimgPcbiosPlugin(SourcePlugin):
|
||||
|
||||
@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.
|
||||
|
||||
Reference in New Issue
Block a user