summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-04-28 15:46:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-29 17:53:35 +0100
commit29812e61736a95f1de64b3e9ebbb9c646ebd28dd (patch)
tree64b0197226e8d8ffcbecd1bd87757cdc35acbfa1 /meta
parent80bc382c62a55d9502504e5b77744b3bd0f981ab (diff)
downloadpoky-29812e61736a95f1de64b3e9ebbb9c646ebd28dd.tar.gz
busybox: unbreak tar of uncompressed filesyocto-1.7.2dizzy-12.0.2
A patch was added to fix compressed tar files, but broke uncompressed tar files, this fix is from the busybox mailing list http://lists.busybox.net/pipermail/busybox/2014-January/080389.html [YOCTO #7645] (From OE-Core rev: 2e67a2d35ffcaa0d35363b05209060aff7026c9a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/busybox/busybox/unbreak_noncompressed_tar.patch23
-rw-r--r--meta/recipes-core/busybox/busybox_1.22.1.bb1
2 files changed, 24 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
2This patch allows tar to continue correctly when it does not detect
3a compressed format. This allows tar to then untar a non-compressed
4tar file.
5
6See this thread for details: http://lists.busybox.net/pipermail/busybox/2014-January/080389.html
7
8Upstream-Status: Inappropriate [Upstream has different fix with additional functionality]
9Signed-off-by: Saul Wold <sgw@linux.intel.com>
10
11Index: 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;
diff --git a/meta/recipes-core/busybox/busybox_1.22.1.bb b/meta/recipes-core/busybox/busybox_1.22.1.bb
index ae8eca70ff..1b1eaf35ac 100644
--- a/meta/recipes-core/busybox/busybox_1.22.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.22.1.bb
@@ -35,6 +35,7 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
35 file://CVE-2014-9645_busybox_reject_module_names_with_slashes.patch \ 35 file://CVE-2014-9645_busybox_reject_module_names_with_slashes.patch \
36 file://lzop-add-overflow-check.patch \ 36 file://lzop-add-overflow-check.patch \
37 file://libarchive-open_zipped-does-not-need-to-check-extens.patch \ 37 file://libarchive-open_zipped-does-not-need-to-check-extens.patch \
38 file://unbreak_noncompressed_tar.patch \
38" 39"
39 40
40SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e" 41SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e"