diff options
author | Ben Howard <ben.howard@ubuntu.com> | 2015-11-09 08:38:28 -0700 |
---|---|---|
committer | usd-importer <ubuntu-server@lists.ubuntu.com> | 2015-11-09 16:53:49 +0000 |
commit | 325a43b8bf4b1d8e9f02848423c3b19c3ad8071d (patch) | |
tree | 5481a5200b3e7a1fed08ab9d838c6023cbf753ae /debian/azure-resource | |
parent | 33844ef406f0c499eb703dfa9d1e44554be0375e (diff) | |
download | vyos-walinuxagent-325a43b8bf4b1d8e9f02848423c3b19c3ad8071d.tar.gz vyos-walinuxagent-325a43b8bf4b1d8e9f02848423c3b19c3ad8071d.zip |
Import patches-unapplied version 2.1.1-0ubuntu4 to ubuntu/xenial-proposed
Imported using git-ubuntu import.
Changelog parent: 33844ef406f0c499eb703dfa9d1e44554be0375e
New changelog entries:
* Added d/azure-resource as initramfs hook (LP: #1514485).
Diffstat (limited to 'debian/azure-resource')
-rwxr-xr-x | debian/azure-resource | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/azure-resource b/debian/azure-resource new file mode 100755 index 0000000..4977e3d --- /dev/null +++ b/debian/azure-resource @@ -0,0 +1,22 @@ +#!/bin/sh + +PREREQ="udev" + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +prereqs) + prereqs + exit 0 + ;; +esac + +mkdir -p $DESTDIR/lib/udev/rules.d/ +if [ -e /etc/udev/rules.d/66-azure-storage.rules ]; then + cp -pt "${DESTDIR}/lib/udev/rules.d" /etc/udev/rules.d/66-azure-storage.rules +elif [ -e /lib/udev/rules.d/66-azure-storage.rules ]; then + cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/66-azure-storage.rules +fi |