]> code.ossystems Code Review - openembedded-core.git/commit
classes/sanity: check for case-sensitive file systems
authorRoss Burton <ross.burton@intel.com>
Wed, 12 Jul 2017 19:32:26 +0000 (20:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:53 +0000 (13:48 +0100)
commit20ce04fb64f559e64490d53678fa00644a92894a
tree43e2f382043b2f89fcf20e84b7fc18587aba5efd
parentffeca7dcc1abe82cad8374a31bf72b36a472fa1b
classes/sanity: check for case-sensitive file systems

Case-insensitive file systems fail during builds in very mysterious ways, such
as mpfr:

  ERROR: patch_do_patch: Not a directory

The problem here being that mpfr has a PATCHES file, so when we try to copy the
patches into ${S}/patches/ it fails.

We can't and won't support case-insensitive file systems so add a sanity check
to abort the build if one is found.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass