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/patch.bbclass | |
parent | c0622e65a95f42f921e24bfcbc90bce8c838903e (diff) |
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/patch.bbclass')
-rw-r--r-- | classes/patch.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/patch.bbclass b/classes/patch.bbclass index 8d2bde0c4f..2f99e4cf30 100644 --- a/classes/patch.bbclass +++ b/classes/patch.bbclass @@ -527,7 +527,7 @@ python patch_do_patch() { bb.note("Patch '%s' applies to earlier revisions" % pname) continue - bb.note("Applying patch '%s' (%s)" % (pname, unpacked)) + bb.note("Applying patch '%s' (%s)" % (pname, base_path_out(unpacked, d))) try: patchset.Import({"file":unpacked, "remote":url, "strippath": pnum}, True) except: |