diff options
author | Chris Larson <clarson@mvista.com> | 2009-03-13 13:42:06 -0700 |
---|---|---|
committer | Chris Larson <clarson@mvista.com> | 2009-05-14 11:33:13 -0700 |
commit | 9699a955d48cb500b0b3dd691be68979c93bc72e (patch) | |
tree | aa1d2990d463eb51fffdc4a09ce565db64789a48 /classes/packaged-staging.bbclass | |
parent | c0622e65a95f42f921e24bfcbc90bce8c838903e (diff) | |
download | openembedded-9699a955d48cb500b0b3dd691be68979c93bc72e.tar.gz |
Shorten some full paths printed to the user.
Adds a base_path_out convenience function, which prepares a full path for
display to the user. The initial implementation just makes it relative to
${TOPDIR}. This function is then used for some messages outputted to the
user (packaged-staging, patch application, clean, unpack tasks).
Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'classes/packaged-staging.bbclass')
-rw-r--r-- | classes/packaged-staging.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass index 82c1a0d38b..bd7b9ea398 100644 --- a/classes/packaged-staging.bbclass +++ b/classes/packaged-staging.bbclass @@ -135,7 +135,7 @@ do_clean_prepend() { pstage_cleanpackage(removepkg, d) stagepkg = bb.data.expand("${PSTAGE_PKG}", d) - bb.note("Removing staging package %s" % stagepkg) + bb.note("Removing staging package %s" % base_path_out(stagepkg, d)) os.system('rm -rf ' + stagepkg) } |