sanity.bbclass: add extra information when SSTATE_CACHE unusable
authorJoshua Lock <josh@linux.intel.com>
Wed, 23 May 2012 23:22:12 +0000 (16:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 May 2012 07:51:41 +0000 (08:51 +0100)
commit217275c8856445d493dcb83a5b6af1436461b495
tree317c1019f5dcfae96170bfdd618e66f8a2af7c2f
parentab60606c13fc69a9fac0296e320218ff726e4a23
sanity.bbclass: add extra information when SSTATE_CACHE unusable

If the user does not have write permissions to SSTATE_CACHE, detected by
the check_create_long_filename() test failing with a "Permission denied"
value in strerror, then suggest they might want to use the location as
an entry in SSTATE_MIRRORS.

(From OE-Core rev: 719d44305508c75a9f2decacdff6558ca14277bb)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass