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:
committed by
Richard Purdie
parent
21f2dae46b
commit
5b7e96d852
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user