Bug#849175: jessie-pu: package ganeti-instance-debootstrap/0.14-2

2016-12-31 Thread Adam D. Barratt
Control: tags -1 + pending

On Sat, 2016-12-24 at 20:26 +, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Fri, 2016-12-23 at 11:00 +0200, Apollon Oikonomopoulos wrote:
> > I would like to update ganeti-instance-debootstrap in Jessie to fix 
> > #834404. In particular, the proposed update includes an upstream commit 
> > that replaces all instances of `losetup -s' with `losetup --show', as 
> > the former is no longer supported since util-linux 2.21.
> 
> Please go ahead.

Uploaded and flagged for acceptance.

Regards,

Adam



Bug#849175: jessie-pu: package ganeti-instance-debootstrap/0.14-2

2016-12-24 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Fri, 2016-12-23 at 11:00 +0200, Apollon Oikonomopoulos wrote:
> I would like to update ganeti-instance-debootstrap in Jessie to fix 
> #834404. In particular, the proposed update includes an upstream commit 
> that replaces all instances of `losetup -s' with `losetup --show', as 
> the former is no longer supported since util-linux 2.21.

Please go ahead.

Regards,

Adam



Bug#849175: jessie-pu: package ganeti-instance-debootstrap/0.14-2

2016-12-23 Thread Apollon Oikonomopoulos
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

Dear SRMs,

I would like to update ganeti-instance-debootstrap in Jessie to fix 
#834404. In particular, the proposed update includes an upstream commit 
that replaces all instances of `losetup -s' with `losetup --show', as 
the former is no longer supported since util-linux 2.21.

Please find attached a full debdiff of the proposed upload.

Regards,
Apollon
diff -Nru ganeti-instance-debootstrap-0.14/debian/changelog 
ganeti-instance-debootstrap-0.14/debian/changelog
--- ganeti-instance-debootstrap-0.14/debian/changelog   2014-05-23 
11:56:33.0 +0300
+++ ganeti-instance-debootstrap-0.14/debian/changelog   2016-12-23 
10:48:28.0 +0200
@@ -1,3 +1,9 @@
+ganeti-instance-debootstrap (0.14-2+deb8u1) jessie; urgency=medium
+
+  * Replace losetup -s with losetup --show (Closes: #834404)
+
+ -- Apollon Oikonomopoulos   Fri, 23 Dec 2016 10:48:28 
+0200
+
 ganeti-instance-debootstrap (0.14-2) unstable; urgency=medium
 
   * Use kpartx's sync mode:
diff -Nru 
ganeti-instance-debootstrap-0.14/debian/patches/0002-Replace-losetup-flag-s-with-show.patch
 
ganeti-instance-debootstrap-0.14/debian/patches/0002-Replace-losetup-flag-s-with-show.patch
--- 
ganeti-instance-debootstrap-0.14/debian/patches/0002-Replace-losetup-flag-s-with-show.patch
 1970-01-01 02:00:00.0 +0200
+++ 
ganeti-instance-debootstrap-0.14/debian/patches/0002-Replace-losetup-flag-s-with-show.patch
 2016-12-23 10:48:28.0 +0200
@@ -0,0 +1,71 @@
+From 913c6e4222969470796729cf188bb79a78635d8a Mon Sep 17 00:00:00 2001
+From: "Jose A. Lopes" 
+Date: Fri, 24 Jan 2014 10:23:01 +0100
+Subject: [PATCH] Replace 'losetup' flag '-s' with '--show'
+
+This fixes issue 690.
+
+Signed-off-by: Jose A. Lopes 
+Reviewed-by: Klaus Aehlig 
+---
+ create | 2 +-
+ export | 2 +-
+ import | 2 +-
+ rename | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/create b/create
+index c276b04..6565176 100755
+--- a/create
 b/create
+@@ -36,7 +36,7 @@ CACHE_FILE="$CACHE_DIR/cache-${SUITE}-${DPKG_ARCH}.tar"
+ # This is needed for file disks.
+ if [ ! -b $blockdev ]; then
+   ORIGINAL_BLOCKDEV=$blockdev
+-  blockdev=$(losetup -sf $blockdev)
++  blockdev=$(losetup --show -f $blockdev)
+   CLEANUP+=("losetup -d $blockdev")
+ fi
+ 
+diff --git a/export b/export
+index 46aa74c..8941621 100755
+--- a/export
 b/export
+@@ -25,7 +25,7 @@ set -e
+ # This is needed for file disks.
+ if [ ! -b $blockdev ]; then
+   ORIGINAL_BLOCKDEV=$blockdev
+-  blockdev=$(losetup -sf $blockdev)
++  blockdev=$(losetup --show -f $blockdev)
+   CLEANUP+=("losetup -d $blockdev")
+ fi
+ 
+diff --git a/import b/import
+index 2d9b58e..a69759d 100755
+--- a/import
 b/import
+@@ -25,7 +25,7 @@ set -e
+ # This is needed for file disks.
+ if [ ! -b $blockdev ]; then
+   ORIGINAL_BLOCKDEV=$blockdev
+-  blockdev=$(losetup -sf $blockdev)
++  blockdev=$(losetup --show -f $blockdev)
+   CLEANUP+=("losetup -d $blockdev")
+ fi
+ 
+diff --git a/rename b/rename
+index 652d6b7..81bf8dd 100755
+--- a/rename
 b/rename
+@@ -28,7 +28,7 @@ CLEANUP+=("rmdir $TMPDIR")
+ # This is needed for file disks.
+ if [ ! -b $blockdev ]; then
+   ORIGINAL_BLOCKDEV=$blockdev
+-  blockdev=$(losetup -sf $blockdev)
++  blockdev=$(losetup --show -f $blockdev)
+   CLEANUP+=("losetup -d $blockdev")
+ fi
+ 
+-- 
+2.10.2
+
diff -Nru ganeti-instance-debootstrap-0.14/debian/patches/series 
ganeti-instance-debootstrap-0.14/debian/patches/series
--- ganeti-instance-debootstrap-0.14/debian/patches/series  2014-05-23 
11:56:33.0 +0300
+++ ganeti-instance-debootstrap-0.14/debian/patches/series  2016-12-23 
10:48:28.0 +0200
@@ -1 +1,2 @@
 0001-Use-sync-kpartx-mode-when-creating-devices.patch
+0002-Replace-losetup-flag-s-with-show.patch