[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@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.000000000 +0300
+++ ganeti-instance-debootstrap-0.14/debian/changelog	2016-12-23 10:48:28.000000000 +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 <apoikos@debian.org>  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.000000000 +0200
+++ ganeti-instance-debootstrap-0.14/debian/patches/0002-Replace-losetup-flag-s-with-show.patch	2016-12-23 10:48:28.000000000 +0200
@@ -0,0 +1,71 @@
+From 913c6e4222969470796729cf188bb79a78635d8a Mon Sep 17 00:00:00 2001
+From: "Jose A. Lopes" <jabolopes@google.com>
+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 <jabolopes@google.com>
+Reviewed-by: Klaus Aehlig <aehlig@google.com>
+---
+ 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.000000000 +0300
+++ ganeti-instance-debootstrap-0.14/debian/patches/series	2016-12-23 10:48:28.000000000 +0200
@@ -1 +1,2 @@
 0001-Use-sync-kpartx-mode-when-creating-devices.patch
+0002-Replace-losetup-flag-s-with-show.patch

Reply to: