aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2011-01-20 01:18:56 +0100
committerSebastian Pipping <sebastian@pipping.org>2011-01-20 01:19:04 +0100
commitf693ca5854d487b2e6d24910a203381f7867dda5 (patch)
tree31cc9fc1c0cef274ea01a34da17284b47e094fe8 /patches
parentBump version to 3.4.11 (diff)
downloadgenkernel-f693ca5854d487b2e6d24910a203381f7867dda5.tar.gz
genkernel-f693ca5854d487b2e6d24910a203381f7867dda5.tar.bz2
genkernel-f693ca5854d487b2e6d24910a203381f7867dda5.zip
busybox 1.18.1: Return of mdstart as an applet (regression) (bug #351909)
Diffstat (limited to 'patches')
-rw-r--r--patches/busybox/1.18.1/1.18.1-mdstart.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/busybox/1.18.1/1.18.1-mdstart.diff b/patches/busybox/1.18.1/1.18.1-mdstart.diff
index 88be233..6e4bf3f 100644
--- a/patches/busybox/1.18.1/1.18.1-mdstart.diff
+++ b/patches/busybox/1.18.1/1.18.1-mdstart.diff
@@ -3,6 +3,17 @@ Based on:
> Forward-port the old mdstart tool from the Gentoo Busybox-1.1.3.
> Only fires the RAID_AUTORUN ioctl on existing /dev/md nodes.
+diff -pruN a/include/applets.src.h mdstart/include/applets.src.h
+--- a/include/applets.src.h 2011-01-20 01:08:05.470632138 +0100
++++ mdstart/include/applets.src.h 2011-01-20 01:09:13.198003320 +0100
+@@ -235,6 +235,7 @@ IF_MAN(APPLET(man, _BB_DIR_SBIN, _BB_SUI
+ IF_MATCHPATHCON(APPLET(matchpathcon, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
+ IF_MD5SUM(APPLET_NOEXEC(md5sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_DROP, md5sum))
+ IF_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_DROP))
++IF_MDSTART(APPLET(mdstart, _BB_DIR_SBIN, _BB_SUID_DROP))
+ IF_MICROCOM(APPLET(microcom, _BB_DIR_USR_BIN, _BB_SUID_DROP))
+ IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, _BB_DIR_BIN, _BB_SUID_DROP, mkdir))
+ IF_MKFS_VFAT(APPLET_ODDNAME(mkdosfs, mkfs_vfat, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_vfat))
diff -pruN a/include/usage.src.h mdstart/include/usage.src.h
--- a/include/usage.src.h 2010-12-21 06:29:45.000000000 +0200
+++ mdstart/include/usage.src.h 2011-01-12 21:29:47.000000000 +0200