diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-18 04:38:32 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-18 04:38:32 +0000 |
commit | f619d5f9468d1d0eaab8eadf9fe11b0492094bbf (patch) | |
tree | c1adf4b2064959965a4c97acad353fccc06fffd8 /bin/ebuild | |
parent | 8f360f92e67301f4621dd30cd5e3e2c0c6bdebd6 (diff) | |
download | portage-f619d5f9468d1d0eaab8eadf9fe11b0492094bbf.tar.gz portage-f619d5f9468d1d0eaab8eadf9fe11b0492094bbf.tar.bz2 portage-f619d5f9468d1d0eaab8eadf9fe11b0492094bbf.zip |
Bug #225285 - Add a --skip-manifest option that disables all interaction
with the manifest.
svn path=/main/trunk/; revision=10712
Diffstat (limited to 'bin/ebuild')
-rwxr-xr-x | bin/ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/ebuild b/bin/ebuild index a91a78587..00ef29512 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -17,7 +17,10 @@ force_help = "When used together with the digest or manifest " + \ "that do not already exist in ${DISTDIR} will be automatically fetched." parser.add_option("--force", help=force_help, action="store_true", dest="force") -parser.add_option("--debug", help="show debug output", action="store_true", dest="debug") +parser.add_option("--debug", help="show debug output", + action="store_true", dest="debug") +parser.add_option("--skip-manifest", help="skip all manifest checks", + action="store_true", dest="skip_manifest") opts, pargs = parser.parse_args(args=sys.argv[1:]) @@ -152,6 +155,11 @@ if "test" in pargs: tmpsettings["FEATURES"] = " ".join(tmpsettings.features) tmpsettings.backup_changes("FEATURES") +if opts.skip_manifest: + tmpsettings["EBUILD_SKIP_MANIFEST"] = "1" + tmpsettings.backup_changes("EBUILD_SKIP_MANIFEST") + portage._doebuild_manifest_exempt_depend += 1 + build_dir_phases = set(["setup", "unpack", "compile", "test", "install", "package", "rpm"]) |