populate_sdk_base, adt_installer: abort install if path contains spaces
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 25 Jun 2013 11:59:05 +0000 (14:59 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Jun 2013 16:59:17 +0000 (17:59 +0100)
commit1e29a9fa7dd4577cad1604e044bc485fb459bdd1
tree5633cdaec35d4754c973cf3a9587929f5629beac
parent1b8c80be5d6aea77f4cf80c7fd1a90f453b44a49
populate_sdk_base, adt_installer: abort install if path contains spaces

Spaces are not handled properly in some parts of oe-core and it's safer
to abort toolchain installation if path contains spaces. Even though
we fix space handling in the toolchain installation script, there are
various other parts in the toolchain (perl scripts, sysroot path passed to
toolchain binaries, shebang lines) that would need special handling. So,
for now, just bail out if path contains spaces.

The checking for spaces in the path is done after expanding relative
paths to absolute and tilde conversion.

[YOCTO #4488]

(From OE-Core rev: 8c35ba2d3048ce69f74f72cb2676e4bc162cfb63)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/recipes-devtools/installer/adt-installer/adt_installer