summaryrefslogtreecommitdiff
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-26 21:28:32 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-26 21:28:32 +0000
commit60493a33597f9f999f4096c2a41e9419dd69beab (patch)
tree21afe6b673fe5bf78c15c0e35ec11f0d6f73535a /meta/classes/rootfs_ipk.bbclass
parent9ec06c2f4ed3e6d045baa77e35530fbc94656b8b (diff)
downloadopenembedded-core-60493a33597f9f999f4096c2a41e9419dd69beab.tar.gz
openembedded-core-60493a33597f9f999f4096c2a41e9419dd69beab.tar.bz2
openembedded-core-60493a33597f9f999f4096c2a41e9419dd69beab.zip
rootfs_ipk.bbclass: Add context to reported errors
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@557 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 8dfba10b5e..8f9fddde14 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -31,6 +31,7 @@ real_do_rootfs () {
mkdir -p ${IMAGE_ROOTFS}/dev
if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then
+ touch ${DEPLOY_DIR_IPK}/Packages
ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
fi
mkdir -p ${T}
@@ -95,7 +96,7 @@ log_check() {
then
echo "log_check: There were error messages in the logfile"
echo -e "log_check: Matched keyword: [$keyword_die]\n"
- echo "$lf_txt" | grep -v log_check | grep -i "$keyword_die"
+ echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
echo ""
do_exit=1
fi