diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-01-09 23:34:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:08:20 +0000 |
commit | acfb6bf01812a0e5c23a5a6b0a6add83796ea1b7 (patch) | |
tree | f70fb1c5e6f3d9228e3830a8248208d186844667 /meta-yocto-bsp/wic | |
parent | f689defd6d989581bad5645e1170a2cb25c49c6f (diff) | |
download | poky-acfb6bf01812a0e5c23a5a6b0a6add83796ea1b7.tar.gz |
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>
Diffstat (limited to 'meta-yocto-bsp/wic')
-rw-r--r-- | meta-yocto-bsp/wic/genericx86.wks | 7 |
1 files changed, 7 insertions, 0 deletions
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 | ||
3 | part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024 | ||
4 | part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid | ||
5 | part swap --ondisk sda --size 44 --label swap1 --fstype=swap | ||
6 | |||
7 | bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0" | ||