diff options
author | Chris Larson <clarson@mvista.com> | 2009-03-18 09:20:31 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-05-14 11:33:07 -0700 |
commit | c0622e65a95f42f921e24bfcbc90bce8c838903e (patch) | |
tree | 709f1924918578c48d54f5ccaaacdfba4526956b /classes/packaged-staging.bbclass | |
parent | 86999e943334858a687a51bbe2165ede26b00473 (diff) |
First pass of cleanup of messages outputted to the user.
OpenEmbedded outputs a lot of messages that the user is likely to never
care about. We should only output something when it reflects upon their
recipe (i.e. unpacking their sources, applying their patches), or is quite
significant or unusual.
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes/packaged-staging.bbclass')
-rw-r--r-- | classes/packaged-staging.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index 849f60c500..82c1a0d38b 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -109,17 +109,17 @@ def pstage_cleanpackage(pkgname, d): pstage_set_pkgmanager(d) list_cmd = bb.data.getVar("PSTAGE_LIST_CMD", d, True) - bb.note("Checking if staging package installed") + bb.debug(2, "Checking if staging package installed") lf = bb.utils.lockfile(bb.data.expand("${STAGING_DIR}/staging.lock", d)) ret = os.system("PATH=\"%s\" %s | grep %s" % (path, list_cmd, pkgname)) if ret == 0: - bb.note("Yes. Uninstalling package from staging...") + bb.debug(1, "Uninstalling package from staging...") removecmd = bb.data.getVar("PSTAGE_REMOVE_CMD", d, 1) ret = os.system("PATH=\"%s\" %s %s" % (path, removecmd, pkgname)) if ret != 0: bb.note("Failure removing staging package") else: - bb.note("No. Manually removing any installed files") + bb.debug(1, "Manually removing any installed files from staging...") pstage_manualclean("staging", "STAGING_DIR", d) pstage_manualclean("cross", "CROSS_DIR", d) pstage_manualclean("deploy", "DEPLOY_DIR", d) |