diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg/logfix.patch')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/logfix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/logfix.patch b/meta/recipes-devtools/opkg/opkg/logfix.patch deleted file mode 100644 index da06f00bd0..0000000000 --- a/meta/recipes-devtools/opkg/opkg/logfix.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Patch to remove "duplicate" bits of logs from opkg output, which | ||
2 | massively simplifies do_rootfs logs. The reason is we get unflushed | ||
3 | data passed to the children and duplicated. | ||
4 | |||
5 | RP - 26/1/10 | ||
6 | |||
7 | Index: trunk/libbb/gz_open.c | ||
8 | =================================================================== | ||
9 | --- trunk.orig/libbb/gz_open.c 2010-01-26 23:12:10.000000000 +0000 | ||
10 | +++ trunk/libbb/gz_open.c 2010-01-26 23:12:17.000000000 +0000 | ||
11 | @@ -38,6 +38,12 @@ | ||
12 | perror_msg("pipe"); | ||
13 | return(NULL); | ||
14 | } | ||
15 | + | ||
16 | + /* If we don't flush, we end up with two copies of anything pending, | ||
17 | + one from the parent, one from the child */ | ||
18 | + fflush(stdout); | ||
19 | + fflush(stderr); | ||
20 | + | ||
21 | if ((*pid = fork()) == -1) { | ||
22 | perror_msg("fork"); | ||
23 | return(NULL); | ||