diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-04-28 21:49:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-04 00:54:37 +0100 |
commit | fc934af7c843a899f41d43fdb239d255da777903 (patch) | |
tree | b3a9391af053141103455de4661f059e91bea035 /meta/classes/sourcepkg.bbclass | |
parent | 0e2eb05f46192e179912160cc557f274148dcf15 (diff) | |
download | poky-fc934af7c843a899f41d43fdb239d255da777903.tar.gz |
logging: update existing oe* logging users to the bb* interface
The new bash logging class provides bbnote, bbwarn, bbfatal, and bbdebug
replacements (as well as bbplain and bberror) for the oe* equivalents. Use the
new bb* API in preparation to delete the oe* logging API.
This patch was automatically generated by a sed script. The result has been
visually inspected and used to build core-image-sato for qemux86.
(From OE-Core rev: a1f09fce5caba389d0484b169f0cde85d64514fa)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sourcepkg.bbclass')
-rw-r--r-- | meta/classes/sourcepkg.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sourcepkg.bbclass b/meta/classes/sourcepkg.bbclass index f12a1955d4..64e6d7c860 100644 --- a/meta/classes/sourcepkg.bbclass +++ b/meta/classes/sourcepkg.bbclass | |||
@@ -39,7 +39,7 @@ sourcepkg_do_create_orig_tgz(){ | |||
39 | src_tree=${@get_src_tree(d)} | 39 | src_tree=${@get_src_tree(d)} |
40 | 40 | ||
41 | echo $src_tree | 41 | echo $src_tree |
42 | oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" | 42 | bbnote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz" |
43 | tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree | 43 | tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree |
44 | tar -cf - -C $src_tree -ps . | tar -xf - -C $src_tree.orig | 44 | tar -cf - -C $src_tree -ps . | tar -xf - -C $src_tree.orig |
45 | } | 45 | } |
@@ -93,7 +93,7 @@ sourcepkg_do_create_diff_gz(){ | |||
93 | cp $i $src_tree/${DISTRO}/files | 93 | cp $i $src_tree/${DISTRO}/files |
94 | done | 94 | done |
95 | 95 | ||
96 | oenote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz" | 96 | bbnote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz" |
97 | LC_ALL=C TZ=UTC0 diff --exclude-from=temp/exclude-from-file -Naur $src_tree.orig $src_tree | gzip -c > ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz | 97 | LC_ALL=C TZ=UTC0 diff --exclude-from=temp/exclude-from-file -Naur $src_tree.orig $src_tree | gzip -c > ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz |
98 | rm -rf $src_tree.orig | 98 | rm -rf $src_tree.orig |
99 | } | 99 | } |