aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-18 14:27:40 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-11-18 14:27:40 +0000
commit810740225731dac129ea58d819aa084aff7777e1 (patch)
tree92052a08e2579a68ab1c570acdc30cdd345e50c9
parent6dd5a2ce1bb820170b91aebde1674e42a69e4a2c (diff)
downloadpaludis-810740225731dac129ea58d819aa084aff7777e1.tar.gz
paludis-810740225731dac129ea58d819aa084aff7777e1.tar.xz
Add use_manifest key
-rw-r--r--paludis/repositories/e/e_repository.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index a5b8b0c..269ca0f 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -253,6 +253,7 @@ namespace paludis
tr1::shared_ptr<const MetadataStringKey> eapi_when_unknown_key;
tr1::shared_ptr<const MetadataStringKey> eapi_when_unspecified_key;
tr1::shared_ptr<const MetadataStringKey> profile_eapi_key;
+ tr1::shared_ptr<const MetadataStringKey> use_manifest_key;
tr1::shared_ptr<const MetadataSectionKey> info_pkgs_key;
};
@@ -318,6 +319,8 @@ namespace paludis
"eapi_when_unspecified", "eapi_when_unspecified", mkt_normal, params.eapi_when_unspecified)),
profile_eapi_key(new LiteralMetadataStringKey(
"profile_eapi", "profile_eapi", mkt_normal, params.profile_eapi)),
+ use_manifest_key(new LiteralMetadataStringKey(
+ "use_manifest", "use_manifest", mkt_normal, stringify(params.use_manifest))),
info_pkgs_key((layout->info_packages_file(params.location / "profiles")).exists() ?
tr1::shared_ptr<MetadataSectionKey>(new PkgInfoSectionKey(
params.environment, layout->info_packages_file(params.location / "profiles"))) :
@@ -491,6 +494,7 @@ ERepository::_add_metadata_keys() const
add_metadata_key(_imp->profile_eapi_key);
if (_imp->master_repository_key)
add_metadata_key(_imp->master_repository_key);
+ add_metadata_key(_imp->use_manifest_key);
if (_imp->info_pkgs_key)
add_metadata_key(_imp->info_pkgs_key);
}