]> git.proxmox.com Git - lvm.git/commitdiff
rebase on latest debian package 2.02.95-7
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Mar 2013 06:24:27 +0000 (07:24 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 29 Mar 2013 06:24:27 +0000 (07:24 +0100)
Makefile
lvm2_2.02.95-6.debian.tar.gz [deleted file]
lvm2_2.02.95-7.debian.tar.gz [new file with mode: 0644]
patchdir/enable-issue-discard.patch
patchdir/fix-build-dependencies.patch
patchdir/fix-changelog.patch
patchdir/fix-clvm-init.patch [new file with mode: 0644]
patchdir/fix-fsadm-install.patch
patchdir/re-enable-clvm.patch [deleted file]
patchdir/remove-udebs.patch
patchdir/series

index 44143babbe069923a9d23e9881f2d2d368648170..bdb3d6d8be459feca224bd5963b8a091ca5ca994 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=3.0
 
 LVMVERSION=2.02.95
 DMVERSION=1.02.74
-DEBRELEASE=6
+DEBRELEASE=7
 # also update debian changelog patch
 PVERELEASE=${DEBRELEASE}pve1
 PVEVER=${LVMVERSION}-${PVERELEASE}
diff --git a/lvm2_2.02.95-6.debian.tar.gz b/lvm2_2.02.95-6.debian.tar.gz
deleted file mode 100644 (file)
index 647b742..0000000
Binary files a/lvm2_2.02.95-6.debian.tar.gz and /dev/null differ
diff --git a/lvm2_2.02.95-7.debian.tar.gz b/lvm2_2.02.95-7.debian.tar.gz
new file mode 100644 (file)
index 0000000..7d47e1f
Binary files /dev/null and b/lvm2_2.02.95-7.debian.tar.gz differ
index 87455b560d823be6e9fbec84343739a064862724..670dc5b016f1d658b455561c2cac5e5b94442f1e 100644 (file)
@@ -1,7 +1,7 @@
-Index: LVM2.2.02.95/doc/example.conf.in
+Index: new/doc/example.conf.in
 ===================================================================
---- LVM2.2.02.95.orig/doc/example.conf.in      2013-03-14 10:13:30.000000000 +0100
-+++ LVM2.2.02.95/doc/example.conf.in   2013-03-14 10:13:39.000000000 +0100
+--- new.orig/doc/example.conf.in       2012-03-02 22:49:43.000000000 +0100
++++ new/doc/example.conf.in    2013-03-29 06:58:15.000000000 +0100
 @@ -185,7 +185,7 @@
      # to 1, discards will only be issued if both the storage and kernel provide
      # support.
index 7eb5d13f6a705ea4da2f344f0be7fc4709fa0f86..7451c26387ba8db27a5dc9a0d48fa87d94240dab 100644 (file)
@@ -1,25 +1,26 @@
-Index: LVM2.2.02.95/debian/control
+Index: new/debian/control
 ===================================================================
---- LVM2.2.02.95.orig/debian/control   2013-03-14 09:22:00.000000000 +0100
-+++ LVM2.2.02.95/debian/control        2013-03-14 09:25:34.000000000 +0100
-@@ -1,9 +1,8 @@
+--- new.orig/debian/control    2013-03-29 07:17:35.000000000 +0100
++++ new/debian/control 2013-03-29 07:17:50.000000000 +0100
+@@ -1,9 +1,9 @@
  Source: lvm2
  Section: admin
  Priority: optional
 -Maintainer: Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>
--Uploaders: Bastian Blank <waldi@debian.org>
--Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3~), automake, libreadline-gplv2-dev, libselinux1-dev, libudev-dev, pkg-config
 +Maintainer: Proxmox Support Team <support@proxmox.com>
+ Uploaders: Bastian Blank <waldi@debian.org>
+-Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3~), automake, libcman-dev (>> 2), libcorosync-dev, libdlm-dev (>> 2), libreadline-gplv2-dev, libselinux1-dev, libudev-dev, openais-dev, pkg-config
 +Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.1.3~), automake, libreadline-gplv2-dev, libselinux1-dev, libudev-dev, pkg-config, libcorosync-pve-dev, redhat-cluster-pve-dev, libopenais-pve-dev, quilt
  Standards-Version: 3.9.1
  Homepage: http://sources.redhat.com/lvm2/
  Vcs-Svn: svn://svn.debian.org/pkg-lvm/lvm2/trunk/
-@@ -38,7 +37,7 @@
+@@ -38,8 +38,7 @@
  Package: clvm
  Priority: extra
  Architecture: any
--Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base, corosync | cman
+-Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base
+-Recommends: corosync | openais | cman
 +Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base, redhat-cluster-pve
+ Multi-Arch: foreign
  Description: Cluster LVM Daemon for lvm2
   This package provides the clustering interface for lvm2, when used with
-  Red Hat's "cman" or corosync based (eg Pacemaker) cluster infrastructure.
index 450f7bcf03a70cd3c5fd69feb7841a4117a08930..c2b106178462e7e04effc43453a10d5d4df11eb6 100644 (file)
@@ -1,7 +1,7 @@
-Index: LVM2.2.02.95/debian/changelog
+Index: new/debian/changelog
 ===================================================================
---- LVM2.2.02.95.orig/debian/changelog 2013-01-02 11:12:05.000000000 +0100
-+++ LVM2.2.02.95/debian/changelog      2013-03-14 09:56:16.000000000 +0100
+--- new.orig/debian/changelog  2013-03-24 09:03:38.000000000 +0100
++++ new/debian/changelog       2013-03-29 06:57:23.000000000 +0100
 @@ -1,3 +1,47 @@
 +lvm2 (2.02.95-6pve1) unstable; urgency=low
 +
@@ -47,6 +47,6 @@ Index: LVM2.2.02.95/debian/changelog
 +
 + -- Proxmox Support Team <support@proxmox.com>  Tue, 20 Sep 2011 12:53:25 +0200
 +
- lvm2 (2.02.95-6) unstable; urgency=low
+ lvm2 (2.02.95-7) testing; urgency=low
  
