summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-09-01 11:56:00 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-04 00:07:28 +0100
commit9cc449273252314fdc88cd62deb18a3e03d8abd5 (patch)
tree7be59be75f83dc27aaf1cc8b1e816bce1f03c434 /meta/lib/oe
parent619d2996fbb12e6ab63daa73b2d9683023cc2744 (diff)
downloadpoky-9cc449273252314fdc88cd62deb18a3e03d8abd5.tar.gz
image: Deploy images to IMGDEPLOYDIR
Changed deployment directory from DEPLOY_DIR_IMAGE to IMGDEPLOYDIR to make sstate machinery to do final deployment and generate manifest. Renamed variable deploy_dir to deploy_dir_image in selftest code to avoid confusion with DEPLOYDIR variable. Updated the code of rootfs.py:Rootfs class to use IMGDEPLOYDIR variable as it's now used as a new deployment destination. (From OE-Core rev: 6d969bacc718e21a5246d4da9bf9639dcae29b02) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/rootfs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 7c620e938b..a348b975c2 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -19,7 +19,7 @@ class Rootfs(object, metaclass=ABCMeta):
19 self.d = d 19 self.d = d
20 self.pm = None 20 self.pm = None
21 self.image_rootfs = self.d.getVar('IMAGE_ROOTFS', True) 21 self.image_rootfs = self.d.getVar('IMAGE_ROOTFS', True)
22 self.deploy_dir_image = self.d.getVar('DEPLOY_DIR_IMAGE', True) 22 self.deploydir = self.d.getVar('IMGDEPLOYDIR', True)
23 self.progress_reporter = progress_reporter 23 self.progress_reporter = progress_reporter
24 24
25 self.install_order = Manifest.INSTALL_ORDER 25 self.install_order = Manifest.INSTALL_ORDER
@@ -182,12 +182,12 @@ class Rootfs(object, metaclass=ABCMeta):
182 182
183 bb.utils.mkdirhier(self.image_rootfs) 183 bb.utils.mkdirhier(self.image_rootfs)
184 184
185 bb.utils.mkdirhier(self.deploy_dir_image) 185 bb.utils.mkdirhier(self.deploydir)
186 186
187 shutil.copytree(postinst_intercepts_dir, intercepts_dir) 187 shutil.copytree(postinst_intercepts_dir, intercepts_dir)
188 188
189 shutil.copy(self.d.expand("${COREBASE}/meta/files/deploydir_readme.txt"), 189 shutil.copy(self.d.expand("${COREBASE}/meta/files/deploydir_readme.txt"),
190 self.deploy_dir_image + 190 self.deploydir +
191 "/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt") 191 "/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt")
192 192
193 execute_pre_post_process(self.d, pre_process_cmds) 193 execute_pre_post_process(self.d, pre_process_cmds)