diff -r e1687c2ac203 -r 23cd9cfff101 autobuild/autobuild_tool_install.py --- a/autobuild/autobuild_tool_install.py Wed Nov 09 13:28:48 2011 -0500 +++ b/autobuild/autobuild_tool_install.py Thu Jan 19 21:03:58 2012 -0500 @@ -275,15 +275,12 @@ # Existing tarball install, or new package install of either kind if source_install: - logger.warn("installing %s --as-source" % pname) if _install_source(package, installed_file, config_file, dry_run): installed_pkgs.append(pname) elif pname in local_archives: - logger.warn("installing %s from local archive" % pname) if _install_local(platform, package, local_archives[pname], install_dir, installed_file, dry_run): installed_pkgs.append(pname) else: - logger.warn("installing %s from archive" % pname) if _install_binary(package, platform, config_file, install_dir, installed_file, dry_run): installed_pkgs.append(pname) return installed_pkgs @@ -352,13 +349,14 @@ # version. uninstall(package_name, installed_file) + logger.warn("installing %s from local archive" % package.name) + # check that the install dir exists... if not os.path.exists(install_dir): logger.debug("creating " + install_dir) os.makedirs(install_dir) # extract the files from the package - logger.warn("extracting %s" % (package.name)) files = common.install_package(package_path, install_dir) if not files: return False @@ -442,8 +440,8 @@ logger.debug("creating " + install_dir) os.makedirs(install_dir) + logger.warn("installing %s from archive" % package.name) # extract the files from the package - logger.warn("extracting %s" % (package.name)) files = common.extract_package(archive.url, install_dir) for f in files: logger.debug("extracted: " + f) diff -r e1687c2ac203 -r 23cd9cfff101 autobuild/common.py --- a/autobuild/common.py Wed Nov 09 13:28:48 2011 -0500 +++ b/autobuild/common.py Thu Jan 19 21:03:58 2012 -0500 @@ -276,6 +276,7 @@ if not os.path.exists(archive_path): logger.error("cannot extract non-existing package: %s" % archive_path) return False + logger.warn("extracting from %s" % os.path.basename(archive_path)) if tarfile.is_tarfile(archive_path): return __extract_tar_file(archive_path, install_dir) elif is_zipfile(archive_path): @@ -386,7 +387,6 @@ def __extract_tar_file(cachename, install_dir): # Attempt to extract the package from the install cache - logger.debug("extracting from %s" % cachename) tar = tarfile.open(cachename, 'r') try: # try to call extractall in python 2.5. Phoenix 2008-01-28 @@ -587,7 +587,7 @@ # download & extract the package, if not done already if not is_package_in_cache(url): - logger.info("installing package '%s'..." % name) + logger.info("downloading package '%s'..." % name) if download_package(url): if not does_package_match_md5(url, md5sum): raise AutobuildError("md5 mismatch for %s" % url)