Package: mdadm / 4.0-2

Metadata

Package Version Patches format
mdadm 4.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
debian conffile location.diff | (download)

Makefile | 4 2 + 2 - 0 !
ReadMe.c | 2 1 + 1 - 0 !
mdadm.8.in | 16 8 + 8 - 0 !
mdadm.conf.5 | 2 1 + 1 - 0 !
mdassemble.8 | 2 1 + 1 - 0 !
5 files changed, 13 insertions(+), 13 deletions(-)

 set /etc/mdadm/mdadm.conf as primary config file location

On Debian, the configuration file resides primarily in /etc/mdadm/mdadm.conf,
/etc/mdadm.conf is only used as a backup.

This is a Debian-specific patch.

debian no Werror.diff | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 remove -werror from compiler flags

-Werror seems like a bad idea on released/packaged code because a toolchain
update (introducing new warnings) could break the build. We'll let upstream
use it to beautify the code, but remove it for out builds.

Signed-off-by: martin f. krafft <madduck@debian.org>


sha1 includes.diff | (download)

sha1.h | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 do not #include ansidecl.h from sha1.h, use system headers

In 3.2.5 version of mdadm, new sha1 implementation has been included
which tries to include ansidecl.h header which is internal to some
other project.  But this #include isn't really necessary, since this
implementation does not actually use any defines from ansidecl.h.  So
just remove the #include, instead of adding a new external dependency.

References: http://www.spinics.net/lists/raid/msg38859.html

While at it, unconditionally include system headers like limits.h and
stdint.h, since on a Linux system these headers are available, and
these contains definitive information about real system types than
any guesses.


readlink path.patch | (download)

udev-md-raid-arrays.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 readlink is in /bin not /usr/bin on debian
Date: Fri, 14 Nov 2014 19:11:51 +0300
Bug-Debian: http://bugs.debian.org/766416
mdmonitor service simplify.diff | (download)

systemd/mdmonitor.service | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 simplify mdmonitor.service