[liblinux-lvm-perl] 01/01: add vgdisplay-output.patch from Thomas Lange
Damyan Ivanov
dmn at alioth.debian.org
Wed Oct 16 04:11:46 UTC 2013
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository liblinux-lvm-perl.
commit 298ff237b85a88d214ef508f365b38ef6e571a3d
Author: Damyan Ivanov <dmn at debian.org>
Date: Wed Oct 16 04:09:45 2013 +0000
add vgdisplay-output.patch from Thomas Lange
adapts to vgdisplay output change with Linux 3.x
Closes: #717684.
---
debian/changelog | 4 ++++
debian/patches/series | 1 +
debian/patches/vgdisplay-output.patch | 26 ++++++++++++++++++++++++++
3 files changed, 31 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 41e4ab4..7881fac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,10 @@ liblinux-lvm-perl (0.16-2) UNRELEASED; urgency=low
* debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
copyright"
+ [ Damyan Ivanov ]
+ * apply patch from Thomas Lange adapting to vgdisplay output change with
+ Linux 3.x. Closes: #717684.
+
-- Salvatore Bonaccorso <carnil at debian.org> Sun, 06 Jan 2013 22:03:02 +0100
liblinux-lvm-perl (0.16-1) unstable; urgency=low
diff --git a/debian/patches/series b/debian/patches/series
index 8624513..141fbbf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
zero-size
+vgdisplay-output.patch
diff --git a/debian/patches/vgdisplay-output.patch b/debian/patches/vgdisplay-output.patch
new file mode 100644
index 0000000..643af93
--- /dev/null
+++ b/debian/patches/vgdisplay-output.patch
@@ -0,0 +1,26 @@
+Description: adapt to 'vgdisplay' output in Linux 3.x
+ The patch doesn't support the pre-3.x output anymore
+Author: Thomas Lange <lange at informatik.uni-koeln.de>
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87358
+Bug-Debian: http://bugs.debian.org/717684
+Reviewed-By: Damyan Ivanov <dmn at debian.org>
+Last-Update: 2013-10-16
+
+--- a/LVM.pm
++++ b/LVM.pm
+@@ -288,9 +288,14 @@ sub get_vg_information() {
+ $vghash{$vgn}->{uuid} = $1;
+ next VGINF; }
+
++ # Parse the logical path name.
++ elsif( m/LV Path\s+(\S+)/ ) {
++ $lvn = $1;
++ $vghash{$vgn}->{lvols}->{$lvn}->{path} = $1;
++ next VGINF; }
++
+ # Parse the logical volume name.
+ elsif( m/LV Name\s+(\S+)/ ) {
+- $lvn = $1;
+ $vghash{$vgn}->{lvols}->{$lvn}->{name} = $1;
+ next VGINF; }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblinux-lvm-perl.git
More information about the Pkg-perl-cvs-commits
mailing list