summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
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:29 +0100
commitecefd3c55be30a4e77c7bc8a08e2828f47ce46da (patch)
tree8beb87743cb80310f8d37f94f852e923a33a5dd2 /scripts/lib/wic
parent87f30cfb447329fb0029684b78274c4a6d47b4a6 (diff)
downloadpoky-ecefd3c55be30a4e77c7bc8a08e2828f47ce46da.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] (From OE-Core rev: f0dcf39d52185430422cb0c94c7fe99c12764acd) 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')
-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):
309 path = args.path.path or '/' 309 path = args.path.path or '/'
310 print(disk.dir(args.path.part, path)) 310 print(disk.dir(args.path.part, path))
311 311
312def wic_cp(args, native_sysroot):
313 """
314 Copy local file or directory to the vfat partition of
315 partitioned image.
316 """
317 pass
318
312def find_canned(scripts_path, file_name): 319def find_canned(scripts_path, file_name):
313 """ 320 """
314 Find a file either by its path or by name in the canned files dir. 321 Find a file either by its path or by name in the canned files dir.