[Dmraid-debian-commits] [SCM] Maintenance of the dmraid package branch, master, updated. debian/1.0.0.rc15-1.exp5-2-g8165a84

Giuseppe Iuculano giuseppe at iuculano.it
Mon Jan 26 22:26:38 UTC 2009


The following commit has been merged in the master branch:
commit 51d68d1cd6a58979ef960ede86c747d5fd2dff00
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date:   Mon Jan 26 22:52:34 2009 +0100

    debian/patches/07_isw_metadata_normal_state.patch: Fix Metadata is not put in the NORMAL state after dmraid rebuild is started manually

diff --git a/debian/patches/07_isw_metadata_normal_state.patch b/debian/patches/07_isw_metadata_normal_state.patch
new file mode 100644
index 0000000..823371d
--- /dev/null
+++ b/debian/patches/07_isw_metadata_normal_state.patch
@@ -0,0 +1,11 @@
+--- a/1.0.0.rc15/lib/misc/init.c
++++ b/1.0.0.rc15/lib/misc/init.c
+@@ -15,7 +15,7 @@ libdmraid_init(int argc, char **argv)
+ {
+ 	struct lib_context *lc;
+ 
+-	dso = (argv[0] && strcmp(argv[0], "dso")) ? 1 : 0;
++	dso = (argv[0] && !strcmp(argv[0], "dso")) ? 1 : 0;
+ 
+ 	if ((lc = alloc_lib_context(argv))) {
+ 		if (!register_format_handlers(lc)) {
diff --git a/debian/patches/series b/debian/patches/series
index d3aa54a..11fb8f9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,6 +4,7 @@
 04_do_not_use_p_for_partition.patch
 05_kernel-event-handling.patch
 06_fix_led_support_compilation.patch
+07_isw_metadata_normal_state.patch
 09_promise-add-offsets.patch
 10_exit_code.patch
 12_support_virtio_devices.patch

-- 
Maintenance of the dmraid package



More information about the Dmraid-debian-commits mailing list