Added BitBake shared state cache directory variable

Was using default ${HOME}, changed it so you can specify the directory.
Set the default to be ${HOME} so it should work the same as before with
older setups. To satisfy this change added a check to see if the sscdir
or ocache are located under ${HOME}. If they are, it will skip the part
that would have mounted them to the container. It will still be expected
that the sscdir and ocache be seperate directories if not under ${HOME}.
The Kubernetes implementation will expect to use three mounted PVCs that
correspond to the ocache,sscdir, and WORKSPACE.

Change-Id: I6b4ca34f2138633291f80795be2794c496647ffb
Signed-off-by: Alanny Lopez <alanny.lopez@ibm.com>
1 file changed