Broken-up patch #6
This patch makes sure there is an sbin directory to copy files into.
diff -ruN ./elks-stuff/elkscmd/disk_utils/Makefile ./elks/elkscmd/disk_utils/Makefile
--- ./elks-stuff/elkscmd/disk_utils/Makefile
2004-05-28 16:02:01.000000000 -0400
+++ ./elks/elkscmd/disk_utils/Makefile 2004-04-20
21:22:58.000000000 -0400
@@ -39,6 +39,7 @@
SPROGS=mkfs
all: $(PROGS)
+ mkdir $(TARGET_MNT)/sbin
rfs: install
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
Tommy McCabe wrote:
[...]
Review
Quoted 2 lines
all: $(PROGS)
(quoted diff) +1
-0+ mkdir $(TARGET_MNT)/sbin
If sbin already exists, this will fail. You want either '-mkdir' (ignore result) or 'mkdir -p' (create path if it doesn't already exist).
This has confused me many times in the past...
Signature · 1 line
[insert interesting .sig here]
added -p to mkdir and applied. thanks.
Mike
Quoted 30 lines · Tommy McCabe
This patch makes sure there is an sbin directory to copy files into.
diff -ruN ./elks-stuff/elkscmd/disk_utils/Makefile ./elks/elkscmd/disk_utils/Makefile
--- ./elks-stuff/elkscmd/disk_utils/Makefile2004-05-28 16:02:01.000000000 -0400+++ ./elks/elkscmd/disk_utils/Makefile 2004-04-20
21:22:58.000000000 -0400(quoted diff) +1
-0@@ -39,6 +39,7 @@ SPROGS=mkfs all: $(PROGS) + mkdir $(TARGET_MNT)/sbin rfs: install__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Greetings,
Quoted 8 lines · David Given
Tommy McCabe wrote:
[...]Review
Quoted 2 lines
all: $(PROGS)
(quoted diff) +1
-0+ mkdir $(TARGET_MNT)/sbinIf sbin already exists, this will fail. You want either '-mkdir' (ignore result) or 'mkdir -p' (create path if it doesn't already exist).
Fixed before applying, thanks for pointing this out.
best wishes
Mike