From: Ross Burton Date: Fri, 6 Jul 2018 14:51:15 +0000 (+0100) Subject: meson: send user to our wiki instead of Meson bug system X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c1e880a2bf4799cf451ff20c7ab93c55a755751;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git meson: send user to our wiki instead of Meson bug system If a CPU family isn't recognised the first step should be to verify the mapping. Send the user to a wiki page explaining what to do, instead of directly to the Meson bug tracker. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/meson/meson/validate-cpu.patch b/meta/recipes-devtools/meson/meson/validate-cpu.patch index 8bdb204ab04..e7dad00d47c 100644 --- a/meta/recipes-devtools/meson/meson/validate-cpu.patch +++ b/meta/recipes-devtools/meson/meson/validate-cpu.patch @@ -100,7 +100,7 @@ index 091d92dc..67177c1f 100644 if trial not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial) return trial @@ -109,7 +109,7 @@ index 091d92dc..67177c1f 100644 if entry == 'cpu_family' and res not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % value) if self.ok_type(res): self.config[s][entry] = res