mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
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. (From OE-Core rev: efdcf94801f6abe8e4099e324d9a3deccd8d4384) Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6bac089383
commit
242412656b
@@ -980,6 +980,14 @@ DESCRIPTION
|
||||
copies. This option only has an effect with the rootfs
|
||||
source plugin.
|
||||
|
||||
--embed-rootfs: This option is specific to wic. It embeds a rootfs into
|
||||
the given path to the resulting image. The option
|
||||
contains two fields, the roofs and the path, separated
|
||||
by a space. The rootfs follows the same logic as the
|
||||
rootfs-dir argument. Multiple options can be provided
|
||||
in order to embed multiple rootfs. 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