From b605cf215ff4cef35c3f62fee0ec14e3c8d5ba22 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Fri, 19 Jan 2018 14:12:22 +0100 Subject: Add a brief doc section for common build problems. Also add a helpful hint for the oe-selftest grub problem. --- README.adoc | 10 ++++++++++ lib/oeqa/selftest/cases/updater.py | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 0917e45..a85be18 100644 --- a/README.adoc +++ b/README.adoc @@ -44,6 +44,16 @@ and get as a result an "ostree_repo" folder in your images directory (tmp/deploy Although aglsetup.sh hooks provide reasonable defaults for SOTA-related variables, you may want to tune some of them. +=== Build problems + +Multilib systems may require adding this line to `local.conf`: + +.... +HOSTTOOLS += "x86_64-linux-gnu-gcc" +.... + +Ubuntu users that encounter an error due to missing `Python.h` should install `libpython2.7-dev` on their host machine. + == Supported boards Currently supported platforms are diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 253320d..9264616 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py @@ -165,7 +165,8 @@ class GrubTests(OESelftestTestCase): # Strip off line ending. value_str = value.decode()[:-1] self.assertEqual(value_str, machine, - 'MACHINE does not match hostname: ' + machine + ', ' + value_str) + 'MACHINE does not match hostname: ' + machine + ', ' + value_str + + '\nIs tianocore ovmf installed?') print(value_str) -- cgit v1.2.3-54-g00ecf