poky/scripts/lib/wic
Ricardo Ribalda Delgado a293c76c53 wic: root: Add an opt. destination on include-path
Allow specifying an optional destination to include-path and make the
option aware of permissions and owners.

It is very useful for making a partition that contains the rootfs for a
host and a target Eg:

/ -> Roofs for the host
/export/ -> Rootfs for the target (which will netboot)

Although today we support making a partition for "/export" this might
not be compatible with some upgrade systems, or we might be limited by
the number of partitions.

With this patch we can use something like:

part / --source rootfs --fstype=ext4 --include-path core-image-minimal-mtdutils export/ --include-path hello

on the .wks file.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: e8c21c6ebaebde88151697381bdb2452f1171090)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
..
canned-wks qemux86: do not add vga=0 to kernel parameters 2020-02-18 23:53:54 +00:00
plugins wic: root: Add an opt. destination on include-path 2020-04-26 14:00:50 +01:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: use Filesystem UUID when expand swap partition 2020-04-26 14:00:50 +01:00
filemap.py wic/filemap: If FIGETBSZ iotctl fail, failback to os.stat 2020-01-02 16:39:13 +00:00
help.py wic: root: Add an opt. destination on include-path 2020-04-26 14:00:50 +01:00
ksparser.py wic: root: Add an opt. destination on include-path 2020-04-26 14:00:50 +01:00
misc.py wic: misc: Do not find for executables in ASSUME_PROVIDED 2020-04-26 14:00:50 +01:00
partition.py wic: Avoid creating invalid pseudo directory 2020-04-26 14:00:50 +01:00
pluginbase.py wic: align layer plugin path 2020-04-02 15:24:59 +01:00