[Pkg-xen-changes] r334 - trunk/xen-common/debian/patches

Bastian Blank waldi at costa.debian.org
Wed Sep 27 08:00:16 UTC 2006


Author: waldi
Date: Wed Sep 27 08:00:15 2006
New Revision: 334

Added:
   trunk/xen-common/debian/patches/network-bridge.dpatch   (contents, props changed)
Modified:
   trunk/xen-common/debian/patches/00list

Log:
* debian/patches/00list: Add network-bridge.
* debian/patches/network-bridge.dpatch: Add.


Modified: trunk/xen-common/debian/patches/00list
==============================================================================
--- trunk/xen-common/debian/patches/00list	(original)
+++ trunk/xen-common/debian/patches/00list	Wed Sep 27 08:00:15 2006
@@ -1,4 +1,5 @@
 network-dummy
+network-bridge
 xend-disable-relocation
 interpreter
 path-relative

Added: trunk/xen-common/debian/patches/network-bridge.dpatch
==============================================================================
--- (empty file)
+++ trunk/xen-common/debian/patches/network-bridge.dpatch	Wed Sep 27 08:00:15 2006
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## network-bridge.dpatch by Bastian Blank <waldi at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Load netloop module
+
+ at DPATCH@
+diff -urNad xen-common~/tools/examples/network-bridge xen-common/tools/examples/network-bridge
+--- xen-common~/tools/examples/network-bridge	2006-07-05 18:34:34.000000000 +0000
++++ xen-common/tools/examples/network-bridge	2006-09-27 07:58:21.092674561 +0000
+@@ -59,6 +59,8 @@
+ findCommand "$@"
+ evalVariables "$@"
+ 
++modprobe netloop > /dev/null 2>&1
++
+ vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}
+ vifnum=${vifnum:-0}
+ bridge=${bridge:-xenbr${vifnum}}



More information about the Pkg-xen-changes mailing list