-   * Drop cluster (clvm) support. It never properly worked and is more dead
+   * Re-enable cluster support. (closes: #697676)
diff --git a/patchdir/fix-clvm-init.patch b/patchdir/fix-clvm-init.patch
new file mode 100644 (file)
index 0000000..0b0e7fc
--- /dev/null
@@ -0,0 +1,89 @@
+Index: new/debian/clvm.defaults
+===================================================================
+--- new.orig/debian/clvm.defaults      2013-03-03 12:46:47.000000000 +0100
++++ new/debian/clvm.defaults   2013-03-29 07:01:05.000000000 +0100
+@@ -1,9 +1,11 @@
+ # Bourne shell compatible script, sourced by /etc/init.d/clvm to set
+ # additional arguments for clvmd.
++# enable clmvd
++#START_CLVM=yes
++
+ # Startup timeout: 
+-CLVMDTIMEOUT=20
++#CLVMDTIMEOUT=30
+ # Volume groups to activate on startup:
+ # LVM_VGS="cluster_vg1 cluster_vg2"
+-
+Index: new/debian/clvm.init
+===================================================================
+--- new.orig/debian/clvm.init  2013-03-03 12:46:47.000000000 +0100
++++ new/debian/clvm.init       2013-03-29 07:09:13.000000000 +0100
+@@ -2,12 +2,12 @@
+ #
+ ### BEGIN INIT INFO
+ # Provides:          clvm
+-# Required-Start:    lvm2
+-# Required-Stop:     lvm2
++# Required-Start:    lvm2 cman
++# Required-Stop:     lvm2 cman
+ # Should-Start:      cman corosync openais
+ # Should-Stop:       cman corosync openais
+-# Default-Start:     S
+-# Default-Stop:      0 6
++# Default-Start:     2 3 4 5
++# Default-Stop:      0 1 6
+ # Short-Description: start and stop the lvm cluster locking daemon
+ ### END INIT INFO
+ #
+@@ -32,18 +32,21 @@
+       exit 0
+ fi
+-if ! cman_tool status >/dev/null 2>&1; then
+-      log_failure_msg "clvmd: cluster is not running. Aborting."
+-      exit 0
+-fi
+-
+-CLVMDTIMEOUT=20
++CLVMDTIMEOUT=30
++START_CLVM=no
+ # Read configuration variable file if it is present
+ [ -r /etc/default/$NAME ] && . /etc/default/$NAME
++[ "$START_CLVM" = "yes" ] || exit 0
++
+ DAEMON_OPTS="-T$CLVMDTIMEOUT"
++if ! cman_tool status >/dev/null 2>&1; then
++      log_failure_msg "clvmd: cluster is not running. Aborting."
++      exit 1
++fi
++
+ do_start()
+ {
+       start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS || status="$?"
+Index: new/debian/rules
+===================================================================
+--- new.orig/debian/rules      2013-03-29 06:58:07.000000000 +0100
++++ new/debian/rules   2013-03-29 07:12:46.000000000 +0100
+@@ -77,7 +77,7 @@
+       $(CONFIGURE) \
+               --libdir=\$${exec_prefix}/lib/$(DEB_HOST_MULTIARCH) \
+               --with-optimisation="$(CFLAGS_OPT_DEB)" \
+-              --with-clvmd=cman,corosync,openais \
++              --with-clvmd=cman,corosync \
+               --with-cluster=internal \
+               --with-device-uid=0 \
+               --with-device-gid=6 \
+@@ -165,7 +165,7 @@
+ install_clvm: DIR = $(BUILD_DIR)/install_deb
+ install_clvm: $(STAMPS_DIR)/install_deb
+       +$(MAKE_SELF) install-base-prep INSTALL_DIR='$(DIR)'
+-      dh_installinit --no-start -- start 63 S . start 51 0 6 .
++      dh_installinit --no-start -- start 63 2 3 4 5 . start 51 0 1 6 .
+       +$(MAKE_SELF) install-base
+ install_dmeventd: export DH_OPTIONS = -pdmeventd
index 0dce9fdc916287b84005e5aede2e563c07dd15c0..faa6dfc0c9b1804eed6f9f753d229ba055d8808d 100644 (file)
@@ -1,18 +1,18 @@
-Index: LVM2.2.02.95/debian/lvm2.install
+Index: new/debian/lvm2.install
 ===================================================================
---- LVM2.2.02.95.orig/debian/lvm2.install      2012-05-27 16:25:21.000000000 +0200
-+++ LVM2.2.02.95/debian/lvm2.install   2013-03-14 09:57:51.000000000 +0100
+--- new.orig/debian/lvm2.install       2012-05-27 16:25:21.000000000 +0200
++++ new/debian/lvm2.install    2013-03-29 06:57:58.000000000 +0100
 @@ -8,3 +8,5 @@
  usr/share/man/man8/pv*
  usr/share/man/man8/vg*
  usr/share/man/man5
 +usr/share/man/man8/fsadm.8
 +
-Index: LVM2.2.02.95/debian/rules
+Index: new/debian/rules
 ===================================================================
---- LVM2.2.02.95.orig/debian/rules     2013-03-14 09:50:50.000000000 +0100
-+++ LVM2.2.02.95/debian/rules  2013-03-14 09:57:51.000000000 +0100
-@@ -85,6 +85,7 @@
+--- new.orig/debian/rules      2013-03-03 12:48:24.000000000 +0100
++++ new/debian/rules   2013-03-29 06:57:58.000000000 +0100
+@@ -84,6 +84,7 @@
                --with-device-mode=0660 \
                --with-default-run-dir=/run/lvm \
                --with-default-locking-dir=/run/lock/lvm \
diff --git a/patchdir/re-enable-clvm.patch b/patchdir/re-enable-clvm.patch
deleted file mode 100644 (file)
index dba7069..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-diff -N -r -u a/debian/clvm.default b/debian/clvm.default
---- a/debian/clvm.default      1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.default      2013-03-14 09:45:46.000000000 +0100
-@@ -0,0 +1,12 @@
-+# Bourne shell compatible script, sourced by /etc/init.d/clvm to set
-+# additional arguments for clvmd.
-+
-+# enable clmvd
-+#START_CLVM=yes
-+
-+# Startup timeout: 
-+#CLVMDTIMEOUT=30
-+
-+# Volume groups to activate on startup:
-+# LVM_VGS="cluster_vg1 cluster_vg2"
-+
-diff -N -r -u a/debian/clvm.examples b/debian/clvm.examples
---- a/debian/clvm.examples     1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.examples     2013-03-14 09:04:36.000000000 +0100
-@@ -0,0 +1 @@
-+scripts/clvmd_fix_conf.sh
-diff -N -r -u a/debian/clvm.init b/debian/clvm.init
---- a/debian/clvm.init 1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.init 2013-03-14 09:45:46.000000000 +0100
-@@ -0,0 +1,145 @@
-+#!/bin/sh
-+#
-+### BEGIN INIT INFO
-+# Provides:          clvm
-+# Required-Start:    $remote_fs lvm2 cman
-+# Required-Stop:     $remote_fs lvm2 cman
-+# Default-Start:     2 3 4 5
-+# Default-Stop:      0 1 6
-+# Short-Description: start and stop the lvm cluster locking daemon
-+### END INIT INFO
-+#
-+# Author: Frederik Schüler <fs@debian.org>
-+# based on the old clvm init script from etch
-+# and the clvmd init script from RHEL5
-+
-+PATH=/sbin:/usr/sbin:/bin:/usr/bin
-+DESC="Cluster LVM Daemon"
-+NAME=clvm
-+DAEMON=/usr/sbin/clvmd
-+SCRIPTNAME=/etc/init.d/clvm
-+
-+[ -x $DAEMON ] || exit 0
-+
-+. /lib/init/vars.sh
-+
-+. /lib/lsb/init-functions
-+
-+if [ ! -f /etc/cluster/cluster.conf ]; then
-+        log_action_msg "clvmd: cluster not configured"
-+      exit 0
-+fi
-+
-+CLVMDTIMEOUT=30
-+START_CLVM=no
-+
-+# Read configuration variable file if it is present
-+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
-+
-+[ "$START_CLVM" = "yes" ] || exit 0
-+
-+DAEMON_OPTS="-T$CLVMDTIMEOUT"
-+
-+if ! cman_tool status >/dev/null 2>&1; then
-+      log_failure_msg "clvmd: cluster is not running. Aborting."
-+      exit 1
-+fi
-+
-+do_start()
-+{
-+      start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_OPTS || return $?
-+      # flush cache
-+      vgscan > /dev/null 2>&1 
-+      return 0
-+}
-+
-+do_activate()
-+{
-+      if [ -n "$LVM_VGS" ] ; then
-+              log_action_msg  "Activating VGs $LVM_VGS"
-+              vgchange -ayl $LVM_VGS || return $?
-+      fi
-+}
-+
-+do_deactivate()
-+{
-+      if [ -n "$LVM_VGS" ] ; then
-+              vgs="$LVM_VGS"
-+      else
-+              # Hack to only deactivate clustered volumes
-+              vgs=$(vgdisplay -C -o vg_name,vg_attr --noheadings 2> /dev/null | awk '($2 ~ /.....c/) {print $1}')
-+      fi
-+
-+      [ "$vgs" ] || return 0
-+
-+      vgchange -anl $vgs || return $?
-+}
-+
-+do_stop()
-+{
-+      start-stop-daemon --stop --quiet --name clvmd
-+      status=$?
-+      return $status
-+}
-+
-+case "$1" in
-+      start)
-+              # start the daemon...
-+              log_daemon_msg "Starting $DESC" "$NAME"
-+              do_start
-+              status=$?
-+              case "$status" in
-+                      0) log_end_msg 0 ;;
-+                      1) log_action_msg " already running" ; log_end_msg 0 ;;
-+                      *) log_end_msg 1 ; exit $status ;;
-+              esac
-+              # and activate clustered volume groups
-+              do_activate
-+              status=$?
-+              exit $status
-+      ;;
-+      stop)
-+              pid=$( pidof $DAEMON )
-+              if [ -z "$pid" ] ; then
-+                      exit 0
-+              fi
-+              # deactivate volumes...
-+              log_daemon_msg "Deactivating VG $vg:"
-+              do_deactivate
-+              status=$?
-+              case "$status" in
-+                      0) log_end_msg 0 ;;
-+                      1) log_end_msg 0 ;;
-+                      *) log_end_msg 1 ;;
-+              esac
-+              # and stop the daemon
-+              log_daemon_msg "Stopping $DESC" "$NAME"
-+              do_stop
-+              status=$?
-+              case "$status" in
-+                      0) log_end_msg 0 ; exit 0 ;;
-+                      1) log_end_msg 0 ; exit 0 ;;
-+                      *) log_end_msg 1 ; exit $status ;;
-+              esac
-+      ;;
-+      restart|force-reload)
-+              $0 stop
-+              sleep 1
-+              $0 start
-+      ;;
-+      status)
-+              pid=$( pidof $DAEMON )
-+              if [ -n "$pid" ] ; then
-+                      log_action_msg "$DESC is running" 
-+              else
-+                      log_action_msg "$DESC is not running"
-+              fi
-+              exit 0
-+      ;;
-+      *)
-+              echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
-+              exit 1
-+      ;;
-+esac
-+
-+exit 0
-diff -N -r -u a/debian/clvm.install b/debian/clvm.install
---- a/debian/clvm.install      1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.install      2013-03-14 09:04:36.000000000 +0100
-@@ -0,0 +1,2 @@
-+usr/sbin/clvmd
-+usr/share/man/man8/clvmd*
-diff -N -r -u a/debian/clvm.NEWS b/debian/clvm.NEWS
---- a/debian/clvm.NEWS 1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.NEWS 2013-03-14 09:04:36.000000000 +0100
-@@ -0,0 +1,11 @@
-+lvm2 (2.02.39-4) unstable; urgency=low
-+
-+  The cluster locking support is now built as internal support. This
-+  means that the lvm config needs to contain the following to use this
-+  support.
-+
-+  global {
-+      locking_type = 3
-+  }
-+
-+ -- Bastian Blank <waldi@debian.org>  Fri, 21 Nov 2008 15:58:27 +0100
-diff -N -r -u a/debian/clvm.README.Debian b/debian/clvm.README.Debian
---- a/debian/clvm.README.Debian        1970-01-01 01:00:00.000000000 +0100
-+++ b/debian/clvm.README.Debian        2013-03-14 09:04:36.000000000 +0100
-@@ -0,0 +1,23 @@
-+This is the cluster LVM daemon for LVM2.
-+
-+In conjunction with the Red Hat cluster infrastructure (cman & dlm) it
-+will allow LVM volumes on shared storage to be managed from a central
-+point. If you also want to share data you should also look at GFS.
-+
-+Only "normal" block devices may be shared. At present, snapshots and
-+mirroring are not cluster aware. So, if you want to snapshot a volume
-+is is VERY IMPORTANT that not only the snapshot device but also the origin
-+device be activated on one node only.
-+
-+clvmd should be run on all nodes in the cluster, unless this is the case
-+commands will fail as the integrity of the LVM metadata cannot be assured.
-+
-+In order to make normal lvm2 cluster-aware it is necessary to edit the
-+configuration file /etc/lvm/lvm.conf as follows:
-+
-+in the global{} section:
-+  locking_type = 3
-+
-+
-+Patrick Caulfield <patrick@debian.org>
-+24th December 2004
-diff -N -r -u a/debian/control b/debian/control
---- a/debian/control   2013-01-02 11:11:23.000000000 +0100
-+++ b/debian/control   2013-03-14 09:06:33.000000000 +0100
-@@ -35,6 +35,16 @@
-  volume groups can be allocated to logical volumes, which are accessed as
-  regular block devices.
-+Package: clvm
-+Priority: extra
-+Architecture: any
-+Depends: ${shlibs:Depends}, ${misc:Depends}, lvm2 (= ${binary:Version}), lsb-base, corosync | cman
-+Description: Cluster LVM Daemon for lvm2
-+ This package provides the clustering interface for lvm2, when used with
-+ Red Hat's "cman" or corosync based (eg Pacemaker) cluster infrastructure.
-+ It allows logical volumes to be created on shared storage devices
-+ (eg Fibre Channel, or iSCSI).
-+
- Package: libdevmapper-dev
- Section: libdevel
- Architecture: any
-@@ -168,3 +178,4 @@
- Description: LVM2 libraries - development files
-  This package contains files needed to develop applications that use the
-  lvm2app library.
-+
-diff -N -r -u a/debian/rules b/debian/rules
---- a/debian/rules     2013-01-02 11:11:23.000000000 +0100
-+++ b/debian/rules     2013-03-14 09:48:00.000000000 +0100
-@@ -77,7 +77,8 @@
-       $(CONFIGURE) \
-               --libdir=\$${exec_prefix}/lib/$(DEB_HOST_MULTIARCH) \
-               --with-optimisation="$(CFLAGS_OPT_DEB)" \
--              --with-cluster=none \
-+              --with-clvmd=cman,corosync \
-+              --with-cluster=internal \
-               --with-thin=internal \
-               --with-device-uid=0 \
-               --with-device-gid=6 \
-@@ -160,6 +161,13 @@
-       dh_md5sums
-       dh_builddeb $(BUILDDEB_ARGS)
-+install_clvm: export DH_OPTIONS = -pclvm
-+install_clvm: DIR = $(BUILD_DIR)/install_deb
-+install_clvm: $(STAMPS_DIR)/install_deb
-+      +$(MAKE_SELF) install-base-prep INSTALL_DIR='$(DIR)'
-+      dh_installinit --no-start -- start 63 2 3 4 5 . start 51 0 1 6 .
-+      +$(MAKE_SELF) install-base
-+
- install_dmeventd: export DH_OPTIONS = -pdmeventd
- install_dmeventd: DIR = $(BUILD_DIR)/install_deb
- install_dmeventd: $(STAMPS_DIR)/install_deb install_liblvm2
-@@ -238,7 +246,7 @@
-       +$(MAKE_SELF) install-base
- binary-indep:
--binary-arch: $(addprefix install_,libdevmapper libdevmapper-udeb libdevmapper-event libdevmapper-dev dmsetup dmsetup-udeb dmeventd liblvm2 lvm2 lvm2-udeb)
-+binary-arch: $(addprefix install_,libdevmapper libdevmapper-udeb libdevmapper-event libdevmapper-dev dmsetup dmsetup-udeb dmeventd liblvm2 lvm2 lvm2-udeb clvm)
- binary: binary-indep binary-arch
index d2f75a5f1e0b7279ea3e091cf028588b250362e9..1712d2117c5b3da7291ac016d558cca35427df24 100644 (file)
@@ -1,8 +1,8 @@
-Index: LVM2.2.02.95/debian/control
+Index: new/debian/control
 ===================================================================
