path: root/scripts/lib/
diff options
authorMichael Olbrich <>2016-05-29 12:04:12 +0200
committerMichael Olbrich <>2016-05-29 13:30:34 +0200
commit30b9267e35eea1c2edb4da0231a428bfa25b6766 (patch)
tree2c146578247fd2f0454cdd9205612cbbd88e41e9 /scripts/lib/
parent8ee3c980c36e5425feeb76d459274fbcc2cdfa8a (diff)
redirect command stderr to stdout
Redirect stderr to stdout for the actual, prepare, compile, install and opkg-build command. This preserves the chronological order of stdout vs. stderr when building packages in parallel with output sync enabled. As a side-effect, the stderr output of these commands won't show up on the console for quiet builds. But most of that is not really useful by itself anyways. And the resulting logfile is more readable now for the rest. Signed-off-by: Michael Olbrich <>
Diffstat (limited to 'scripts/lib/')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ b/scripts/lib/
index 2505f2bcf..d12c84457 100644
--- a/scripts/lib/
+++ b/scripts/lib/
@@ -16,7 +16,7 @@
ptxd_make_opkg_finish_impl() {
chown -R 0:0 "${pkg_xpkg_tmp}" &&
ptxd_make_xpkg_pkg "${pkg_opkg_tmp}" "${pkg_xpkg_cmds}" "${pkg_xpkg_perms}" &&
- opkg-build ${ptx_xpkg_extra_args} "${pkg_opkg_tmp}" "${ptx_pkg_dir}"
+ opkg-build ${ptx_xpkg_extra_args} "${pkg_opkg_tmp}" "${ptx_pkg_dir}" 2>&1
export -f ptxd_make_opkg_finish_impl