summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-06-13 14:22:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:18:29 +0100
commitc869c1d6b234dc3aa5286f0b1d1b589c83c5fcfa (patch)
tree3b9de3f55ae73708d34d0b82cba7127a2ef972d3 /scripts/lib
parent94a03322b6333d014d7df6a8f278978f7307555c (diff)
downloadpoky-c869c1d6b234dc3aa5286f0b1d1b589c83c5fcfa.tar.gz
wic: add 'wic rm' command
Added empty 'wic rm' command that does nothing. The functionality will be added by the next commits. [YOCTO #11283] (From OE-Core rev: f8e42c13609c482359fbdb225fb16a45101ae9ae) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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 a48c4adafb..9a8055c05c 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -340,6 +340,13 @@ def wic_cp(args, native_sysroot):
340 disk = Disk(args.dest.image, native_sysroot) 340 disk = Disk(args.dest.image, native_sysroot)
341 disk.copy(args.src, args.dest.part, args.dest.path) 341 disk.copy(args.src, args.dest.part, args.dest.path)
342 342
343def wic_rm(args, native_sysroot):
344 """
345 Remove files or directories from the vfat partition of
346 partitioned image.
347 """
348 pass
349
343def find_canned(scripts_path, file_name): 350def find_canned(scripts_path, file_name):
344 """ 351 """
345 Find a file either by its path or by name in the canned files dir. 352 Find a file either by its path or by name in the canned files dir.