On Mon, 20 Jan 2020 at 22:31, Maxim Uvarov <[email protected]> wrote: > > --include-path can be used for placing files on ESP, > like dtbs. > > Signed-off-by: Maxim Uvarov <[email protected]> > --- > scripts/lib/wic/plugins/source/bootimg-efi.py | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/scripts/lib/wic/plugins/source/bootimg-efi.py > b/scripts/lib/wic/plugins/source/bootimg-efi.py > index 2cfdc10ecd..fa320a50b8 100644 > --- a/scripts/lib/wic/plugins/source/bootimg-efi.py > +++ b/scripts/lib/wic/plugins/source/bootimg-efi.py > @@ -289,6 +289,10 @@ class BootimgEFIPlugin(SourcePlugin): > mcopy_cmd = "mcopy -i %s -s %s/* ::/" % (bootimg, hdddir) > exec_native_cmd(mcopy_cmd, native_sysroot) > > + for path in part.include_path:
missed or [] like other plugins do. array can be not defined in wic plugins. Will send v2. > + mcopy_cmd = "mcopy -i %s -s %s/ ::/" % (bootimg, path) > + exec_native_cmd(mcopy_cmd, native_sysroot) > + > chmod_cmd = "chmod 644 %s" % bootimg > exec_cmd(chmod_cmd) > > -- > 2.17.1 > -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
