Dan Williams: Fixup default definitions of VAR_RUN and ALT_RUN

Martin F. Krafft madduck at alioth.debian.org
Sat Aug 28 18:44:03 UTC 2010


Module: mdadm
Branch: build
Commit: c824e918980e46aa8dba5d806304877444837054
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=c824e918980e46aa8dba5d806304877444837054

Author: Dan Williams <dan.j.williams at intel.com>
Date:   Wed Apr 14 11:53:56 2010 -0700

Fixup default definitions of VAR_RUN and ALT_RUN

I suspect commit c132678b wanted VAR_RUN and ALT_RUN to be suffixed by
'/mdadm' to match the defaults in mdadm.h.

Cc: Luca Berra <bluca at comedia.it>
Signed-off-by: Dan Williams <dan.j.williams at intel.com>
Signed-off-by: NeilBrown <neilb at suse.de>

---

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 2aafad0..2517f75 100644
--- a/Makefile
+++ b/Makefile
@@ -62,9 +62,9 @@ CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\"
 # from early boot to late boot.
 # If you don't have /lib/init/rw you might want to use /dev/.something
 #  e.g. make ALT_RUN=/dev/.mdadm
-ALT_RUN = /lib/init/rw
+ALT_RUN = /lib/init/rw/mdadm
 ALT_MAPFILE = map
-VAR_RUN = /var/run
+VAR_RUN = /var/run/mdadm
 ALTFLAGS = -DALT_RUN=\"$(ALT_RUN)\" -DALT_MAPFILE=\"$(ALT_MAPFILE)\"
 VARFLAGS = -DVAR_RUN=\"$(VAR_RUN)\"
 CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(ALTFLAGS) $(VARFLAGS)




More information about the pkg-mdadm-commits mailing list