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 <[email protected]>
---
 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
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to