summaryrefslogtreecommitdiffstats
path: root/files/wic
diff options
context:
space:
mode:
authorYogesh Tyagi <yogesh.tyagi@intel.com>2026-04-09 00:02:52 +0800
committerYogesh Tyagi <yogesh.tyagi@intel.com>2026-04-08 22:59:17 +0530
commitbf06e8360baf2c84257e82f4153e13e62708568a (patch)
tree3e6dea07578ee6965da83310684e1ef2f5b5866e /files/wic
parent413f4312cd1fe3684f5a19db1dd97d0550bbef54 (diff)
downloadmeta-intel-bf06e8360baf2c84257e82f4153e13e62708568a.tar.gz
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 <yogesh.tyagi@intel.com>
Diffstat (limited to 'files/wic')
-rw-r--r--files/wic/core-image-tiny.wks.in14
-rw-r--r--files/wic/generic-bootdisk.wks.in6
-rw-r--r--files/wic/grub-bootdisk-microcode.wks.in12
-rw-r--r--files/wic/image-installer.wks.in8
-rw-r--r--files/wic/systemd-bootdisk-microcode.wks.in13
5 files changed, 53 insertions, 0 deletions
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 @@
1# short-description: Create an EFI disk image with systemd-boot and corei7-64/core2-32
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# This disk image is meant to be used by corei7-64/core2-32 and core-image-tiny-initramfs
5
6part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024
7
8bootloader --ptable gpt --timeout=5 --append="init=/bin/busybox sh init console=ttyS0,115200 console=tty0 rw LABEL=boot debugshell=5"
9
10# Some devices require different console parameters, the console parameter can be given repeatedly, input is taken
11# only from the last listed console, for example on the Minnowboard MAX, the previously listed setting would show
12# a login prompt on its video output and not on the serial terminal.
13#
14# 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 @@
1# based off of refkit's refkit-directdisk.wks.in kickstart template
2# uses the image's boot directory to populate a vfat boot partition,
3# which works with EFI.
4bootloader --ptable gpt
5part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid
6part / --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 @@
1# short-description: Create an EFI disk image with grub-efi
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is grub-efi.
4# It also includes intel-microcode as an initrd for early update support.
5
6part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
7
8part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
9
10part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
11
12bootloader --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 @@
1# create an installer disk image
2# populate content to install using IMAGE_BOOT_FILES
3
4part /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
5
6part / --source bootimg-partition --ondisk sda --fstype=ext4 --label image --use-uuid --align 1024
7
8bootloader --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 @@
1# short-description: Create an EFI disk image with systemd-boot
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4# It also includes intel-microcode as an initrd for early update support.
5# Based on OE-core's systemd-bootdisk.wks file.
6
7part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
8
9part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
10
11part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
12
13bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 "