diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2013-11-29 20:15:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 16:27:03 +0000 |
commit | d290bbe6d9826fbcfa2e0a7624886284697ed7eb (patch) | |
tree | 4ff438f7617ff581d7e6d1629becb9146b614e85 /meta/recipes-core/busybox/busybox/get_header_tar.patch | |
parent | e2b62393497a0aaffb21161336a42249db61a10d (diff) | |
download | openembedded-core-contrib-d290bbe6d9826fbcfa2e0a7624886284697ed7eb.tar.gz |
busybox: add busybox_git.bb recipe
Add busybox_git.bb recipe so that it would be easier to hack with
busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we
still use the busybox_1.21.1.bb recipe by default.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox/get_header_tar.patch')
-rw-r--r-- | meta/recipes-core/busybox/busybox/get_header_tar.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/get_header_tar.patch b/meta/recipes-core/busybox/busybox/get_header_tar.patch new file mode 100644 index 0000000000..0e528ff91f --- /dev/null +++ b/meta/recipes-core/busybox/busybox/get_header_tar.patch @@ -0,0 +1,22 @@ +Upstream-Status: Pending + +# copy commit message from OE as the patch comment: +# commit 5a0e1d473ca7aca5ffefffe9a2ec44ae7a1f35bc +# Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> +# Date: Wed Feb 11 22:40:21 2009 +0100 +# +# busybox: fix tar problem with filenames that are exactly 100 bytes +# +# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 + +--- busybox-1.13.2/archival/libarchive/get_header_tar.c.orig 2008-11-09 18:28:02.000000000 +0100 ++++ busybox-1.13.2/archival/libarchive/get_header_tar.c 2009-02-11 22:34:52.000000000 +0100 +@@ -252,6 +252,8 @@ + file_header->name = concat_path_file(tar.prefix, tar.name); + } else + file_header->name = xstrdup(tar.name); ++ if (strlen(file_header->name) > 100) ++ file_header->name[100] = 0; + } + + /* Set bits 12-15 of the files mode */ |