[OE-core] [PATCH v4 1/2] licenses.conf: stop relying on specific user's home dir
niko.mauno at vaisala.com
niko.mauno at vaisala.com
Fri May 5 10:42:46 UTC 2017
Relocate SPDX_MANIFEST_DIR to a location which doesn't rely on specific user's
home directory, which may not exist on may systems.
Signed-off-by: Niko Mauno <niko.mauno at vaisala.com>
---
meta/conf/licenses.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
index 2d6a707..2e3dce3 100644
--- a/meta/conf/licenses.conf
+++ b/meta/conf/licenses.conf
@@ -123,7 +123,9 @@ SPDXLICENSEMAP[SGIv1] = "SGI-1"
## SPDX temporary directory
SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp"
-SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans"
+
+## Output directory for generated SPDX files
+SPDX_MANIFEST_DIR = "${SPDX_TEMP_DIR}/fossology_scans"
## SPDX Format info
SPDX_VERSION = "SPDX-1.1"
--
2.1.4
More information about the Openembedded-core
mailing list