In the host build, it generates a live iso image which runs anaconda to do the installation.
Signed-off-by: Hongxu Jia <hongxu....@windriver.com> --- .../images/core-image-anaconda.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-installer/recipes-installer/images/core-image-anaconda.bb diff --git a/meta-installer/recipes-installer/images/core-image-anaconda.bb b/meta-installer/recipes-installer/images/core-image-anaconda.bb new file mode 100644 index 0000000..9f50ca3 --- /dev/null +++ b/meta-installer/recipes-installer/images/core-image-anaconda.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "An image with Anaconda to do installation." + +LICENSE = "MIT" + +# Support installation from initrd boot +do_image_complete[depends] += "${PN}-initramfs:do_image_complete" + +DEPENDS += "isomd5sum-native \ +" + +CUSTOMIZE_LOGOS ??= "yocto-compat-logos" + +# We override what gets set in core-image.bbclass +IMAGE_INSTALL = "\ + packagegroup-core-boot \ + packagegroup-core-ssh-openssh \ + ${@['', 'packagegroup-installer-x11-anaconda'][bool(d.getVar('XSERVER', True))]} \ + python3-anaconda \ + anaconda-init \ + kernel-modules \ + ${CUSTOMIZE_LOGOS} \ + dhcp-client \ + ldd \ + " +IMAGE_LINGUAS = "en-us en-gb" + +# Generate live image +IMAGE_FSTYPES_remove = "wic wic.bmap" +IMAGE_FSTYPES_append = " live" +NOHDD = "1" + +IMAGE_ROOTFS_EXTRA_SPACE =" + 102400" + +inherit core-image anaconda_image -- 2.8.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel