diff options
| author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-04-09 00:02:52 +0800 |
|---|---|---|
| committer | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-04-08 22:59:17 +0530 |
| commit | bf06e8360baf2c84257e82f4153e13e62708568a (patch) | |
| tree | 3e6dea07578ee6965da83310684e1ef2f5b5866e /files/wic | |
| parent | 413f4312cd1fe3684f5a19db1dd97d0550bbef54 (diff) | |
| download | meta-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.in | 14 | ||||
| -rw-r--r-- | files/wic/generic-bootdisk.wks.in | 6 | ||||
| -rw-r--r-- | files/wic/grub-bootdisk-microcode.wks.in | 12 | ||||
| -rw-r--r-- | files/wic/image-installer.wks.in | 8 | ||||
| -rw-r--r-- | files/wic/systemd-bootdisk-microcode.wks.in | 13 |
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 | |||
| 6 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=core-image-tiny-initramfs-${MACHINE}.cpio.gz" --ondisk sda --label msdos --active --align 1024 | ||
| 7 | |||
| 8 | bootloader --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. | ||
| 4 | bootloader --ptable gpt | ||
| 5 | part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid | ||
| 6 | 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 @@ | |||
| 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 | |||
| 6 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid | ||
| 7 | |||
| 8 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 9 | |||
| 10 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid | ||
| 11 | |||
| 12 | 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 @@ | |||
| 1 | # create an installer disk image | ||
| 2 | # populate content to install using IMAGE_BOOT_FILES | ||
| 3 | |||
| 4 | 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 | ||
| 5 | |||
| 6 | part / --source bootimg-partition --ondisk sda --fstype=ext4 --label image --use-uuid --align 1024 | ||
| 7 | |||
| 8 | 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 @@ | |||
| 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 | |||
| 7 | part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid | ||
| 8 | |||
| 9 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
| 10 | |||
| 11 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid | ||
| 12 | |||
| 13 | bootloader --ptable gpt --timeout=5 --append=" rootfstype=ext4 " | ||
