mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
genericx86: add genericx86.wks
Currently genericx86* machines use mkefidisk.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added genericx86.wks to meta-yocto-bsp/wic/ to make it independent from changes in oe-core and easier to maintain. [YOCTO #8719] (From meta-yocto rev: becb5f506198d94762e43f1b5a47b50d24b5ab35) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f689defd6d
commit
acfb6bf018
7
meta-yocto-bsp/wic/genericx86.wks
Normal file
7
meta-yocto-bsp/wic/genericx86.wks
Normal file
@@ -0,0 +1,7 @@
|
||||
# short-description: Create an EFI disk image for genericx86*
|
||||
# long-description: Creates a partitioned EFI disk image for genericx86* machines
|
||||
part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
|
||||
part swap --ondisk sda --size 44 --label swap1 --fstype=swap
|
||||
|
||||
bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"
|
||||
Reference in New Issue
Block a user