mirror of
https://git.yoctoproject.org/poky
synced 2026-04-11 08:02:21 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0e2eb05f46
commit
fc934af7c8
@@ -39,7 +39,7 @@ sourcepkg_do_create_orig_tgz(){
|
||||
src_tree=${@get_src_tree(d)}
|
||||
|
||||
echo $src_tree
|
||||
oenote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz"
|
||||
bbnote "Creating .orig.tar.gz in ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz"
|
||||
tar cvzf ${DEPLOY_DIR_SRC}/${P}.orig.tar.gz --exclude-from temp/exclude-from-file $src_tree
|
||||
tar -cf - -C $src_tree -ps . | tar -xf - -C $src_tree.orig
|
||||
}
|
||||
@@ -93,7 +93,7 @@ sourcepkg_do_create_diff_gz(){
|
||||
cp $i $src_tree/${DISTRO}/files
|
||||
done
|
||||
|
||||
oenote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz"
|
||||
bbnote "Creating .diff.gz in ${DEPLOY_DIR_SRC}/${P}-${PR}.diff.gz"
|
||||
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
|
||||
rm -rf $src_tree.orig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user