From 85861ac2ec6f9258bcad57d230e5820a81ab65b3 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Wed, 19 Dec 2012 18:56:04 -0800 Subject: [PATCH] modules/generic_stage_target.py: Use 'packagedir' instead of '/usr/portage/packages' as the mountmap key W. Trevor King: Refactored Git history for Brian Dolbec's content changes. Reviewed-by: Matt Turner Signed-off-by: W. Trevor King Signed-off-by: Brian Dolbec --- modules/generic_stage_target.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index f8dd3520..dc02ad2a 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -195,9 +195,8 @@ class generic_stage_target(generic_target): self.set_pkgcache_path() print "Location of the package cache is "+\ self.settings["pkgcache_path"] - self.mounts.append("/usr/portage/packages") - self.mountmap["/usr/portage/packages"]=\ - self.settings["pkgcache_path"] + self.mounts.append("packagedir") + self.mountmap["packagedir"] = self.settings["pkgcache_path"] if "KERNCACHE" in self.settings: self.set_kerncache_path() -- 2.26.2