print "Snapshot cache support enabled."
conf_values["SNAPCACHE"]="1"
- if "metadata_overlay" in conf_values["options"].split():
- print "Use of metadata_overlay module for portage enabled."
- conf_values["METADATA_OVERLAY"]="1"
-
# if "tarball" in string.split(conf_values["options"]):
# print "Tarball creation enabled."
# conf_values["TARBALL"]="1"
# icecream = enables icecream compiler cluster support for building
# kerncache = keeps a tbz2 of your built kernel and modules (useful if your
# build stops in livecd-stage2)
-# metadata_overlay = enabled the metadata_overlay cache module in portage, which
-# uses the in-tree metadata
# pkgcache = keeps a tbz2 of every built package (useful if your build stops
# prematurely)
# seedcache = use the build output of a previous target if it exists to speed up
# your cache. The cache is unlinked before any empty or rm processing, though.
#
# (These options can be used together)
-options="autoresume kerncache metadata_overlay pkgcache seedcache snapcache"
+options="autoresume kerncache pkgcache seedcache snapcache"
# portdir specifies the source portage tree used by the snapshot target.
portdir="/usr/portage"
self.settings["chroot_path"]+"/tmp/envscript",\
"Could not copy envscript into place.",env=self.env)
- """ Setup metadata_overlay """
- if self.settings.has_key("METADATA_OVERLAY") \
- and not self.settings.has_key("portage_confdir"):
- if not os.path.exists(self.settings["chroot_path"]+\
- "/etc/portage"):
- cmd("mkdir "+self.settings["chroot_path"]+"/etc/portage")
- myf=open(self.settings["chroot_path"]+\
- "/etc/portage/modules","a")
- myf.write("portdbapi.auxdbmodule = cache.metadata_overlay.database\n")
- myf.close()
-
-
"""
Copy over /etc/hosts from the host in case there are any
specialties in there