From 251567a34c7511f681821e23a9a6e38526101986 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Jun 2008 03:38:09 +0000 Subject: Bug #225285 - Add a --skip-manifest option that disables all interaction with the manifest. svn path=/main/branches/2.1.2/; revision=10719 --- bin/ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bin/ebuild') diff --git a/bin/ebuild b/bin/ebuild index 622a6eb91..8ea9f017d 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:]) @@ -153,6 +156,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"]) -- cgit v1.2.3-1-g7c22