summaryrefslogtreecommitdiff
path: root/debian/patches/disable-udev-rules.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-udev-rules.patch')
-rw-r--r--debian/patches/disable-udev-rules.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/disable-udev-rules.patch b/debian/patches/disable-udev-rules.patch
new file mode 100644
index 0000000..ba96a2d
--- /dev/null
+++ b/debian/patches/disable-udev-rules.patch
@@ -0,0 +1,17 @@
+Description: Prevent the removal of udev rules by agent
+ Agent violates packaging rules by modifying the files from another
+ package. This patch makes the package compliant.
+Author: Ben Howard
+Last-Update: 2013-07-11
+--- a/waagent
++++ b/waagent
+@@ -87,8 +87,7 @@
+ VMM_STARTUP_SCRIPT_NAME='install'
+ VMM_CONFIG_FILE_NAME='linuxosconfiguration.xml'
+ global RulesFiles
+-RulesFiles = [ "/lib/udev/rules.d/75-persistent-net-generator.rules",
+- "/etc/udev/rules.d/70-persistent-net.rules" ]
++RulesFiles = []
+ VarLibDhcpDirectories = ["/var/lib/dhclient", "/var/lib/dhcpcd", "/var/lib/dhcp"]
+ EtcDhcpClientConfFiles = ["/etc/dhcp/dhclient.conf", "/etc/dhcp3/dhclient.conf"]
+ global LibDir