]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/postinst-intercepts: do not redirect errors to /dev/null
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 28 Jan 2014 08:39:32 +0000 (10:39 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:31 +0000 (11:50 +0000)
The redirection was necessary with the old bash code because the log
checking routine was searching for error strings in the log and abort
the build in case failures occured. With the new python code,
redirecting the intercept stderr is no longer necessary. This also makes
the intercept hooks easier to debug.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
scripts/postinst-intercepts/update_font_cache
scripts/postinst-intercepts/update_pixbuf_cache

index afc93d80a5d0681e5f3fa24271ce7ea6d11cde7f..78f33651e9e15930c9d27b80e569bac9776e9785 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
-                                       $D${bindir}/fc-cache --sysroot=$D >/dev/null 2>&1
+                                       $D${bindir}/fc-cache --sysroot=$D
 
 
index bd94fe88dd1ae1069e101f84cd9e150a744d0164..3f937738a1b76fef0628cb6e94f92dda21b0fb78 100644 (file)
@@ -4,7 +4,7 @@ export GDK_PIXBUF_MODULEDIR=$D${libdir}/gdk-pixbuf-2.0/2.10.0/loaders
 
 PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D/${libdir}:$D/${base_libdir}\
     $D${bindir}/gdk-pixbuf-query-loaders \
-    >$GDK_PIXBUF_MODULEDIR/../loaders.cache 2>/dev/null && \
+    >$GDK_PIXBUF_MODULEDIR/../loaders.cache && \
     sed -i -e "s:$D::g" $GDK_PIXBUF_MODULEDIR/../loaders.cache