wic: add 'wic cp' command

Added empty 'wic cp' command that does nothing.
The functionality will be added by the next commits.

[YOCTO #11283]

(From OE-Core rev: f0dcf39d52185430422cb0c94c7fe99c12764acd)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh
2017-06-13 14:22:00 +03:00
committed by Richard Purdie
parent 87f30cfb44
commit ecefd3c55b
2 changed files with 20 additions and 0 deletions

View File

@@ -309,6 +309,13 @@ def wic_ls(args, native_sysroot):
path = args.path.path or '/'
print(disk.dir(args.path.part, path))
def wic_cp(args, native_sysroot):
"""
Copy local file or directory to the vfat partition of
partitioned image.
"""
pass
def find_canned(scripts_path, file_name):
"""
Find a file either by its path or by name in the canned files dir.