diff options
Diffstat (limited to 'meta/recipes-core/busybox/busybox')
-rw-r--r-- | meta/recipes-core/busybox/busybox/unbreak_noncompressed_tar.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/unbreak_noncompressed_tar.patch b/meta/recipes-core/busybox/busybox/unbreak_noncompressed_tar.patch new file mode 100644 index 0000000000..3c3c23a54a --- /dev/null +++ b/meta/recipes-core/busybox/busybox/unbreak_noncompressed_tar.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | |||
2 | This patch allows tar to continue correctly when it does not detect | ||
3 | a compressed format. This allows tar to then untar a non-compressed | ||
4 | tar file. | ||
5 | |||
6 | See this thread for details: http://lists.busybox.net/pipermail/busybox/2014-January/080389.html | ||
7 | |||
8 | Upstream-Status: Inappropriate [Upstream has different fix with additional functionality] | ||
9 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
10 | |||
11 | Index: busybox-1.22.1/archival/libarchive/open_transformer.c | ||
12 | =================================================================== | ||
13 | --- busybox-1.22.1.orig/archival/libarchive/open_transformer.c | ||
14 | +++ busybox-1.22.1/archival/libarchive/open_transformer.c | ||
15 | @@ -200,7 +200,7 @@ int FAST_FUNC open_zipped(const char *fn | ||
16 | || (ENABLE_FEATURE_SEAMLESS_BZ2) | ||
17 | || (ENABLE_FEATURE_SEAMLESS_XZ) | ||
18 | ) { | ||
19 | - setup_unzip_on_fd(fd, /*fail_if_not_detected:*/ 1); | ||
20 | + setup_unzip_on_fd(fd, /*fail_if_not_detected:*/ 0); | ||
21 | } | ||
22 | |||
23 | return fd; | ||