From 145cc721a2791c3e032ef18d1f96daa7f5350691 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 7 Aug 2004 12:01:08 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into workhouse.nexus.co.uk:/home/pb/oe/oe-packages 2004/08/07 13:00:51+01:00 nexus.co.uk!pb update busybox back to 1.00-rc2; add McQueen patch for modprobe BKrev: 4114c484p-qOmdVHZV0prZBT4vb2jg --- busybox/busybox-1.00-rc2/tar.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 busybox/busybox-1.00-rc2/tar.patch (limited to 'busybox/busybox-1.00-rc2/tar.patch') diff --git a/busybox/busybox-1.00-rc2/tar.patch b/busybox/busybox-1.00-rc2/tar.patch new file mode 100644 index 0000000000..e080275184 --- /dev/null +++ b/busybox/busybox-1.00-rc2/tar.patch @@ -0,0 +1,22 @@ +--- busybox/archival/libunarchive/data_extract_all.c 2002-11-29 01:43:46.000000000 -0500 ++++ busybox-new/archival/libunarchive/data_extract_all.c 2002-12-03 18:38:21.000000000 -0500 +@@ -69,6 +68,9 @@ + case S_IFLNK: + /* Symlink */ + res = symlink(file_header->link_name, file_header->name); ++ if ((res == -1) && (errno == EEXIST) && (unlink(file_header->name) == 0)) { ++ res = symlink(file_header->link_name, file_header->name); ++ } + if ((res == -1) && !(archive_handle->flags & ARCHIVE_EXTRACT_QUIET)) { + perror_msg("Cannot create symlink from %s to '%s'", file_header->name, file_header->link_name); + } +@@ -78,6 +80,9 @@ + case S_IFCHR: + case S_IFIFO: + res = mknod(file_header->name, file_header->mode, file_header->device); ++ if ((res == -1) && (errno == EEXIST) && (unlink(file_header->name) == 0)) { ++ res = mknod(file_header->name, file_header->mode, file_header->device); ++ } + if ((res == -1) && !(archive_handle->flags & ARCHIVE_EXTRACT_QUIET)) { + perror_msg("Cannot create node %s", file_header->name); + } -- cgit v1.2.3