diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-26 21:28:32 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-26 21:28:32 +0000 |
commit | 60493a33597f9f999f4096c2a41e9419dd69beab (patch) | |
tree | 21afe6b673fe5bf78c15c0e35ec11f0d6f73535a /meta/classes | |
parent | 9ec06c2f4ed3e6d045baa77e35530fbc94656b8b (diff) | |
download | poky-60493a33597f9f999f4096c2a41e9419dd69beab.tar.gz |
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')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 3 |
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 () { | |||
31 | mkdir -p ${IMAGE_ROOTFS}/dev | 31 | mkdir -p ${IMAGE_ROOTFS}/dev |
32 | 32 | ||
33 | if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then | 33 | if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then |
34 | touch ${DEPLOY_DIR_IPK}/Packages | ||
34 | ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK} | 35 | ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK} |
35 | fi | 36 | fi |
36 | mkdir -p ${T} | 37 | mkdir -p ${T} |
@@ -95,7 +96,7 @@ log_check() { | |||
95 | then | 96 | then |
96 | echo "log_check: There were error messages in the logfile" | 97 | echo "log_check: There were error messages in the logfile" |
97 | echo -e "log_check: Matched keyword: [$keyword_die]\n" | 98 | echo -e "log_check: Matched keyword: [$keyword_die]\n" |
98 | echo "$lf_txt" | grep -v log_check | grep -i "$keyword_die" | 99 | echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die" |
99 | echo "" | 100 | echo "" |
100 | do_exit=1 | 101 | do_exit=1 |
101 | fi | 102 | fi |