Used --uuid option to generate PARTUUID for root partion and
gpt partition type. As this image is used in runtime testing
under qemu it makes sense to ensure that this way of specifying
root partition works.

Signed-off-by: Ed Bartosh <[email protected]>
---
 meta-selftest/recipes-test/images/wic-image-minimal.wks | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks 
b/meta-selftest/recipes-test/images/wic-image-minimal.wks
index 6501a82..0d6035e 100644
--- a/meta-selftest/recipes-test/images/wic-image-minimal.wks
+++ b/meta-selftest/recipes-test/images/wic-image-minimal.wks
@@ -3,8 +3,8 @@
 # created from core-image-minimal and wic-image-minimal image recipes.
 
 part /boot --source bootimg-pcbios --ondisk hda --label boot --active --align 
1024
-part / --source rootfs --ondisk hda --fstype=ext4 --label platform --align 1024
+part / --source rootfs --ondisk hda --fstype=ext4 --label platform --align 
1024 --use-uuid
 part /mnt --source rootfs --rootfs-dir=core-image-minimal --ondisk hda 
--fstype=ext4 --label core --align 1024
 part backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk hda 
--fstype=ext4 --label backup --align 1024
 
-bootloader --timeout=0  --append="rootwait console=tty0 root=/dev/hda2"
+bootloader --ptable gpt --timeout=0 --append="rootwait console=tty0"
-- 
2.1.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to