diff options
Diffstat (limited to 'meta/packages/busybox')
-rw-r--r-- | meta/packages/busybox/files/glibc2.4-icmp6.patch | 15 | ||||
-rw-r--r-- | meta/packages/busybox/files/postinst | 25 | ||||
-rw-r--r-- | meta/packages/busybox/files/prerm | 10 |
3 files changed, 0 insertions, 50 deletions
diff --git a/meta/packages/busybox/files/glibc2.4-icmp6.patch b/meta/packages/busybox/files/glibc2.4-icmp6.patch deleted file mode 100644 index 3cec1dd31a..0000000000 --- a/meta/packages/busybox/files/glibc2.4-icmp6.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | --- busybox-1.01/networking/ping6.c.orig 2006-03-15 15:43:21.000000000 +0100 | ||
2 | +++ busybox-1.01/networking/ping6.c 2006-03-15 15:49:29.000000000 +0100 | ||
3 | @@ -56,6 +56,12 @@ | ||
4 | #include <stddef.h> /* offsetof */ | ||
5 | #include "busybox.h" | ||
6 | |||
7 | +#ifndef ICMP6_MEMBERSHIP_QUERY /* glibc >= 2.4 */ | ||
8 | +#define ICMP6_MEMBERSHIP_QUERY MLD_LISTENER_QUERY | ||
9 | +#define ICMP6_MEMBERSHIP_REPORT MLD_LISTENER_REPORT | ||
10 | +#define ICMP6_MEMBERSHIP_REDUCTION MLD_LISTENER_REDUCTION | ||
11 | +#endif | ||
12 | + | ||
13 | static const int DEFDATALEN = 56; | ||
14 | static const int MAXIPLEN = 60; | ||
15 | static const int MAXICMPLEN = 76; | ||
diff --git a/meta/packages/busybox/files/postinst b/meta/packages/busybox/files/postinst deleted file mode 100644 index 36d8190f80..0000000000 --- a/meta/packages/busybox/files/postinst +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | #!/bin/busybox ash | ||
2 | |||
3 | action="$1" | ||
4 | oldversion="$2" | ||
5 | |||
6 | umask 022 | ||
7 | |||
8 | if /bin/busybox [ "$action" != configure ] | ||
9 | then | ||
10 | exit 0 | ||
11 | fi | ||
12 | |||
13 | . /etc/default/functions | ||
14 | |||
15 | setup_init_hwclock() { | ||
16 | updatercd hwclock.sh start 50 S . stop 25 0 1 6 . | ||
17 | /etc/init.d/hwclock.sh restart | ||
18 | } | ||
19 | |||
20 | /bin/busybox ash /usr/bin/update-alternatives --install /bin/vi vi /bin/busybox 100 | ||
21 | /bin/busybox ash /usr/bin/update-alternatives --install /bin/sh sh /bin/busybox 100 | ||
22 | |||
23 | setup_init_hwclock | ||
24 | |||
25 | exit 0 | ||
diff --git a/meta/packages/busybox/files/prerm b/meta/packages/busybox/files/prerm deleted file mode 100644 index 7ade4b1dec..0000000000 --- a/meta/packages/busybox/files/prerm +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | if [ "$1" != "upgrade" ]; then | ||
4 | update-alternatives --remove sh /bin/busybox | ||
5 | update-alternatives --remove vi /bin/busybox | ||
6 | find /etc -name [SK][0-9][0-9]hwclock.sh | xargs rm -f | ||
7 | find /etc -name [SK][0-9][0-9]syslog | xargs rm -f | ||
8 | fi | ||
9 | |||
10 | exit 0 | ||