aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-06-13 14:22:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:18:20 +0100
commitf0dcf39d52185430422cb0c94c7fe99c12764acd (patch)
treefb09f4fa7d37d5585656a43008333412710e774b /scripts/lib/wic/engine.py
parentf3f0dadada1e297f2b54fa320bb817da7f755c1f (diff)
downloadopenembedded-core-contrib-f0dcf39d52185430422cb0c94c7fe99c12764acd.tar.gz
wic: add 'wic cp' command
Added empty 'wic cp' command that does nothing. The functionality will be added by the next commits. [YOCTO #11283] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
-rw-r--r--scripts/lib/wic/engine.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index 95c8d1cc22..f8f2844cf6 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -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.