Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 19 years ago
parent
commit
2e2107a98e
3 changed files with 84 additions and 0 deletions
  1. +43
    -0
      package/clifford/drbd7/drbd7.desc
  2. +30
    -0
      package/clifford/drbd7/no-depmod.patch
  3. +11
    -0
      package/clifford/drbd7/tail-hotfix.patch

+ 43
- 0
package/clifford/drbd7/drbd7.desc

@ -0,0 +1,43 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/clifford/drbd7/drbd7.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Distributed Replicated Block Device
[T] DRBD is a block device which is designed to build high availability
[T] clusters. This is done by mirroring a whole block device via (a dedicated)
[T] network. You could see it as a network raid-1.
[U] http://www.drbd.org/
[A] Philipp Reisner <philipp.reisner@linbit.com>
[M] Clifford Wolf <clifford@clifford.at>
[C] base/kernel
[L] GPL
[S] Stable
[V] 0.7.11
[P] X -----5---9 211.002
[D] 3013404035 drbd-0.7.11.tar.gz http://oss.linbit.com/drbd/0.7/

+ 30
- 0
package/clifford/drbd7/no-depmod.patch

@ -0,0 +1,30 @@
--- ./drbd/Makefile.orig 2005-08-24 11:04:36.000000000 +0200
+++ ./drbd/Makefile 2005-08-24 11:05:45.000000000 +0200
@@ -154,12 +154,12 @@
# install -d $(PREFIX)/var/lib/drbd
install -d $(PREFIX)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
install -m 644 $(MODOBJ) $(PREFIX)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
- ifeq ($(shell uname -r),$(KERNELRELEASE))
- /sbin/depmod -a || /sbin/depmod -e $(MODOBJ) 2>&1 >/dev/null || true
- else
- [ -e $(LINUX)/System.map ] && \
- /sbin/depmod -F $(LINUX)/System.map -e ./$(MODOBJ) 2>&1 >/dev/null || true
- endif
+# ifeq ($(shell uname -r),$(KERNELRELEASE))
+# /sbin/depmod -a || /sbin/depmod -e $(MODOBJ) 2>&1 >/dev/null || true
+# else
+# [ -e $(LINUX)/System.map ] && \
+# /sbin/depmod -F $(LINUX)/System.map -e ./$(MODOBJ) 2>&1 >/dev/null || true
+# endif
else
install:
@echo "No .kernelrelease found. Do you need to 'make' the module first?"
@@ -167,6 +167,6 @@
endif
depmod:
- [ -e $(KDIR)/System.map ] && [ -e ./$(MODOBJ) ] && \
- /sbin/depmod -F $(KDIR)/System.map -n -e ./$(MODOBJ) # 2>&1 >/dev/null
+# [ -e $(KDIR)/System.map ] && [ -e ./$(MODOBJ) ] && \
+# /sbin/depmod -F $(KDIR)/System.map -n -e ./$(MODOBJ) # 2>&1 >/dev/null
endif

+ 11
- 0
package/clifford/drbd7/tail-hotfix.patch

@ -0,0 +1,11 @@
--- ./drbd/Makefile.orig 2005-08-24 10:45:39.000000000 +0200
+++ ./drbd/Makefile 2005-08-24 10:44:40.000000000 +0200
@@ -109,7 +109,7 @@
@mv .kernelrelease.new .kernelrelease
@echo -n "Memorizing module configuration ... "
@{ echo -e "#\n# drbd.o was compiled with" ; \
- echo "# `gcc -v 2>&1 | tail -1`" ; \
+ echo "# `gcc -v 2>&1 | tail -n -1`" ; \
echo "# against this kernelrelease:" ; \
sed 's/^/# /' .kernelrelease ; \
echo "# kernel .config from" ; \

Loading…
Cancel
Save