poky/scripts/lib/wic/plugins/source
Ricardo Ribalda Delgado d19004da2f wic: Add --change-directory argument
This option allows to specify which part of a rootfs is going to be
included, the same way the -C argument on tar.

Thanks to this option we can make sure the permissions and usernames
on the target partition are respected, and also simplify the creation of
splitted partitons, not neeting to invoke external vars or using .wks.in
files. Eg:

part / --source rootfs --ondisk sda --fstype=ext4 --exclude-path=etc/   
part /etc --source rootfs --fstype=ext4 --change-directory=etc

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

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
..
bootimg-biosplusefi.py wic/plugins: Source that support both EFI and BIOS 2019-07-23 22:26:28 +01:00
bootimg-efi.py wic: add support for kernel with initramfs bundled 2019-07-17 19:25:02 +01:00
bootimg-partition.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
bootimg-pcbios.py wic: add support for kernel with initramfs bundled 2019-07-17 19:25:02 +01:00
isoimage-isohybrid.py isoimage-isohybrid.py: Parameterize ESP partition size 2019-11-10 14:06:10 +00:00
rawcopy.py wic: fix images build in parallel 2020-01-19 13:24:39 +00:00
rootfs.py wic: Add --change-directory argument 2020-04-26 14:00:50 +01:00