From: Matt Porter Date: Tue, 18 Jul 2017 22:00:41 +0000 (+0300) Subject: qemux86-64: root using root=PARTUUID X-Git-Tag: dab_3.99.3~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=fa250dc63c7aa61a02eb9883872c06bca1e33f27;hp=2516499f9662a8f8f1150a922a13b5670707b0ff;p=AGL%2Fmeta-agl.git 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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10253 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- 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"