mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
7cb17e3e9e
commit
f6a064d969
@@ -721,6 +721,12 @@ DESCRIPTION
|
||||
partition table. It may be useful for
|
||||
bootloaders.
|
||||
|
||||
--exclude-path: This option is specific to wic. It excludes the given
|
||||
absolute path from the resulting image. If the path
|
||||
ends with a slash, only the content of the directory
|
||||
is omitted, not the directory itself. This option only
|
||||
has an effect with the rootfs source plugin.
|
||||
|
||||
--extra-space: This option is specific to wic. It adds extra
|
||||
space after the space filled by the content
|
||||
of the partition. The final size can go
|
||||
|
||||
Reference in New Issue
Block a user