From bf06e8360baf2c84257e82f4153e13e62708568a Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Thu, 9 Apr 2026 00:02:52 +0800 Subject: meta-intel/wic: Move to files/wic To align with the new search paths, move the files to the new location. Signed-off-by: Yogesh Tyagi --- files/wic/core-image-tiny.wks.in | 14 ++++++++++++++ files/wic/generic-bootdisk.wks.in | 6 ++++++ files/wic/grub-bootdisk-microcode.wks.in | 12 ++++++++++++ files/wic/image-installer.wks.in | 8 ++++++++ files/wic/systemd-bootdisk-microcode.wks.in | 13 +++++++++++++ wic/core-image-tiny.wks.in | 14 -------------- wic/generic-bootdisk.wks.in | 6 ------ wic/grub-bootdisk-microcode.wks.in | 12 ------------ wic/image-installer.wks.in | 8 -------- wic/systemd-bootdisk-microcode.wks.in | 13 ------------- 10 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 files/wic/core-image-tiny.wks.in create mode 100644 files/wic/generic-bootdisk.wks.in create mode 100644 files/wic/grub-bootdisk-microcode.wks.in create mode 100644 files/wic/image-installer.wks.in create mode 100644 files/wic/systemd-bootdisk-microcode.wks.in delete mode 100644 wic/core-image-tiny.wks.in delete mode 100644 wic/generic-bootdisk.wks.in delete mode 100644 wic/grub-bootdisk-microcode.wks.in delete mode 100644 wic/image-installer.wks.in delete mode 100644 wic/systemd-bootdisk-microcode.wks.in diff --git a/files/wic/core-image-tiny.wks.in b/files/wic/core-image-tiny.wks.in new file mode 100644 index 00000000..b0decae6 --- /dev/null +++ b/files/wic/core-image-tiny.wks.in @@ -0,0 +1,14 @@ +# short-description: Create an EFI disk image with systemd-boot and corei7-64/core2-32 +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. The selected bootloader is systemd-boot. +# This disk image is meant to be used by corei7-64/core2-32 and core-image-tiny-initramfs + +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024 + +bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" + +# Some devices require different console parameters, the console parameter can be given repeatedly, input is taken +# only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show +# a login prompt on its video output and not on the serial terminal. +# +# See http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html diff --git a/files/wic/generic-bootdisk.wks.in b/files/wic/generic-bootdisk.wks.in new file mode 100644 index 00000000..31c708bc --- /dev/null +++ b/files/wic/generic-bootdisk.wks.in @@ -0,0 +1,6 @@ +# based off of refkit's refkit-directdisk.wks.in kickstart template +# uses the image's boot directory to populate a vfat boot partition, +# which works with EFI. +bootloader --ptable gpt +part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid +part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID} diff --git a/files/wic/grub-bootdisk-microcode.wks.in b/files/wic/grub-bootdisk-microcode.wks.in new file mode 100644 index 00000000..7dc66f98 --- /dev/null +++ b/files/wic/grub-bootdisk-microcode.wks.in @@ -0,0 +1,12 @@ +# short-description: Create an EFI disk image with grub-efi +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. The selected bootloader is grub-efi. +# It also includes intel-microcode as an initrd for early update support. + +part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid + +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid + +part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid + +bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 " diff --git a/files/wic/image-installer.wks.in b/files/wic/image-installer.wks.in new file mode 100644 index 00000000..933e8d85 --- /dev/null +++ b/files/wic/image-installer.wks.in @@ -0,0 +1,8 @@ +# create an installer disk image +# populate content to install using IMAGE_BOOT_FILES + +part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},title=install,label=install-efi,initrd=microcode.cpio;${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" --ondisk sda --label install --active --align 1024 --use-uuid + +part / --source bootimg-partition --ondisk sda --fstype=ext4 --label image --use-uuid --align 1024 + +bootloader --ptable gpt --timeout=5 --append=" rootwait " diff --git a/files/wic/systemd-bootdisk-microcode.wks.in b/files/wic/systemd-bootdisk-microcode.wks.in new file mode 100644 index 00000000..925c1fa3 --- /dev/null +++ b/files/wic/systemd-bootdisk-microcode.wks.in @@ -0,0 +1,13 @@ +# short-description: Create an EFI disk image with systemd-boot +# long-description: Creates a partitioned EFI disk image that the user +# can directly dd to boot media. The selected bootloader is systemd-boot. +# It also includes intel-microcode as an initrd for early update support. +# Based on OE-core's systemd-bootdisk.wks file. + +part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid + +part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid + +part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid + +bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 " diff --git a/wic/core-image-tiny.wks.in b/wic/core-image-tiny.wks.in deleted file mode 100644 index b0decae6..00000000 --- a/wic/core-image-tiny.wks.in +++ /dev/null @@ -1,14 +0,0 @@ -# short-description: Create an EFI disk image with systemd-boot and corei7-64/core2-32 -# long-description: Creates a partitioned EFI disk image that the user -# can directly dd to boot media. The selected bootloader is systemd-boot. -# This disk image is meant to be used by corei7-64/core2-32 and core-image-tiny-initramfs - -part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024 - -bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5" - -# Some devices require different console parameters, the console parameter can be given repeatedly, input is taken -# only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show -# a login prompt on its video output and not on the serial terminal. -# -# See http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/configure-kernel.html diff --git a/wic/generic-bootdisk.wks.in b/wic/generic-bootdisk.wks.in deleted file mode 100644 index 31c708bc..00000000 --- a/wic/generic-bootdisk.wks.in +++ /dev/null @@ -1,6 +0,0 @@ -# based off of refkit's refkit-directdisk.wks.in kickstart template -# uses the image's boot directory to populate a vfat boot partition, -# which works with EFI. -bootloader --ptable gpt -part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid -part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID} diff --git a/wic/grub-bootdisk-microcode.wks.in b/wic/grub-bootdisk-microcode.wks.in deleted file mode 100644 index 7dc66f98..00000000 --- a/wic/grub-bootdisk-microcode.wks.in +++ /dev/null @@ -1,12 +0,0 @@ -# short-description: Create an EFI disk image with grub-efi -# long-description: Creates a partitioned EFI disk image that the user -# can directly dd to boot media. The selected bootloader is grub-efi. -# It also includes intel-microcode as an initrd for early update support. - -part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid - -part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid - -part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid - -bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 " diff --git a/wic/image-installer.wks.in b/wic/image-installer.wks.in deleted file mode 100644 index 933e8d85..00000000 --- a/wic/image-installer.wks.in +++ /dev/null @@ -1,8 +0,0 @@ -# create an installer disk image -# populate content to install using IMAGE_BOOT_FILES - -part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},title=install,label=install-efi,initrd=microcode.cpio;${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" --ondisk sda --label install --active --align 1024 --use-uuid - -part / --source bootimg-partition --ondisk sda --fstype=ext4 --label image --use-uuid --align 1024 - -bootloader --ptable gpt --timeout=5 --append=" rootwait " diff --git a/wic/systemd-bootdisk-microcode.wks.in b/wic/systemd-bootdisk-microcode.wks.in deleted file mode 100644 index 925c1fa3..00000000 --- a/wic/systemd-bootdisk-microcode.wks.in +++ /dev/null @@ -1,13 +0,0 @@ -# short-description: Create an EFI disk image with systemd-boot -# long-description: Creates a partitioned EFI disk image that the user -# can directly dd to boot media. The selected bootloader is systemd-boot. -# It also includes intel-microcode as an initrd for early update support. -# Based on OE-core's systemd-bootdisk.wks file. - -part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid - -part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid - -part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid - -bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 " -- cgit v1.2.3-54-g00ecf