---- LVM2.2.02.95.orig/debian/control   2013-03-14 09:50:50.000000000 +0100
-+++ LVM2.2.02.95/debian/control        2013-03-14 09:58:41.000000000 +0100
-@@ -20,20 +20,6 @@
+--- new.orig/debian/control    2013-03-29 06:54:51.000000000 +0100
++++ new/debian/control 2013-03-29 06:58:07.000000000 +0100
+@@ -21,20 +21,6 @@
   volume groups can be allocated to logical volumes, which are accessed as
   regular block devices.
  
@@ -23,7 +23,7 @@ Index: LVM2.2.02.95/debian/control
  Package: clvm
  Priority: extra
  Architecture: any
-@@ -79,20 +65,6 @@
+@@ -81,20 +67,6 @@
   device-mapper; it allows usage of the device-mapper through a clean,
   consistent interface (as opposed to through kernel ioctls).
  
@@ -44,7 +44,7 @@ Index: LVM2.2.02.95/debian/control
  Package: dmsetup
  Architecture: any
  Depends: ${shlibs:Depends}, ${misc:Depends}, util-linux (>> 2.16)
-@@ -101,20 +73,6 @@
+@@ -103,20 +75,6 @@
  Description: Linux Kernel Device Mapper userspace library
   The Linux Kernel Device Mapper is the LVM (Linux Logical Volume Management)
   Team's implementation of a minimalistic kernel-space driver that handles
