]> git.proxmox.com Git - lxc.git/commitdiff
fix criu path
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 3 Jun 2015 04:29:06 +0000 (06:29 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 3 Jun 2015 04:29:06 +0000 (06:29 +0200)
debian/patches/fix-criu-path.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix-criu-path.patch b/debian/patches/fix-criu-path.patch
new file mode 100644 (file)
index 0000000..2ac2ff6
--- /dev/null
@@ -0,0 +1,13 @@
+Index: new/src/lxc/criu.c
+===================================================================
+--- new.orig/src/lxc/criu.c
++++ new/src/lxc/criu.c
+@@ -229,7 +229,7 @@ static bool criu_version_ok()
+               if (dup2(pipes[1], STDOUT_FILENO) < 0)
+                       exit(1);
+-              execv("/usr/local/sbin/criu", args);
++              execv("/usr/sbin/criu", args);
+               exit(1);
+       } else {
+               FILE *f;
index 5c403325cc5bd0bb14df1efb360f284395ac03ac..247785d4d81cb413d820608e72d29043d1f9ab3a 100644 (file)
@@ -6,3 +6,4 @@ do-dot-call-chown_mapped_root-on-etc-pve.patch
 use-var-lib-vz-as-default-dir.patch
 do-not-use-config-path-for-rootfs.patch
 run-lxcnetaddbr.patch
+fix-criu-path.patch