meta-intel/wic
Chee Yang Lee ec0e7189cd wic: add image-installer.wks.in
This wks.in create image that perform installation similar to hddimg.
Partition in ext4 format allow rootfs size to be greater than hddimg
limit which is  4GB.

To build simple installer image, add below configuration to local.conf:

WKS_FILE = "image-installer.wks.in"
IMAGE_FSTYPES_append = " ext4"
IMAGE_TYPEDEP_wic = "ext4"
INITRD_IMAGE_LIVE="core-image-minimal-initramfs"
do_image_wic[depends] += "${INITRD_IMAGE_LIVE}:do_image_complete"
do_rootfs[depends] += "virtual/kernel:do_deploy"
IMAGE_BOOT_FILES_append = "\
    ${KERNEL_IMAGETYPE} \
    microcode.cpio \
    systemd-bootx64.efi;EFI/BOOT/bootx64.efi \
    ${IMAGE_ROOTFS}/boot/loader/loader.conf;loader/loader.conf \
    ${IMAGE_ROOTFS}/boot/loader/entries/boot.conf;loader/entries/boot.conf \
    ${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \
    "

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-20 10:03:55 +08:00
..
core-image-tiny.wks.in core-image-tiny: Provide a new image recipe for poky-tiny that boots from RAM 2017-09-15 14:13:16 -07:00
generic-bootdisk.wks.in wic: Move WKS newer common location 2017-07-12 13:35:59 -07:00
grub-bootdisk-microcode.wks.in wic: pass APPEND to bootloader 2019-03-07 09:47:19 +08:00
image-installer.wks.in wic: add image-installer.wks.in 2019-06-20 10:03:55 +08:00
systemd-bootdisk-microcode.wks.in wic: pass APPEND to bootloader 2019-03-07 09:47:19 +08:00