From 3797cfd7473d3f9b7c0d999dcf9cd9608c8c7c6c Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Mon, 16 Jan 2017 22:53:46 +0200 Subject: image.bbclass: put .env files to ${STAGING_DIR}/imgdata/ As STAGING_DIR_TARGET started to point to a recipe specific sysroot wic is not able to add .env files when .wks file refers to multiple rootfs recipes. Used STAGING_DIR instead of STAGING_DIR_TARGET to make the directory with .env files the same for all recipes. Signed-off-by: Ed Bartosh --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/image.bbclass') diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 5fc7385d79..fb0cce35c5 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -342,7 +342,7 @@ python do_rootfs_wicenv () { if not wicvars: return - stdir = d.getVar('STAGING_DIR_TARGET') + stdir = d.getVar('STAGING_DIR') outdir = os.path.join(stdir, 'imgdata') bb.utils.mkdirhier(outdir) basename = d.getVar('IMAGE_BASENAME') -- cgit 1.2.3-korg