Draft: Enable Xen DomU root file system image in meta-trs

This patch set is to build root file system image for Xen DomU virtual machine.

It provides two options:

  • The first option is we create a image recipe (ewaol-vm-image.bb) and it is almost the same with trs-image.bb. As result, the recipe builds out a separate image trs-vm-image.rootfs.wic.qcow2 and then it will be copied into trs-image.
  • The second option is to use a shell script (in the last commit of this series) to append the trs-image's qcow2 file into the trs-image wic file. Since the shell script needs to use sudo permission to manuplate the file system image, we only can use a standalone shell script rather than using Yocto recipe.

Both approaches work well and are verified for booting Xen Dom0 and DomU on AVA platform.

Note, this patch set is dependent on below two patches: !66 (merged) !68 (merged)

Merge request reports

Loading