]> code.ossystems Code Review - openembedded-core.git/commit
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)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 29 Jul 2013 08:24:25 +0000 (09:24 +0100)
commit407e57879ea2f931bff32993b850c9d59d228303
tree4ae519418d5609b9ad615a742e144407eb1b33f0
parent5b90fc7d36b468251f4f9371c5f7eb32a78a8f69
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 master 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