diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-09-12 22:48:36 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-09-12 22:48:36 -0700 |
commit | 9cb089047e10b300100e7bbdc4274ecf8866b0bb (patch) | |
tree | c54da424216761c0b2d9382504738d448073993a /bin | |
parent | c646a13990bc1267ab5f557d72f3c02c08be82ad (diff) | |
download | portage-9cb089047e10b300100e7bbdc4274ecf8866b0bb.tar.gz portage-9cb089047e10b300100e7bbdc4274ecf8866b0bb.tar.bz2 portage-9cb089047e10b300100e7bbdc4274ecf8866b0bb.zip |
metadata/layout.conf: "sign-manifests = false"
This allows repos to disable manifest signatures, which is useful if
they want to prevent merge conflicts like those that thin-manifests is
designed to prevent.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman index 38b327328..e0cdf6ed4 100755 --- a/bin/repoman +++ b/bin/repoman @@ -592,11 +592,13 @@ repo_info = portdb._repo_info[portdir_overlay] portdb.porttrees = list(repo_info.eclass_db.porttrees) portdir = portdb.porttrees[0] -# Thin manifests imply reliance on the VCS for file integrity, -# which implies that manifest signatures are not needed. -sign_manifests = "sign" in repoman_settings.features and not \ +# In order to disable manifest signatures, repos may set +# "sign-manifests = false" in metadata/layout.conf. This +# can be used to prevent merge conflicts like those that +# thin-manifests is designed to prevent. +sign_manifests = "sign" in repoman_settings.features and \ repoman_settings.repositories.get_repo_for_location( - portdir_overlay).thin_manifest + portdir_overlay).sign_manifest # Generate an appropriate PORTDIR_OVERLAY value for passing into the # profile-specific config constructor calls. |