From fcff05d666e55a017f11851aa4aad6c3ba9d4ff0 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 5 Sep 2017 14:54:39 +0300 Subject: wic: update help content Added ext* partitions to the description of 'wic ls', 'wic cp' and 'wic rm' commands. Signed-off-by: Ed Bartosh Signed-off-by: Ross Burton --- scripts/lib/wic/help.py | 64 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'scripts/lib/wic/help.py') diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index ccd3382324..83bd86e7c5 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py @@ -288,10 +288,10 @@ wic_ls_usage = """ List content of a partitioned image - usage: wic ls [:[]] [--native-sysroot ] + usage: wic ls [:[]] [--native-sysroot ] This command outputs either list of image partitions or directory contents - of vfat partitions. + of vfat and ext* partitions. See 'wic help ls' for more detailed instructions. @@ -300,17 +300,17 @@ wic_ls_usage = """ wic_ls_help = """ NAME - wic ls - List contents of partitioned image or vfat partitions + wic ls - List contents of partitioned image or partition SYNOPSIS wic ls - wic ls : - wic ls : - wic ls : --native-sysroot + wic ls : + wic ls : + wic ls : --native-sysroot DESCRIPTION This command lists either partitions of the image or directory contents - of vfat partitions. + of vfat or ext* partitions. The first form it lists partitions of the image. For example: @@ -319,7 +319,7 @@ DESCRIPTION 1 1048576 24438783 23390208 fat16 2 25165824 50315263 25149440 ext4 - Second and third form list directory content of vfat partition: + Second and third form list directory content of the partition: $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 Volume in drive : is boot Volume Serial Number is 2DF2-5F02 @@ -351,12 +351,12 @@ DESCRIPTION wic_cp_usage = """ - Copy files and directories to the vfat partitions + Copy files and directories to the vfat or ext* partition - usage: wic cp :[] [--native-sysroot ] + usage: wic cp :[] [--native-sysroot ] - This command copies local files or directories to the vfat partitions of partitioned - image. + This command copies local files or directories to the vfat or ext* partitions +of partitioned image. See 'wic help cp' for more detailed instructions. @@ -365,19 +365,19 @@ wic_cp_usage = """ wic_cp_help = """ NAME - wic cp - copy files and directories to the vfat partitions + wic cp - copy files and directories to the vfat or ext* partitions SYNOPSIS - wic cp : - wic cp : - wic cp : --native-sysroot + wic cp : + wic cp : + wic cp : --native-sysroot DESCRIPTION - This command copies files and directories to the vfat partition of the - wic image. + This command copies files and directories to the vfat or ext* partition of + the partitioned image. The first form of it copies file or directory to the root directory of - the vfat partition: + the partition: $ wic cp test.wks tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 Volume in drive : is boot @@ -393,7 +393,7 @@ DESCRIPTION 15 677 440 bytes free The second form of the command copies file or directory to the specified directory - on the vfat partition: + on the partition: $ wic cp test tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/ $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/ Volume in drive : is boot @@ -413,12 +413,12 @@ DESCRIPTION wic_rm_usage = """ - Remove files or directories from the vfat partitions + Remove files or directories from the vfat or ext* partitions - usage: wic rm : [--native-sysroot ] + usage: wic rm : [--native-sysroot ] - This command removes files or directories from the vfat partitions of partitioned - image. + This command removes files or directories from the vfat or ext* partitions of + the partitioned image. See 'wic help rm' for more detailed instructions. @@ -427,15 +427,15 @@ wic_rm_usage = """ wic_rm_help = """ NAME - wic rm - remove files or directories from the vfat partitions + wic rm - remove files or directories from the vfat or ext* partitions SYNOPSIS - wic rm : - wic rm : --native-sysroot + wic rm : + wic rm : --native-sysroot DESCRIPTION - This command removes files or directories from the vfat partition of the - wic image: + This command removes files or directories from the vfat or ext* partition of the + partitioned image: $ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 Volume in drive : is boot @@ -474,7 +474,7 @@ wic_write_usage = """ usage: wic write [--expand [rules]] [--native-sysroot ] - This command writes wic image to a target device (USB stick, SD card etc). + This command writes partitioned image to a target device (USB stick, SD card etc). See 'wic help write' for more detailed instructions. @@ -483,7 +483,7 @@ wic_write_usage = """ wic_write_help = """ NAME - wic write - write wic image to a device + wic write - write an image to a device SYNOPSIS wic write @@ -492,7 +492,7 @@ SYNOPSIS wic write --native-sysroot DESCRIPTION - This command writes wic image to a target device (USB stick, SD card etc) + This command writes an image to a target device (USB stick, SD card etc) $ wic write ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic /dev/sdb -- cgit 1.2.3-korg