* [PATCH 0/1] Minor fix for SANITY_TESTED_DISTROS feature
@ 2011-09-01 11:36 Paul Eggleton
2011-09-01 11:36 ` [PATCH 1/1] sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-09-01 11:36 UTC (permalink / raw)
To: openembedded-core
The following changes since commit bf9e9961ec4e7b2d10f25b550b902df62b3939b1:
Fix powerpc term and provide more template for different arches (2011-08-31 20:10:14 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/tested-distro-fix
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/tested-distro-fix
Paul Eggleton (1):
sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS
meta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS
2011-09-01 11:36 [PATCH 0/1] Minor fix for SANITY_TESTED_DISTROS feature Paul Eggleton
@ 2011-09-01 11:36 ` Paul Eggleton
2011-09-02 17:28 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-09-01 11:36 UTC (permalink / raw)
To: openembedded-core
This variable should be split with \n sequences and these need to be
specified literally in the string. A corrected version of the example
given in the original commit (OE-core rev
75e3875341ddc8940e9ee2ccbbb2ec18194a68e6):
SANITY_TESTED_DISTROS = " \
Ubuntu 11.04 \n \
Fedora release 14 (Laughlin) \n \
"
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/classes/sanity.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 37b9028..44b0688 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -149,7 +149,7 @@ def check_supported_distro(e):
finally:
f.close()
if distro:
- if distro not in [x.strip() for x in tested_distros.split('\n')]:
+ if distro not in [x.strip() for x in tested_distros.split('\\n')]:
bb.warn('Host distribution "%s" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.' % distro)
else:
bb.warn('Host distribution could not be determined; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.')
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-02 17:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-01 11:36 [PATCH 0/1] Minor fix for SANITY_TESTED_DISTROS feature Paul Eggleton
2011-09-01 11:36 ` [PATCH 1/1] sanity.bbclass: fix splitting on newlines of SANITY_TESTED_DISTROS Paul Eggleton
2011-09-02 17:28 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox