summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/help.py
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@mender.io>2017-02-06 17:16:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:44 -0800
commitf6a064d969f4149b2152ed2e851828acaaec07ca (patch)
tree4f4827393f14b47774169b304a38d0aba377ea31 /scripts/lib/wic/help.py
parent7cb17e3e9ecd82764ed317f221bc60127dad197d (diff)
downloadpoky-f6a064d969f4149b2152ed2e851828acaaec07ca.tar.gz
wic: Add --exclude-path option to rootfs source plugin.
It will omit the given path from the resulting partition, and if the given path ends in a slash, it will only delete the content, and keep the directory. Since mkfs only accepts whole directories as input, we need to copy the rootfs directory to the workdir so that we can selectively delete files from it. Since we want to use the copyhardlinktree() function, we need to put the generic oe lib in the module search path. (From OE-Core rev: 6602392db3d391d926dead49fcc54326015cfe35) Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r--scripts/lib/wic/help.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index 1bd411deeb..63bbc23a83 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -721,6 +721,12 @@ DESCRIPTION
721 partition table. It may be useful for 721 partition table. It may be useful for
722 bootloaders. 722 bootloaders.
723 723
724 --exclude-path: This option is specific to wic. It excludes the given
725 absolute path from the resulting image. If the path
726 ends with a slash, only the content of the directory
727 is omitted, not the directory itself. This option only
728 has an effect with the rootfs source plugin.
729
724 --extra-space: This option is specific to wic. It adds extra 730 --extra-space: This option is specific to wic. It adds extra
725 space after the space filled by the content 731 space after the space filled by the content
726 of the partition. The final size can go 732 of the partition. The final size can go