From f693ca5854d487b2e6d24910a203381f7867dda5 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 20 Jan 2011 01:18:56 +0100 Subject: [PATCH] busybox 1.18.1: Return of mdstart as an applet (regression) (bug #351909) --- ChangeLog | 4 ++++ patches/busybox/1.18.1/1.18.1-mdstart.diff | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4d31869..8e1bc2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ + 20 Jan 2011; Sebastian Pipping + patches/busybox/1.18.1/1.18.1-mdstart.diff: + busybox 1.18.1: Return of mdstart as an applet (regression) (bug #351909) + 16 Jan 2011; Sebastian Pipping genkernel: Bump version to 3.4.11 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 -- 2.26.2