aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-07-19 01:00:41 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-19 11:04:36 +0000
commit638d6966340be3cf1185eca9004bf68e7f840dde (patch)
tree81fb3b69eb7dc03228779fc5848029de7902819f /meta-agl-bsp/conf
parent6d1231999dc39056bde88e99cf8446346b587e54 (diff)
qemux86-64: root using root=PARTUUID
Virtualization machines expose the root device as differing devices (e.g. /dev/sdaX versus /dev/hdaX). Update the syslinux.cfg to use root=PARTUUID=foo as the root filesystem where foo is generated by OE for us. This makes our image portable across VMs. Bug-AGL: SPEC-514 Change-Id: I57447334ef76cd013213f3e80f6e71e77b58efa3 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9031 Reviewed-by: Martin Kelly <mkelly@xevo.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <tom.rini@gmail.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/conf')
-rw-r--r--meta-agl-bsp/conf/include/agl_qemux86-64.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-agl-bsp/conf/include/agl_qemux86-64.inc b/meta-agl-bsp/conf/include/agl_qemux86-64.inc
index f058c6bfc..8db4a66b9 100644
--- a/meta-agl-bsp/conf/include/agl_qemux86-64.inc
+++ b/meta-agl-bsp/conf/include/agl_qemux86-64.inc
@@ -1,4 +1,3 @@
-
# Configurations to run on VirtualBox/VMWare
#
# To get wide screen than default, there are a selection of resolutions
@@ -21,3 +20,5 @@ APPEND += "quiet"
# Build updatable image. Only takes effect when sota.bbclass is inherited
DISTRO_FEATURES_append = " sota"
+# Root device
+ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02"