diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2018-01-19 14:12:22 +0100 |
---|---|---|
committer | Patrick Vacek <patrickvacek@gmail.com> | 2018-01-19 14:12:22 +0100 |
commit | b605cf215ff4cef35c3f62fee0ec14e3c8d5ba22 (patch) | |
tree | c31f1863878efb156c9afc4088eda177bbe2cb79 | |
parent | 2575b7e3cb81d89df0a5b2f25e91bc56f4917f29 (diff) | |
download | meta-updater-b605cf215ff4cef35c3f62fee0ec14e3c8d5ba22.tar.gz |
Add a brief doc section for common build problems.
Also add a helpful hint for the oe-selftest grub problem.
-rw-r--r-- | README.adoc | 10 | ||||
-rw-r--r-- | lib/oeqa/selftest/cases/updater.py | 3 |
2 files changed, 12 insertions, 1 deletions
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 | |||
44 | 44 | ||
45 | Although aglsetup.sh hooks provide reasonable defaults for SOTA-related variables, you may want to tune some of them. | 45 | Although aglsetup.sh hooks provide reasonable defaults for SOTA-related variables, you may want to tune some of them. |
46 | 46 | ||
47 | === Build problems | ||
48 | |||
49 | Multilib systems may require adding this line to `local.conf`: | ||
50 | |||
51 | .... | ||
52 | HOSTTOOLS += "x86_64-linux-gnu-gcc" | ||
53 | .... | ||
54 | |||
55 | Ubuntu users that encounter an error due to missing `Python.h` should install `libpython2.7-dev` on their host machine. | ||
56 | |||
47 | == Supported boards | 57 | == Supported boards |
48 | 58 | ||
49 | Currently supported platforms are | 59 | 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): | |||
165 | # Strip off line ending. | 165 | # Strip off line ending. |
166 | value_str = value.decode()[:-1] | 166 | value_str = value.decode()[:-1] |
167 | self.assertEqual(value_str, machine, | 167 | self.assertEqual(value_str, machine, |
168 | 'MACHINE does not match hostname: ' + machine + ', ' + value_str) | 168 | 'MACHINE does not match hostname: ' + machine + ', ' + value_str + |
169 | '\nIs tianocore ovmf installed?') | ||
169 | print(value_str) | 170 | print(value_str) |
170 | 171 | ||
171 | 172 | ||