config: use 'qemux86-64' instead of 'qemu' as default for KAS_MACHINE
'qemu' is not a valid machine. So, let's use the default one defined in poky -> 'qemux86-64' [1] Fixes: ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories: MACHINE=qemu is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file. [1] - https://git.yoctoproject.org/cgit.cgi/poky/tree/meta-poky/conf/local.conf.sample#n37 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
6a67d69411
commit
71b9c43472
@ -144,7 +144,7 @@ arguably easier to read, this documentation focuses on the YAML format.
|
||||
# is increased on every format change.
|
||||
version: x
|
||||
# The machine as it is written into the `local.conf` of bitbake.
|
||||
machine: qemu
|
||||
machine: qemux86-64
|
||||
# The distro name as it is written into the `local.conf` of bitbake.
|
||||
distro: poky
|
||||
repos:
|
||||
@ -314,7 +314,7 @@ Configuration reference
|
||||
* ``machine``: string [optional]
|
||||
Contains the value of the ``MACHINE`` variable that is written into the
|
||||
``local.conf``. Can be overwritten by the ``KAS_MACHINE`` environment
|
||||
variable and defaults to ``qemu``.
|
||||
variable and defaults to ``qemux86-64``.
|
||||
|
||||
* ``distro``: string [optional]
|
||||
Contains the value of the ``DISTRO`` variable that is written into the
|
||||
|
@ -144,7 +144,7 @@ class Config:
|
||||
Returns the machine
|
||||
"""
|
||||
return os.environ.get('KAS_MACHINE',
|
||||
self._config.get('machine', 'qemu'))
|
||||
self._config.get('machine', 'qemux86-64'))
|
||||
|
||||
def get_distro(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user