Package: lxc
Version: 1:2.0.6-1~bpo8+1
Severity: normal
Tags: patch

Dear Maintainer,

Please find attached a patch that fixes a typo in the debian template,
found when calling dpkg with the --print-foreign-architectures option.

Cheers,

  -- Santiago

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 3.16.0-4-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lxc depends on:
ii  init-system-helpers  1.22
ii  libapparmor1         2.9.0-3
ii  libc6                2.19-18+deb8u6
ii  libcap2              1:2.24-8
ii  liblxc1              1:2.0.6-1~bpo8+1
ii  libseccomp2          2.2.3-3~bpo8+1
ii  libselinux1          2.3-2
ii  lsb-base             4.1+Debian13+nmu1
ii  python3-lxc          1:2.0.6-1~bpo8+1
pn  python3:any          <none>

Versions of packages lxc recommends:
ii  bridge-utils  1.5-9
ii  debootstrap   1.0.67
ii  dirmngr       1.1.1-5
ii  dnsmasq-base  2.72-3+deb8u1
ii  gnupg         1.4.18-7+deb8u3
ii  iptables      1.4.21-2+b1
ii  libpam-cgfs   2.0.5-1~bpo8+1
ii  lxcfs         2.0.5-1~bpo8+1
ii  openssl       1.0.1t-1+deb8u5
ii  rsync         3.1.1-3
ii  uidmap        1:4.2-3+deb8u1

Versions of packages lxc suggests:
pn  apparmor     <none>
pn  btrfs-tools  <none>
pn  lvm2         <none>

-- no debconf information
>From f704917645bc9ba37d1f17ad8210bd9370d357cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= <[email protected]>
Date: Mon, 12 Dec 2016 11:00:39 +0100
Subject: [PATCH 1/2] templates/lxc-debian.in: Fix typo in calling dpkg with
 --print-foreign-architectures option
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Santiago Ruano Rincón <[email protected]>
---
 templates/lxc-debian.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index 55afee1..564241c 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -444,7 +444,7 @@ EOF
     # If the container isn't running a native architecture, setup multiarch
     if [ "${arch}" != "${hostarch}" ]; then
         # Test if dpkg supports multiarch
-        if ! chroot "$rootfs" dpkg --print-foreign-architecture 2>&1; then
+        if ! chroot "$rootfs" dpkg --print-foreign-architectures 2>&1; then
             chroot "$rootfs" dpkg --add-architecture "${hostarch}"
         fi
     fi
-- 
2.11.0

Reply via email to