1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().

Move function rootfs_xx_log_check() from rootfs_xx.bbclass to relevant
package_xx.bbclass. (Where xx is rpm/ipk/deb).

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
This commit is contained in:
Lianhao Lu
2011-01-30 12:04:46 +08:00
committed by Richard Purdie
parent 21f2dae46b
commit 5b7e96d852
7 changed files with 61 additions and 64 deletions
+1 -4
View File
@@ -155,7 +155,6 @@ insert_feed_uris () {
}
log_check() {
set +x
for target in $*
do
lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
@@ -164,14 +163,12 @@ log_check() {
if test -e "$lf_path"
then
rootfs_${IMAGE_PKGTYPE}_log_check $target $lf_path
${IMAGE_PKGTYPE}_log_check $target $lf_path
else
echo "Cannot find logfile [$lf_path]"
fi
echo "Logfile is clean"
done
set -x
}
# set '*' as the rootpassword so the images