[Treepkg-commits] r290 - branches/scratchbox/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Apr 16 15:54:09 CEST 2010
Author: bricks
Date: 2010-04-16 15:54:09 +0200 (Fri, 16 Apr 2010)
New Revision: 290
Modified:
branches/scratchbox/treepkg/sbuilder.py
Log:
changed logging level from debug to info
Modified: branches/scratchbox/treepkg/sbuilder.py
===================================================================
--- branches/scratchbox/treepkg/sbuilder.py 2010-04-16 12:46:01 UTC (rev 289)
+++ branches/scratchbox/treepkg/sbuilder.py 2010-04-16 13:54:09 UTC (rev 290)
@@ -114,11 +114,11 @@
# for pkg in extra_packages:
# args.extend(["--extrapackages", pkg])
- logging.debug("Mointing extra-pkg apt repository")
+ logging.info("Mointing extra-pkg apt repository")
self.mount([self.extra_pkg_dir])
- logging.debug("Starting build process with sbdmock ...")
+ logging.info("Starting build process with sbdmock ...")
cmd = cmdexpand("/usr/bin/sbdmock --cleanbuilddir"
@@ -176,7 +176,7 @@
for mount in bindmounts:
mount_dir = "/scratchbox/users/%s/%s" % (util.getuser(), mount)
util.ensure_directory(mount_dir)
- logging.debug("Mounting %s to %s" % (mount, mount_dir))
+ logging.info("Mounting %s to %s" % (mount, mount_dir))
run.call(cmdexpand("@rootcmd mount --bind $mount $mountdir", rootcmd=self.root_cmd, mount=mount, mountdir=mount_dir))
#add mountpoint to a variable to for unmounting later
@@ -184,7 +184,7 @@
def umount(self, mounts):
for mount in mounts:
- logging.debug("Unmounting %s" % mount)
+ logging.info("Unmounting %s" % mount)
run.call(cmdexpand("@rootcmd umount $dir", rootcmd=self.root_cmd, dir=mount))
self.mounted_dirs.remove(mount)
More information about the Treepkg-commits
mailing list