summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-11 02:21:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-12 15:09:57 +0100
commitd538cbb95e76991fa916d9b22b5a3d2fdd5ff796 (patch)
tree0aca20ea3af52c85df98662a9c1345edefcf7a0f
parentf57393b386499c607e01ce1b3f1503b2cdca73d9 (diff)
downloadpoky-d538cbb95e76991fa916d9b22b5a3d2fdd5ff796.tar.gz
wic-image-minimal.wks: vda -> sda
Previously, runqemu grep root=/dev/sd or root=/dev/hd on the image, and would use vda if no grep result, now we have set QB_DRIVE_TYPE to "/dev/sd" by default, and the device will be /dev/sda, so use sda to replace vda in the test case. (From OE-Core rev: aa8df7e17bb4bb0a92938cbc36cd8b22bcf14cfa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-selftest/recipes-test/images/wic-image-minimal.wks8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks b/meta-selftest/recipes-test/images/wic-image-minimal.wks
index d55075d503..3e08cf4e43 100644
--- a/meta-selftest/recipes-test/images/wic-image-minimal.wks
+++ b/meta-selftest/recipes-test/images/wic-image-minimal.wks
@@ -2,9 +2,9 @@
2# long-description: This image contains boot partition and 3 rootfs partitions 2# long-description: This image contains boot partition and 3 rootfs partitions
3# created from core-image-minimal and wic-image-minimal image recipes. 3# created from core-image-minimal and wic-image-minimal image recipes.
4 4
5part /boot --source bootimg-pcbios --ondisk vda --label boot --active --align 1024 5part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024
6part / --source rootfs --ondisk vda --fstype=ext4 --label platform --align 1024 --use-uuid 6part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
7part /mnt --source rootfs --rootfs-dir=core-image-minimal --ondisk vda --fstype=ext4 --label core --align 1024 7part /mnt --source rootfs --rootfs-dir=core-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024
8part backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk vda --fstype=ext4 --label backup --align 1024 8part backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label backup --align 1024
9 9
10bootloader --ptable gpt --timeout=0 --append="rootwait console=tty0" 10bootloader --ptable gpt --timeout=0 --append="rootwait console=tty0"