[oe] [PATCH 14/15] meta-installer: add recipe core-image-anaconda
Hongxu Jia
hongxu.jia at windriver.com
Thu Nov 23 12:09:14 UTC 2017
In the host build, it generates a live iso image which runs anaconda
to do the installation.
Signed-off-by: Hongxu Jia <hongxu.jia at 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
More information about the Openembedded-devel
mailing list