]> code.ossystems Code Review - openembedded-core.git/commit
wic: Add --embed-rootfs argument
authorRicardo Ribalda Delgado <ricardo@ribalda.com>
Wed, 4 Mar 2020 14:49:36 +0000 (15:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Apr 2020 13:25:55 +0000 (14:25 +0100)
commitefdcf94801f6abe8e4099e324d9a3deccd8d4384
tree498ee7ab9bf768dfdb95ea12ac6ab9d81e5928b9
parent36993eea89d1c011397b7692b9b8d61b499d0171
wic: Add --embed-rootfs argument

This option adds the content of a rootfs on a specific location on the
rootfs.

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 --embed-rootfs target-image /export --embed-rootfs target-image2 /export2

on the .wks file.

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/help.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/source/rootfs.py