[oe-commits] [openembedded-core] 29/30: mkefidisk.wks: use partition UUID and GPT partition table

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:16:34 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 23cca700870230b46d251086441136e99659ef12
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Fri Sep 30 18:36:50 2016 +0300

    mkefidisk.wks: use partition UUID and GPT partition table
    
    This is a preparation to use mkefidisk as a default wks for
    genericx86* BSPs. This change enables usage of partition UUID
    instead of device name to specify root partition in kernel
    command line. It should make images to boot on devices with
    boot device names that differ from what's mentioned in wks file.
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/wic/canned-wks/mkefidisk.wks | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/lib/wic/canned-wks/mkefidisk.wks b/scripts/lib/wic/canned-wks/mkefidisk.wks
index 696e94e..73886ab 100644
--- a/scripts/lib/wic/canned-wks/mkefidisk.wks
+++ b/scripts/lib/wic/canned-wks/mkefidisk.wks
@@ -4,8 +4,8 @@
 
 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
+part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
 
 part swap --ondisk sda --size 44 --label swap1 --fstype=swap
 
-bootloader  --timeout=10  --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"
+bootloader --ptable gpt --timeout=10 --append="rootwait rootfstype=ext4 console=ttyPCH0,115200 console=tty0 vmalloc=256MB snd-hda-intel.enable_msi=0"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list