mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 03:47:03 +00:00
wic: rm with -r flag support
wic currently unable to remove non-empty directory in ext* partition. enable wic rm to remove non-empty directory and all the sub-content with -r flag. update help documents for 'wic rm'. [YOCTO #12404] (From OE-Core rev: 5cb7a329d0aaac8fe5328eb2001692c540aa5ade) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bdfab842eb
commit
3555766ea8
@@ -422,6 +422,7 @@ NAME
|
||||
SYNOPSIS
|
||||
wic rm <src> <image>:<partition><path>
|
||||
wic rm <src> <image>:<partition><path> --native-sysroot <path>
|
||||
wic rm -r <image>:<partition><path>
|
||||
|
||||
DESCRIPTION
|
||||
This command removes files or directories from the vfat or ext* partition of the
|
||||
@@ -456,6 +457,9 @@ DESCRIPTION
|
||||
|
||||
The -n option is used to specify the path to the native sysroot
|
||||
containing the tools(parted and mtools) to use.
|
||||
|
||||
The -r option is used to remove directories and their contents
|
||||
recursively,this only applies to ext* partition.
|
||||
"""
|
||||
|
||||
wic_write_usage = """
|
||||
|
||||
Reference in New Issue
Block a user