PACKAGE=lxc-pve
LXCVER=1.1.2
-DEBREL=1
+DEBREL=2
SRCDIR=lxc
SRCTAR=${SRCDIR}.tgz
+lxc (1.1.2-2) unstable; urgency=medium
+
+ * update to latest version from git
+
+ -- Proxmox Support Team <support@proxmox.com> Wed, 22 Jul 2015 09:34:18 +0200
+
lxc (1.1.2-1) unstable; urgency=medium
* update to latest version from git
===================================================================
--- new.orig/src/lxc/lxccontainer.c
+++ new/src/lxc/lxccontainer.c
-@@ -862,6 +862,11 @@ static int do_create_container_dir(const
+@@ -870,6 +870,11 @@ static int do_create_container_dir(const
return -1;
}
}
===================================================================
--- new.orig/src/lxc/lxccontainer.c
+++ new/src/lxc/lxccontainer.c
-@@ -916,10 +916,10 @@ static struct bdev *do_bdev_create(struc
+@@ -924,10 +924,10 @@ static struct bdev *do_bdev_create(struc
dest = alloca(len);
ret = snprintf(dest, len, "%s", rpath);
} else {
+++ /dev/null
-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;
@@ -1,6 +1,6 @@
[Unit]
Description=LXC Container Initialization and Autoboot Code
--After=syslog.target network.target
-+After=syslog.service network.target
+-After=syslog.target network.target lxc-net.service
++After=syslog.service network.target lxc-net.service
Wants=lxc-net.service
[Service]
use-var-lib-vz-as-default-dir.patch
do-not-use-config-path-for-rootfs.patch
run-lxcnetaddbr.patch
-fix-criu-path.patch
===================================================================
--- new.orig/src/lxc/bdev.c
+++ new/src/lxc/bdev.c
-@@ -3519,6 +3519,8 @@ static struct bdev * do_bdev_create(cons
+@@ -3535,6 +3535,8 @@ static struct bdev * do_bdev_create(cons
return bdev;
}
/*
* bdev_create:
* Create a backing store for a container.
-@@ -3536,6 +3538,20 @@ struct bdev *bdev_create(const char *des
+@@ -3552,6 +3554,20 @@ struct bdev *bdev_create(const char *des
struct bdev *bdev;
char *best_options[] = {"btrfs", "zfs", "lvm", "dir", NULL};