diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-09-01 09:24:37 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-05 22:51:37 +0200 |
commit | f661b023ab0bff19575992126d4646c8c8de7d6c (patch) | |
tree | 978e9b94f01a063c1a08f2483d5a53dbea8ee3f5 /package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch | |
parent | bfa9e9e2bd8b4d3f0dcc29c461ba5b061bc5d738 (diff) | |
download | buildroot-novena-f661b023ab0bff19575992126d4646c8c8de7d6c.tar.gz buildroot-novena-f661b023ab0bff19575992126d4646c8c8de7d6c.zip |
busybox: Bump to 1.17.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch')
-rw-r--r-- | package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch b/package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch deleted file mode 100644 index 71c7abdab..000000000 --- a/package/busybox/busybox-1.17.1/busybox-1.17.1-mdev.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -urpN busybox-1.17.1/testsuite/mdev.tests busybox-1.17.1-mdev/testsuite/mdev.tests ---- busybox-1.17.1/testsuite/mdev.tests 2010-07-06 04:25:54.000000000 +0200 -+++ busybox-1.17.1-mdev/testsuite/mdev.tests 2010-08-23 02:38:21.000000000 +0200 -@@ -38,6 +38,16 @@ brw-rw---- 1 0 0 8,0 sda - SKIP= - - # continuing to use directory structure from prev test -+optional STATIC FEATURE_MDEV_CONF FEATURE_LS_TIMESTAMPS FEATURE_LS_USERNAME -+testing "mdev deletes /block/sda" \ -+ "env - PATH=$PATH ACTION=remove DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; -+ ls -ln mdev.testdir/dev | $FILTER_LS" \ -+"\ -+" \ -+ "" "" -+SKIP= -+ -+# continuing to use directory structure from prev test - rm -rf mdev.testdir/dev/* - echo ".* 1:1 666" >mdev.testdir/etc/mdev.conf - echo "sda 2:2 444" >>mdev.testdir/etc/mdev.conf -diff -urpN busybox-1.17.1/util-linux/mdev.c busybox-1.17.1-mdev/util-linux/mdev.c ---- busybox-1.17.1/util-linux/mdev.c 2010-07-06 04:25:54.000000000 +0200 -+++ busybox-1.17.1-mdev/util-linux/mdev.c 2010-08-23 02:38:21.000000000 +0200 -@@ -132,6 +132,7 @@ static void make_device(char *path, int - major = -1; - } - } -+ /* else: for delete, -1 still deletes the node, but < -1 suppresses that */ - - /* Determine device name, type, major and minor */ - device_name = (char*) bb_basename(path); -@@ -279,7 +280,7 @@ static void make_device(char *path, int - if (aliaslink == '!' && s == a+1) { - val = st; - /* "!": suppress node creation/deletion */ -- major = -1; -+ major = -2; - } - else if (aliaslink == '>' || aliaslink == '=') { - val = st; -@@ -379,7 +380,7 @@ static void make_device(char *path, int - free(command); - } - -- if (delete && major >= 0) { -+ if (delete && major >= -1) { - if (ENABLE_FEATURE_MDEV_RENAME && alias) { - if (aliaslink == '>') - unlink(device_name); |