Skip to contentSkip to conversation

Fixup default definitions of VAR_RUN and ALT_RUN

PATCH In review Dan Williams 2 participants 2 messages Apr 14, 2010 – Apr 15, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index 1035ea8..74dafa4 100644
@@ -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)
#1 lore raw
Quoted 2 lines · On Wed, 14 Apr 2010 11:53:56 -0700 Dan Williams <[email protected]>…

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

Bother! Yes, thanks, applied.

NeilBrown

Quoted 23 lines

---

 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Makefile +2 -2
index 1035ea8..74dafa4 100644
@@ -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)