* [PATCH] sanity.bbclass: Add check for @ character in build directory name
@ 2013-06-25 17:08 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-06-25 17:08 UTC (permalink / raw)
To: openembedded-core
The @ character is not escaped properly in too many places within the system
to easily support it so add the character to the list of blacklisted characters.
Also tweak the other messages and ensure that all appropriate error messages
are disabled in one go.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 622bb41..cf23982 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -589,10 +589,12 @@ def check_sanity_everybuild(status, d):
pass
oeroot = d.getVar('COREBASE')
- if oeroot.find ('+') != -1:
- status.addresult("Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include a +.")
- elif oeroot.find (' ') != -1:
- status.addresult("Error, you have a space in your COREBASE directory path. Please move the installation to a directory which doesn't include a space.")
+ if oeroot.find('+') != -1:
+ status.addresult("Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include any + characters.")
+ if oeroot.find('@') != -1:
+ status.addresult("Error, you have an invalid character (@) in your COREBASE directory path. Please move the installation to a directory which doesn't include any @ characters.")
+ if oeroot.find(' ') != -1:
+ status.addresult("Error, you have a space in your COREBASE directory path. Please move the installation to a directory which doesn't include a space since autotools doesn't support this.")
# Check that TMPDIR hasn't changed location since the last time we were run
tmpdir = d.getVar('TMPDIR', True)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-25 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 17:08 [PATCH] sanity.bbclass: Add check for @ character in build directory name Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox