Fixup default definitions of VAR_RUN and ALT_RUN
PATCH 1/1 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 <[email protected]>
Signed-off-by Dan Williams <[email protected]>
---
Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
@@ -62,8 +62,8 @@ 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 -VAR_RUN = /var/run +ALT_RUN = /lib/init/rw/mdadm +VAR_RUN = /var/run/mdadm ALTFLAGS = -DALT_RUN=\"$(ALT_RUN)\" VARFLAGS = -DVAR_RUN=\"$(VAR_RUN)\" CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(ALTFLAGS) $(VARFLAGS)
Quoted 2 lines · On Wed, 14 Apr 2010 11:53:56 -0700 Dan Williams <[email protected]>…
I suspect commit
c132678bwantedVAR_RUNandALT_RUNto be suffixed by '/mdadm' to match the defaults inmdadm.h.
Bother! Yes, thanks, applied.
NeilBrown
Quoted 23 lines
Cc Luca Berra <[email protected]>Signed-off-by Dan Williams <[email protected]>---
Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)Makefile +2
-2@@ -62,8 +62,8 @@ 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 -VAR_RUN = /var/run +ALT_RUN = /lib/init/rw/mdadm +VAR_RUN = /var/run/mdadm ALTFLAGS = -DALT_RUN=\"$(ALT_RUN)\" VARFLAGS = -DVAR_RUN=\"$(VAR_RUN)\" CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(ALTFLAGS) $(VARFLAGS)