summaryrefslogtreecommitdiff
path: root/debian/patches/disable-udev-rules-removal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-udev-rules-removal.patch')
-rw-r--r--debian/patches/disable-udev-rules-removal.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/disable-udev-rules-removal.patch b/debian/patches/disable-udev-rules-removal.patch
new file mode 100644
index 0000000..3f3adfb
--- /dev/null
+++ b/debian/patches/disable-udev-rules-removal.patch
@@ -0,0 +1,12 @@
+--- a/azurelinuxagent/distro/ubuntu/osutil.py
++++ b/azurelinuxagent/distro/ubuntu/osutil.py
+@@ -44,6 +44,9 @@
+ def start_agent_service(self):
+ return shellutil.run("service walinuxagent start", chk_err=False)
+
++ def remove_rules_files(self, *args):
++ return
++
+ class Ubuntu1204OSUtil(Ubuntu14xOSUtil):
+ def __init__(self):
+ super(Ubuntu1204OSUtil, self).__init__()