diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-09-06 17:14:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-07 22:54:15 +0100 |
commit | f6bebe501b4d67832b7141edd8eeb0cab5dcbfc6 (patch) | |
tree | f66f9ef52794bd2161e4905e4cc9dd9f2d02f167 /meta/classes/package_deb.bbclass | |
parent | 921d73b4051fc120d82db938822686d9738244c0 (diff) | |
download | poky-f6bebe501b4d67832b7141edd8eeb0cab5dcbfc6.tar.gz |
package_deb.bbclass: put the stderr into log.do_xxx-attemptonly.xxx
Currently the stderr msgs go into log.do_rootfs and can cause a fatal failure
in "log_check rootfs".
However, the err msg could be spurious since we *only attempt* to install the
the packages, which may not exist actually. E.g., without this patch, we can
get a fatal ERROR due to
E: Couldn't find package task-core-tools-dev.
(From OE-Core rev: 5f00bda874ccaebdb00714b5cb5227462d43f8fb)
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 48aa232736..87e20da843 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -176,7 +176,7 @@ package_install_internal_deb () { | |||
176 | rm -f ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} | 176 | rm -f ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} |
177 | if [ ! -z "${package_attemptonly}" ]; then | 177 | if [ ! -z "${package_attemptonly}" ]; then |
178 | for i in ${package_attemptonly}; do | 178 | for i in ${package_attemptonly}; do |
179 | apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} || true | 179 | apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} 2>&1 || true |
180 | done | 180 | done |
181 | fi | 181 | fi |
182 | 182 | ||