diff options
author | Paul Barker <pbarker@konsulko.com> | 2020-01-08 11:25:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | 2c814462484e51d80f354fc3a28fdfb9aa396a5e (patch) | |
tree | 31b74368572c91731e8ad58e5f2b68e1c5bc5c59 /scripts/lib/wic/partition.py | |
parent | ab6e8dae1e9e3c96cd003b21825df61f553ebdc8 (diff) | |
download | poky-2c814462484e51d80f354fc3a28fdfb9aa396a5e.tar.gz |
wic: Add --include-path argument
This option adds the contents of the given path to a partition built
with the rootfs source plugin. The path is relative to the directory in
which wic is running not the rootfs itself so use of an absolute path
is recommended. This option is most useful when multiple copies of the
rootfs are added to an image and it is required to add extra content to
only one of these copies. This option only has an effect with the
rootfs source plugin.
(From OE-Core rev: d4cd27a9837426e809190548a83c6c7c76505114)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/partition.py')
-rw-r--r-- | scripts/lib/wic/partition.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index d809408e1a..2d95f78439 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -30,6 +30,7 @@ class Partition(): | |||
30 | self.device = None | 30 | self.device = None |
31 | self.extra_space = args.extra_space | 31 | self.extra_space = args.extra_space |
32 | self.exclude_path = args.exclude_path | 32 | self.exclude_path = args.exclude_path |
33 | self.include_path = args.include_path | ||
33 | self.fsopts = args.fsopts | 34 | self.fsopts = args.fsopts |
34 | self.fstype = args.fstype | 35 | self.fstype = args.fstype |
35 | self.label = args.label | 36 | self.label = args.label |