summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yocto-bsp')
-rw-r--r--meta-yocto-bsp/conf/machine/include/genericx86-common.inc2
-rw-r--r--meta-yocto-bsp/wic/genericx86.wks7
2 files changed, 8 insertions, 1 deletions
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
index eb6f0b9bd7..cec7970852 100644
--- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
+++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
@@ -21,6 +21,6 @@ GLIBC_ADDONS = "nptl"
21EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi" 21EXTRA_OECONF_append_pn-matchbox-panel-2 = " --with-battery=acpi"
22 22
23IMAGE_FSTYPES += "wic wic.bmap" 23IMAGE_FSTYPES += "wic wic.bmap"
24WKS_FILE ?= "mkefidisk.wks" 24WKS_FILE ?= "genericx86.wks"
25do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot" 25do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
26do_image_wic[recrdeptask] += "do_bootimg" 26do_image_wic[recrdeptask] += "do_bootimg"
diff --git a/meta-yocto-bsp/wic/genericx86.wks b/meta-yocto-bsp/wic/genericx86.wks
new file mode 100644
index 0000000000..dab719c584
--- /dev/null
+++ b/meta-yocto-bsp/wic/genericx86.wks
@@ -0,0 +1,7 @@
1# short-description: Create an EFI disk image for genericx86*
2# long-description: Creates a partitioned EFI disk image for genericx86* machines
3part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
4part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
5part swap --ondisk sda --size 44 --label swap1 --fstype=swap
6
7bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"