]> git.proxmox.com Git - lxcfs.git/commitdiff
use quilt
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 2 Jun 2015 03:50:43 +0000 (05:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 2 Jun 2015 03:50:43 +0000 (05:50 +0200)
debian/patches/do-not-start-without-lxcfs.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules

diff --git a/debian/patches/do-not-start-without-lxcfs.patch b/debian/patches/do-not-start-without-lxcfs.patch
new file mode 100644 (file)
index 0000000..5067dbf
--- /dev/null
@@ -0,0 +1,14 @@
+Index: new/share/lxc.mount.hook.in
+===================================================================
+--- new.orig/share/lxc.mount.hook.in
++++ new/share/lxc.mount.hook.in
+@@ -15,6 +15,9 @@ if [ -d @LXCFSTARGETDIR@/proc/ ]; then
+         [ -e "${LXC_ROOTFS_MOUNT}/proc/$(basename $entry)" ] || continue
+         mount -n --bind $entry ${LXC_ROOTFS_MOUNT}/proc/$(basename $entry)
+     done
++else
++    >&2 echo "missing /var/lib/lxcfs/proc/ - lxcfs not running?"
++    exit 1
+ fi
+ # /sys/fs/cgroup files
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..bf650b4
--- /dev/null
@@ -0,0 +1 @@
+do-not-start-without-lxcfs.patch
index 60d76bab17fe48aadbafbb9956afbab1165af17d..775ebf20875356ba043a00166d9e8161604b43d8 100755 (executable)
@@ -4,4 +4,4 @@
 #export DH_VERBOSE=1
 
 %:
-       dh $@  --with autotools_dev,autoreconf,systemd
+       dh $@  --with autotools_dev,autoreconf,systemd,quilt