Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32365 Details for
Bug 51727
DRBD 0.6.12 places drbd on / instead of /sbin/
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes path, link etc
0.6.12-scripts-Makefile.patch.chris (text/plain), 1.38 KB, created by
Christian Zoffoli (RETIRED)
on 2004-05-30 20:36:03 UTC
(
hide
)
Description:
fixes path, link etc
Filename:
MIME Type:
Creator:
Christian Zoffoli (RETIRED)
Created:
2004-05-30 20:36:03 UTC
Size:
1.38 KB
patch
obsolete
>diff -uNr drbd-0.6.12.old/scripts/Makefile drbd-0.6.12/scripts/Makefile >--- drbd-0.6.12.old/scripts/Makefile 2004-03-10 14:29:57.000000000 +0100 >+++ drbd-0.6.12/scripts/Makefile 2004-05-31 05:31:36.000000000 +0200 >@@ -42,6 +42,10 @@ > INITD=etc/rc.d/init.d/ > endif > >+ifeq ($(DIST),gentoo) >+ INITD=sbin/ >+endif >+ > ifeq ($(INITD),,) > $(warning Can not guess distribution INITD, please fix Makefile.vars) > $(warning Assume INITD=etc/init.d according to LSB) >@@ -52,17 +56,21 @@ > ln -sf drbd datadisk > > install: >+ mkdir -p $(PREFIX)$(INITD) >+ install -m 755 drbd $(PREFIX)$(INITD)drbd > mkdir -p $(PREFIX)etc/ha.d/resource.d >- install -D -m 755 drbd $(PREFIX)$(INITD)/drbd >- @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \ >- install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \ >- fi >- ln -sf ../../../$(INITD)drbd $(PREFIX)etc/ha.d/resource.d/datadisk >-ifeq ($(DIST),suse) >- ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd >-endif >- @ echo >- @ echo "Don't forget to run update-rc.d or chkconfig" >+ >+ ln -sf /sbin/drbd $(PREFIX)etc/ha.d/resource.d/datadisk >+ >+# @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \ >+# install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \ >+# fi >+# ln -sf ../../../$(INITD)drbd $(PREFIX)etc/ha.d/resource.d/datadisk >+#ifeq ($(DIST),suse) >+# ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd >+#endif >+# @ echo >+# @ echo "Don't forget to run update-rc.d or chkconfig" > > clean: > rm -f *~
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51727
:
32068
|
32364
| 32365