[DRBD-cvs] svn commit by lars - r1961 - branches/drbd-0.7/scripts -
make patch-kernel target work with 2.6.11 and later ker
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Wed Sep 14 13:09:32 CEST 2005
Author: lars
Date: 2005-09-14 13:09:32 +0200 (Wed, 14 Sep 2005)
New Revision: 1961
Modified:
branches/drbd-0.7/scripts/patch-kernel
Log:
make patch-kernel target work with 2.6.11 and later kernel source
Modified: branches/drbd-0.7/scripts/patch-kernel
===================================================================
--- branches/drbd-0.7/scripts/patch-kernel 2005-09-12 09:16:38 UTC (rev 1960)
+++ branches/drbd-0.7/scripts/patch-kernel 2005-09-14 11:09:32 UTC (rev 1961)
@@ -118,6 +118,7 @@
# Bring over the current kernel Kconfig and Makefile
for f in drivers/block/{Kconfig,Makefile} arch/um/Kconfig_block ; do
+ test -e $KERNEL/$f || continue
cp -a $KERNEL/$f $KERNEL_BASE/$f
cp -a $KERNEL/$f $DRBD_BASE/$f
done
@@ -138,6 +139,7 @@
# }'
}
for f in drivers/block/Kconfig arch/um/Kconfig_block ; do
+ test -e $KERNEL_BASE/$f || continue
grep drbd/ $DRBD_BASE/$f >/dev/null && continue
patch_Kconfig < $KERNEL_BASE/$f > $DRBD_BASE/$f
done
More information about the drbd-cvs
mailing list