summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test/images
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-02-13 11:02:16 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-15 16:28:44 +0000
commit2100f821e78d2205dc4c4ca600842cd720a7c4aa (patch)
treee96c142fe090b159a42951193a60b86456c7272d /meta-selftest/recipes-test/images
parent4b2660144d6aecd99d29f444ffd6af178ca71d04 (diff)
downloadpoky-2100f821e78d2205dc4c4ca600842cd720a7c4aa.tar.gz
wic-image-minimal: update .wks to boot by qemu
With below list of changes wic-image-minimal can be boot by qemu: - Changed device name sda -> vda. - Added root=/dev/vda2 to the kernel command line. - Changed mount point for core partition to /mnt to have it mounted on boot time. (From OE-Core rev: f085274711f561f97a2c89f40bb0e89094973054) (From OE-Core rev: 4c8d44a1be344c603bcdcb1911f609ac67e6be66) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/images')
-rw-r--r--meta-selftest/recipes-test/images/wic-image-minimal.wks10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks b/meta-selftest/recipes-test/images/wic-image-minimal.wks
index 8f9be09a7e..191244bade 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 sda --label boot --active --align 1024 5part /boot --source bootimg-pcbios --ondisk vda --label boot --active --align 1024
6part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 6part / --source rootfs --ondisk vda --fstype=ext4 --label platform --align 1024
7part /core --source rootfs --rootfs-dir=core-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024 7part /mnt --source rootfs --rootfs-dir=core-image-minimal --ondisk vda --fstype=ext4 --label core --align 1024
8part /backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label backup --align 1024 8part backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk vda --fstype=ext4 --label backup --align 1024
9 9
10bootloader --timeout=0 --append="rootwait console=tty0" 10bootloader --timeout=0 --append="rootwait console=tty0 root=/dev/vda2"