Ive got intel-cirei7-x64 built and i can see a wic image, i also note reading

c. Building the installer image
-----------------------------------------------

If you plan to install your image to your target machine, you can build a wic
based installer image instead of default wic image. To build it, you need to
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 \
     ${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \
     ${@bb.utils.contains('EFI_PROVIDER', 'grub-efi', 
'grub-efi-bootx64.efi;EFI/BOOT/bootx64.efi', '', d)} \
     ${@bb.utils.contains('EFI_PROVIDER', 'grub-efi', 
'${IMAGE_ROOTFS}/boot/EFI/BOOT/grub.cfg;EFI/BOOT/grub.cfg', '', d)} \
     ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', 
'systemd-bootx64.efi;EFI/BOOT/bootx64.efi', '', d)} \
     ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', 
'${IMAGE_ROOTFS}/boot/loader/loader.conf;loader/loader.conf ', '', d)} \
     ${@bb.utils.contains('EFI_PROVIDER', 'systemd-boot', 
'${IMAGE_ROOTFS}/boot/loader/entries/boot.conf;loader/entries/boot.conf', '', 
d)} "

Burn the wic image onto USB flash device, insert the device to target machine
and power on. This should start the installation process.

So ive done this, and have an image however wic create mkhybridiso -e 
core-image-minimal fails
ERROR: _exec_cmd: cd ./tmp.wic.a1g46_kx/INITRD && find . | cpio -o -H newc -R 
root:root >./tmp.wic.a1g46_kx/initrd.cpio  returned '2' instead of 0
output: /bin/sh: 1: cannot create ./tmp.wic.a1g46_kx/initrd.cpio: Directory 
nonexistent

so I guess the question is how do i achieve ending up with a iso image i can 
boot a vm in XEN from ?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6538): 
https://lists.yoctoproject.org/g/meta-intel/message/6538
Mute This Topic: https://lists.yoctoproject.org/mt/74322204/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to