summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-04-14 11:53:56 -0700
committerNeilBrown <neilb@suse.de>2010-04-15 15:29:49 +1000
commitc824e918980e46aa8dba5d806304877444837054 (patch)
tree4285ef804477aadd333ead3d80da004f0b52d8d3
parent94fcb80a8e0c6311636b2ee689a6ac5b7125afe6 (diff)
downloadmdadm-c824e918980e46aa8dba5d806304877444837054.zip
mdadm-c824e918980e46aa8dba5d806304877444837054.tar.gz
mdadm-c824e918980e46aa8dba5d806304877444837054.tar.xz
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@comedia.it> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r--Makefile4
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)