From 39c5a909836de39f974b4221627a2e0420deb913 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 20 Mar 2006 03:50:25 +0000 Subject: [PATCH] Release 2.4-pre1 Signed-off-by: Neil Brown --- Assemble.c | 2 ++ Makefile | 2 +- ReadMe.c | 2 +- inventory | 4 ++++ makedist | 3 ++- mdadm.8 | 2 +- mdadm.spec | 7 ++++--- mdassemble.8 | 2 +- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Assemble.c b/Assemble.c index 480c512c..2dca21df 100644 --- a/Assemble.c +++ b/Assemble.c @@ -568,6 +568,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, * that was moved aside due to the reshape overwriting live data * The code of doing this lives in Grow.c */ +#ifndef MDASSEMBLE if (info.reshape_active) { int err = 0; int *fdlist = malloc(sizeof(int)* bestcnt); @@ -595,6 +596,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd, return err; } } +#endif /* count number of in-sync devices according to the superblock. * We must have this number to start the array without -s or -R */ diff --git a/Makefile b/Makefile index 3e18f9d0..6b647134 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ install : mdadm mdadm.8 md.4 mdadm.conf.5 clean : rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc mdadm.static *.orig *.porig *.rej *.alt \ mdassemble mdassemble.static mdassemble.uclibc mdassemble.klibc swap_super \ - init.cpio.gz mdadm.uclibc.static + init.cpio.gz mdadm.uclibc.static test_stripe dist : clean ./makedist diff --git a/ReadMe.c b/ReadMe.c index 2e13b5d9..c508a36e 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -30,7 +30,7 @@ #include "mdadm.h" -char Version[] = Name " - v2.3.1 - 6 February 2006\n"; +char Version[] = Name " - v2.4-pre1 - Not For Production Use - 20 March 2006\n"; /* * File: ReadMe.c diff --git a/inventory b/inventory index f885957f..ad777cfb 100644 --- a/inventory +++ b/inventory @@ -4,6 +4,7 @@ ANNOUNCE-2.1 ANNOUNCE-2.2 ANNOUNCE-2.3 ANNOUNCE-2.3.1 +ANNOUNCE-2.4-pre1 Assemble.c Build.c COPYING @@ -45,9 +46,11 @@ misc/ misc/syslog-events mkinitramfs raid5extend.c +restripe.c super0.c super1.c swap_super.c +sysfs.c test tests/ tests/00linear @@ -87,6 +90,7 @@ tests/06name tests/06r5swap tests/06sysfs tests/06wrmostly +tests/07testreshape5 tests/ToTest tests/check tests/testdev diff --git a/makedist b/makedist index b7fbc8e8..db830218 100755 --- a/makedist +++ b/makedist @@ -19,7 +19,8 @@ grep "^.TH MDADM 8 .. v$version" mdadm.8 > /dev/null 2>&1 || echo mdadm.8 does not mention verion $version. exit 1 } -grep "^Version: *$version$" mdadm.spec > /dev/null 2>&1 || +rpmv=`echo $version | tr - _` +grep "^Version: *$rpmv$" mdadm.spec > /dev/null 2>&1 || { echo mdadm.spec does not mention version $version. exit 1 diff --git a/mdadm.8 b/mdadm.8 index 15cc178e..6ef79aed 100644 --- a/mdadm.8 +++ b/mdadm.8 @@ -1,5 +1,5 @@ .\" -*- nroff -*- -.TH MDADM 8 "" v2.3.1 +.TH MDADM 8 "" v2.4-pre1 .SH NAME mdadm \- manage MD devices .I aka diff --git a/mdadm.spec b/mdadm.spec index 86482571..c14eab76 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,8 +1,9 @@ Summary: mdadm is used for controlling Linux md devices (aka RAID arrays) Name: mdadm -Version: 2.3.1 +Version: 2.4_pre1 Release: 1 -Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz +#Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz +Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-2.4-pre1.tgz URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/ License: GPL Group: Utilities/System @@ -19,7 +20,7 @@ configuration file (that a config file can be used to help with some common tasks). %prep -%setup -q +%setup -q -n mdadm-2.4-pre1 # we want to install in /sbin, not /usr/sbin... %define _exec_prefix %{nil} diff --git a/mdassemble.8 b/mdassemble.8 index f2aea687..d4824184 100644 --- a/mdassemble.8 +++ b/mdassemble.8 @@ -1,5 +1,5 @@ .\" -*- nroff -*- -.TH MDASSEMBLE 8 "" v2.3.1 +.TH MDASSEMBLE 8 "" v2.4-pre1 .SH NAME mdassemble \- assemble MD devices .I aka -- 2.39.2