[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426769: patch for including gnbd-kernel in redhat-cluster-source in Etch



Package: linux-modules-extra-2.6
Tags: patch



Hello,
The following patch in redhat-cluster source allow inclusion of gnbd-kernel into redhat-cluster-source package needed for compilation with linux-modules-extra-2.6
But the linux-modules-extra-2.6 is still failing to package for all archs on gnbd-kernel....
It compiles "by hand" at host arch.
Any suggestions?
Regards.
Andre Felipe



andremachado@debian:~/temp$ diff -u rules rules.new
--- rules       2007-05-16 11:52:23.000000000 -0300
+++ rules.new   2007-05-31 12:29:44.000000000 -0300
@@ -64,9 +64,10 @@
        cp -al $(BUILD_DIR)/source/cman-kernel/src $(OUT_DIR)/cman
        cp -al $(BUILD_DIR)/source/dlm-kernel/src $(OUT_DIR)/dlm
        cp -al $(BUILD_DIR)/source/gfs-kernel/src $(OUT_DIR)/gfs
-       echo "obj-m = cman/ dlm/ gfs/" >> $(OUT_DIR)/Makefile
+       cp -al $(BUILD_DIR)/source/gnbd-kernel/src $(OUT_DIR)/gnbd
+       echo "obj-m = cman/ dlm/ gfs/ gnbd/" >> $(OUT_DIR)/Makefile
        echo "obj-m = dlm/ gfs/ gulm/ harness/ nolock/" >> $(OUT_DIR)/gfs/Makefile
-       $(foreach name, cman dlm, \
+       $(foreach name, cman dlm gnbd, \
        rm $(OUT_DIR)/$(name)/Makefile; \
        (echo "export USING_KBUILD=1"; cat $(BUILD_DIR)/source/$(name)-kernel/src/Makefile) > $(OUT_DIR)/$(name)/Makefile; \
        ln -s ../include/cluster $(OUT_DIR)/$(name);)
andremachado@debian:~/temp$





Reply to: