[Dmraid-debian-commits] r11 - in /branches/lenny/debian: dmraid.install patches/12_support_virtio_devices.dpatch
derevko-guest at users.alioth.debian.org
derevko-guest at users.alioth.debian.org
Tue Oct 21 23:02:18 UTC 2008
Author: derevko-guest
Date: Tue Oct 21 23:02:18 2008
New Revision: 11
URL: http://svn.debian.org/wsvn/dmraid-debian/?sc=1&rev=11
Log:
debian/patches/12_support_virtio_devices.dpatch
Added:
branches/lenny/debian/patches/12_support_virtio_devices.dpatch
Modified:
branches/lenny/debian/dmraid.install
Modified: branches/lenny/debian/dmraid.install
URL: http://svn.debian.org/wsvn/dmraid-debian/branches/lenny/debian/dmraid.install?rev=11&op=diff
==============================================================================
--- branches/lenny/debian/dmraid.install (original)
+++ branches/lenny/debian/dmraid.install Tue Oct 21 23:02:18 2008
@@ -1,2 +1,3 @@
debian/initramfs/dmraid.initramfs-hook/dmraid usr/share/initramfs-tools/hooks
+debian/initramfs/dmraid.initramfs-local-top/dmraid usr/share/initramfs-tools/scripts/local-top
debian/dmraid-activate sbin
Added: branches/lenny/debian/patches/12_support_virtio_devices.dpatch
URL: http://svn.debian.org/wsvn/dmraid-debian/branches/lenny/debian/patches/12_support_virtio_devices.dpatch?rev=11&op=file
==============================================================================
--- branches/lenny/debian/patches/12_support_virtio_devices.dpatch (added)
+++ branches/lenny/debian/patches/12_support_virtio_devices.dpatch Tue Oct 21 23:02:18 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_support_virtio_devices.dpatch by Luke Yelavich <themuso at ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Support for checking virtio devices for dmraid metadata.
+
+ at DPATCH@
+diff -urNad dmraid-1.0.0.rc14~/1.0.0.rc14/lib/device/scan.c dmraid-1.0.0.rc14/1.0.0.rc14/lib/device/scan.c
+--- dmraid-1.0.0.rc14~/1.0.0.rc14/lib/device/scan.c 2006-05-16 23:43:23.000000000 +1000
++++ dmraid-1.0.0.rc14/1.0.0.rc14/lib/device/scan.c 2008-10-21 10:02:49.000000000 +1100
+@@ -168,7 +168,7 @@
+ * Whole IDE and SCSI disks only.
+ */
+ return (!isdigit(name[strlen(name) - 1]) &&
+- (*(name + 1) == 'd' && (*name == 'h' || *name == 's')))
++ (*(name + 1) == 'd' && (*name == 'h' || *name == 's' || *name == 'v')))
+
+ #ifdef DMRAID_TEST
+ /*
More information about the Dmraid-debian-commits
mailing list