From: Ed Bartosh Date: Sat, 13 Feb 2016 09:02:16 +0000 (+0200) Subject: wic-image-minimal: update .wks to boot by qemu X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27001 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8d44a1be344c603bcdcb1911f609ac67e6be66;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/meta-selftest/recipes-test/images/wic-image-minimal.wks b/meta-selftest/recipes-test/images/wic-image-minimal.wks index 8f9be09a7e4..191244bade9 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 @@ # long-description: This image contains boot partition and 3 rootfs partitions # created from core-image-minimal and wic-image-minimal image recipes. -part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 -part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 -part /core --source rootfs --rootfs-dir=core-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024 -part /backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label backup --align 1024 +part /boot --source bootimg-pcbios --ondisk vda --label boot --active --align 1024 +part / --source rootfs --ondisk vda --fstype=ext4 --label platform --align 1024 +part /mnt --source rootfs --rootfs-dir=core-image-minimal --ondisk vda --fstype=ext4 --label core --align 1024 +part backup --source rootfs --rootfs-dir=wic-image-minimal --ondisk vda --fstype=ext4 --label backup --align 1024 -bootloader --timeout=0 --append="rootwait console=tty0" +bootloader --timeout=0 --append="rootwait console=tty0 root=/dev/vda2"