From: Dan Williams Date: Wed, 14 Apr 2010 18:53:56 +0000 (-0700) Subject: Fixup default definitions of VAR_RUN and ALT_RUN X-Git-Tag: mdadm-3.1.3~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c824e918980e46aa8dba5d806304877444837054;p=thirdparty%2Fmdadm.git 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 Signed-off-by: Dan Williams Signed-off-by: NeilBrown --- diff --git a/Makefile b/Makefile index 2aafad0f..2517f75e 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)