diff --git a/ChangeLog b/ChangeLog index f0a819d2..93833249 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-08-11 Serdar Dalgıç + * (cli/build.py): pisi build command now works in debug mode unless -q + or --quiet parameter is passed. + 2009-08-07 Ozan Çağlayan * (utils.py): Strip kernel and modules as well as other binaries to build dbginfo packages for them. diff --git a/pisi/cli/build.py b/pisi/cli/build.py index d576646c..f2fbfc85 100644 --- a/pisi/cli/build.py +++ b/pisi/cli/build.py @@ -52,6 +52,8 @@ to be downloaded from a repository containing sources. group.add_option("--ignore-build-no", action="store_true", default=False, help=_("Do not take build no into account.")) + group.add_option("-q", "--quiet", action="store_true", default=False, + help=_("Run pisi build process in silent mode")) group.add_option("--ignore-dependency", action="store_true", default=False, help=_("Do not take dependency information into account")) @@ -96,6 +98,9 @@ to be downloaded from a repository containing sources. self.help() return + if not self.options.quiet: + self.options.debug = True + self.init() if ctx.get_option('package_format') not in Build.package_formats: