summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2011-01-30 12:04:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-31 16:58:15 +0000
commit5b7e96d852778f1164198040cbd165241ea51e40 (patch)
tree15ba66b3f8d919f8411e73233c246482de5dba42 /meta/classes/image.bbclass
parent21f2dae46b481dbf34f6874ae814dcd23fc86d54 (diff)
downloadpoky-5b7e96d852778f1164198040cbd165241ea51e40.tar.gz
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>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 8e8d92bdae..14de3e1994 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -155,7 +155,6 @@ insert_feed_uris () {
155} 155}
156 156
157log_check() { 157log_check() {
158 set +x
159 for target in $* 158 for target in $*
160 do 159 do
161 lf_path="${WORKDIR}/temp/log.do_$target.${PID}" 160 lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
@@ -164,14 +163,12 @@ log_check() {
164 163
165 if test -e "$lf_path" 164 if test -e "$lf_path"
166 then 165 then
167 rootfs_${IMAGE_PKGTYPE}_log_check $target $lf_path 166 ${IMAGE_PKGTYPE}_log_check $target $lf_path
168 else 167 else
169 echo "Cannot find logfile [$lf_path]" 168 echo "Cannot find logfile [$lf_path]"
170 fi 169 fi
171 echo "Logfile is clean" 170 echo "Logfile is clean"
172 done 171 done
173
174 set -x
175} 172}
176 173
177# set '*' as the rootpassword so the images 174# set '*' as the rootpassword so the images