diff -Nru lxc-1.1.5/debian/changelog lxc-1.1.5/debian/changelog --- lxc-1.1.5/debian/changelog 2015-11-09 21:43:14.000000000 +0000 +++ lxc-1.1.5/debian/changelog 2015-11-13 17:59:55.000000000 +0000 @@ -1,6 +1,6 @@ -lxc (1.1.5-0ubuntu1~ubuntu14.04.1) trusty-backports; urgency=medium +lxc (1.1.5-0ubuntu2~ubuntu14.04.1) trusty-backports; urgency=medium - * Backport to trusty (LP: #1514595) + * Backport to trusty (LP: #1516109) * Add a versioned build-dependency on trusty-backports' libseccomp-dev. * Add a versioned build-dependency on trusty-backports' libcgmanager-dev. * Add a versioned recommends for liblxc1 on trusty-backports' cgmanager. @@ -9,7 +9,18 @@ This was suggested by Michael Vogt to get us one step closer to having apt resolve the installation of the lxd backport properly. - -- Stéphane Graber Mon, 09 Nov 2015 16:33:09 -0500 + -- Stéphane Graber Fri, 13 Nov 2015 12:56:03 -0500 + +lxc (1.1.5-0ubuntu2) xenial; urgency=medium + + * Cherry-pick from upstream: + - Fix ubuntu-cloud template to detect compression algorithm instead + of hardcoding xz. Also update list of supported releases and use trusty + as the fallback release. (LP: #1515463) + * Update lxc-tests description to make it clear that this package is + meant to be used by developers and by automated testing. + + -- Stéphane Graber Fri, 13 Nov 2015 12:05:36 -0500 lxc (1.1.5-0ubuntu1) xenial; urgency=medium diff -Nru lxc-1.1.5/debian/.git-dpm lxc-1.1.5/debian/.git-dpm --- lxc-1.1.5/debian/.git-dpm 2015-11-09 19:22:00.000000000 +0000 +++ lxc-1.1.5/debian/.git-dpm 2015-11-13 16:24:14.000000000 +0000 @@ -1,6 +1,6 @@ # see git-dpm(1) from git-dpm package -30708f298d86588b98f99420dfb801a2260a1007 -30708f298d86588b98f99420dfb801a2260a1007 +f071935b72a63f830e733fb2fec58a527a883eb4 +f071935b72a63f830e733fb2fec58a527a883eb4 29977d8b7632da9ee4df51287de2f713dfa29e6a 29977d8b7632da9ee4df51287de2f713dfa29e6a lxc_1.1.5.orig.tar.gz diff -Nru lxc-1.1.5/debian/patches/0002-ubuntu-cloud-Various-fixes.patch lxc-1.1.5/debian/patches/0002-ubuntu-cloud-Various-fixes.patch --- lxc-1.1.5/debian/patches/0002-ubuntu-cloud-Various-fixes.patch 1970-01-01 00:00:00.000000000 +0000 +++ lxc-1.1.5/debian/patches/0002-ubuntu-cloud-Various-fixes.patch 2015-11-13 16:24:14.000000000 +0000 @@ -0,0 +1,65 @@ +From f071935b72a63f830e733fb2fec58a527a883eb4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?St=C3=A9phane=20Graber?= +Date: Thu, 12 Nov 2015 12:44:38 -0500 +Subject: ubuntu-cloud: Various fixes +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + - Update list of supported releases + - Make the fallback release trusty + - Don't specify the compression algorithm (use auto-detection) so that + people passing tarballs to the template don't see regressions. + +Signed-off-by: Stéphane Graber +Acked-by: Serge E. Hallyn +--- + templates/lxc-ubuntu-cloud.in | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in +index 12fc594..3a4003d 100644 +--- a/templates/lxc-ubuntu-cloud.in ++++ b/templates/lxc-ubuntu-cloud.in +@@ -25,7 +25,7 @@ STATE_DIR="@LOCALSTATEDIR@" + HOOK_DIR="@LXCHOOKDIR@" + CLONE_HOOK_FN="$HOOK_DIR/ubuntu-cloud-prep" + LXC_TEMPLATE_CONFIG="@LXCTEMPLATECONFIG@" +-KNOWN_RELEASES="precise trusty utopic vivid" ++KNOWN_RELEASES="precise trusty vivid wily xenial" + skip_arch_check=${UCTEMPLATE_SKIP_ARCH_CHECK:-0} + + # Make sure the usual locations are in PATH +@@ -155,8 +155,8 @@ eval set -- "$options" + + mapped_uid=-1 + mapped_gid=-1 +-# default release is precise, or the systems release if recognized +-release=precise ++# default release is trusty, or the systems release if recognized ++release=trusty + if [ -f /etc/lsb-release ]; then + . /etc/lsb-release + rels=$(ubuntu-distro-info --supported 2>/dev/null) || +@@ -179,7 +179,7 @@ else + arch="amd64" + elif [ "$arch" = "armv7l" ]; then + # note: arm images don't exist before oneiric; are called armhf in +- # precise and later; and are not supported by the query, so we don't actually ++ # trusty and later; and are not supported by the query, so we don't actually + # support them yet (see check later on). When Query2 is available, + # we'll use that to enable arm images. + arch="armhf" +@@ -326,10 +326,10 @@ do_extract_rootfs() { + mkdir -p $rootfs + cd $rootfs + if [ $in_userns -eq 1 ]; then +- tar --anchored --exclude="dev/*" --numeric-owner -xpJf "$cache/$filename" ++ tar --anchored --exclude="dev/*" --numeric-owner -xpf "$cache/$filename" + mkdir -p $rootfs/dev/pts/ + else +- tar --numeric-owner -xpJf "$cache/$filename" ++ tar --numeric-owner -xpf "$cache/$filename" + fi + } + diff -Nru lxc-1.1.5/debian/patches/series lxc-1.1.5/debian/patches/series --- lxc-1.1.5/debian/patches/series 2015-11-09 19:22:00.000000000 +0000 +++ lxc-1.1.5/debian/patches/series 2015-11-13 16:24:14.000000000 +0000 @@ -1 +1,2 @@ 0001-Allocate-new-lxcbr0-subnet-at-startup-time.patch +0002-ubuntu-cloud-Various-fixes.patch