# Distributed under the GPL v2
# $Id$
+ 20 Sep 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst,
+ files/catalyst.conf, modules/catalyst/target/generic_stage.py:
+ Remove metadata_overlay option, since it doesn't make sense with
+ >=portage-2.1.6
+
19 Sep 2009; Andrew Gaffney <agaffney@gentoo.org>
modules/catalyst/target/embedded.py, modules/catalyst/target/generic.py,
modules/catalyst/target/generic_stage.py, modules/catalyst/target/grp.py,
("purge", "PURGE", "Purge support enabled."),
("seedcache", "SEEDCACHE", "Seed cache support enabled."),
("snapcache", "SNAPCACHE", "Snapshot cache support enabled."),
- ("metadata_overlay", "METADATA_OVERLAY", "Use of metadata_overlay module for portage enabled."),
# ("tarball", "TARBALL", "Tarball creation enabled.")
)
# 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"
catalyst.util.copy(self.settings["ENVSCRIPT"], self.settings["chroot_path"] + "/tmp/envscript")
- """ Setup metadata_overlay """
- if "METADATA_OVERLAY" in self.settings \
- and not "portage_confdir" in self.settings:
- if not os.path.exists(self.settings["chroot_path"]+\
- "/etc/portage"):
- catalyst.util.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