Commit Graph

9 Commits

Author SHA1 Message Date
Chee Yang Lee
017e7dc577 wic: remove APPEND from .wks.in
since wic took APPEND in env, APPEND are no longer required in
.wks.in. Remove APPEND from .wks.in to prevent duplicates
see commit:
https://git.openembedded.org/openembedded-core/commit/?id=18981b8a457104391dfd94938c247eac04e4ed50

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-18 10:22:29 +08:00
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
Ross Burton
b5a428bc6b wic: pass APPEND to bootloader
Rename the systemd and grub-efi .wks files to .wks.in, and replace all 'append'
entries apart from rootfstype (which is specific to the wks file) with
${APPEND}, so the values of APPEND from the BSP and user is respected.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-07 09:47:19 +08:00
Anuj Mittal
902d162d3e wic: add wks for enabling grub-efi bootloader
Use our own wks when grub-efi is used and make sure that microcode is
early loaded.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-06-04 16:00:42 +08:00
California Sullivan
4471c6835a wic: add systemd-bootdisk-microcode.wks
Add wic kickstart file that includes microcode as an initrd for early
update support.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2018-04-13 16:41:13 -07:00
Saul Wold
0f266744f7 Galileo: Remove remaining bits from RMC and WIC directory
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-08 15:04:46 -08:00
Saul Wold
a7cdcce8b4 core-image-tiny: Remove Quark reference and WKS file
Since Quark is getting depercated remove reference and WKS file

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-12-08 15:04:46 -08:00
Alejandro Hernandez
989db4c0e7 core-image-tiny: Provide a new image recipe for poky-tiny that boots from RAM
This new image recipe creates an image from the artifacts
obtained after building core-image-tiny-initramfs, it boots
directly to a tiny rootfs provided by initrd

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-09-15 14:13:16 -07:00
Saul Wold
248b47feb3 wic: Move WKS newer common location
This cleans up the wic scripts location to match the newer top-level
wic directory location.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-07-12 13:35:59 -07:00