@@ -65,10 +65,10 @@ Index: LVM2.2.02.95/debian/control
   volume management, while keeping knowledge of the underlying device layout
   in user-space.  This makes it useful for not only LVM, but EVMS, software
   raid, and other drivers that create "virtual" block devices.
-Index: LVM2.2.02.95/debian/rules
+Index: new/debian/rules
 ===================================================================
---- LVM2.2.02.95.orig/debian/rules     2013-03-14 09:57:51.000000000 +0100
-+++ LVM2.2.02.95/debian/rules  2013-03-14 10:01:13.000000000 +0100
+--- new.orig/debian/rules      2013-03-29 06:57:58.000000000 +0100
++++ new/debian/rules   2013-03-29 06:58:07.000000000 +0100
 @@ -66,7 +66,7 @@
        cd $(DIR); autoreconf
        touch $@
@@ -78,7 +78,7 @@ Index: LVM2.2.02.95/debian/rules
  
  $(STAMPS_DIR)/setup_deb: SOURCE_DIR = $(BUILD_DIR)/source
  $(STAMPS_DIR)/setup_deb: DIR = $(BUILD_DIR)/build_deb
-@@ -110,7 +110,7 @@
+@@ -109,7 +109,7 @@
        touch $@
  
  build: build-arch build-indep
@@ -87,7 +87,7 @@ Index: LVM2.2.02.95/debian/rules
  build-indep:
  
  build_deb: $(STAMPS_DIR)/build_deb
-@@ -247,7 +247,7 @@
+@@ -246,7 +246,7 @@
        +$(MAKE_SELF) install-base
  
  binary-indep:
index 26e5d426b93c49c1dcce8aa35ea031191580cb8c..49e534e81fcf42e2aa9e399dde409b6e5962329e 100644 (file)
@@ -1,4 +1,4 @@
-re-enable-clvm.patch
+#re-enable-clvm.patch
 fix-build-dependencies.patch
 fix-changelog.patch
 fix-fsadm-install.patch
@@ -8,3 +8,4 @@ remove-udebs.patch
 enable-issue-discard.patch
 #allow-new-symbols.patch
 #fix-udev-rules.patch
+fix-clvm-init.patch