Hello community, here is the log from the commit of package dmraid checked in at Fri Nov 10 16:04:32 CET 2006. -------- --- dmraid/dmraid.changes 2006-09-14 00:17:23.000000000 +0200 +++ /mounts/work_src_done/STABLE/dmraid/dmraid.changes 2006-11-09 14:33:29.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Nov 9 14:25:36 CET 2006 - mkoenig@suse.de + +- update to version 1.0.0.rc13 + * Fixes for Promise FastTrak and Silicon Image Medley ATARAID + * Support for SNIA DDF1 and JBOD + +------------------------------------------------------------------- Old: ---- dmraid-1.0.0.rc11-dupes.patch dmraid-1.0.0.rc11-format-handler-dos.patch dmraid-1.0.0.rc11-hpt37x-errorlog.patch dmraid-1.0.0.rc11-metadata-stride.patch dmraid-1.0.0.rc11.tar.bz2 dmraid_add_uuid.patch New: ---- dmraid-1.0.0.rc13.tar.bz2 dmraid-add_uuid.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmraid.spec ++++++ --- /var/tmp/diff_new_pack.7qa7wa/_old 2006-11-10 16:04:25.000000000 +0100 +++ /var/tmp/diff_new_pack.7qa7wa/_new 2006-11-10 16:04:25.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package dmraid (Version 1.0.0.rc11) +# spec file for package dmraid (Version 1.0.0.rc13) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -13,21 +13,17 @@ Name: dmraid BuildRequires: device-mapper-devel URL: http://people.redhat.com/~heinzm/sw/dmraid/src/ -License: GPL +License: GNU General Public License (GPL) - all versions Group: System/Base Autoreqprov: on Summary: A Device-Mapper Software RAID Support Tool -Version: 1.0.0.rc11 -Release: 4 +Version: 1.0.0.rc13 +Release: 1 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 -Patch0: dmraid-1.0.0.rc11-metadata-stride.patch -Patch1: dmraid-1.0.0.rc11-format-handler-dos.patch -Patch2: dmraid-1.0.0.rc11-hpt37x-errorlog.patch -Patch3: dmraid-1.0.0.rc11-dupes.patch -Patch4: dmraid_fixup_paths3.diff -Patch5: dmraid_add_uuid.patch -Patch6: dmraid_fixup_nvidia.diff -Patch7: dmraid_duplicate_args.patch +Patch0: dmraid_fixup_paths3.diff +Patch1: dmraid-add_uuid.patch +Patch2: dmraid_fixup_nvidia.diff +Patch3: dmraid_duplicate_args.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -59,13 +55,9 @@ %prep %setup -n dmraid/%{version} %patch0 -p2 -%patch1 -p2 +%patch1 -p1 %patch2 -p2 -%patch3 -p2 -%patch4 -p2 -%patch5 -p1 -%patch6 -p2 -%patch7 -p1 +%patch3 -p1 %build #rm -f aclocal.m4 @@ -101,6 +93,10 @@ %doc LICENSE LICENSE_GPL LICENSE_LGPL README TODO doc/* %changelog -n dmraid +* Thu Nov 09 2006 - mkoenig@suse.de +- update to version 1.0.0.rc13 + * Fixes for Promise FastTrak and Silicon Image Medley ATARAID + * Support for SNIA DDF1 and JBOD * Thu Sep 14 2006 - ro@suse.de - use device-mapper-devel in BuildRequires * Tue Aug 29 2006 - hare@suse.de ++++++ dmraid-1.0.0.rc11.tar.bz2 -> dmraid-1.0.0.rc13.tar.bz2 ++++++ ++++ 57837 lines of diff (skipped) ++++++ dmraid-add_uuid.patch ++++++ Index: 1.0.0.rc13/lib/activate/devmapper.c =================================================================== --- 1.0.0.rc13.orig/lib/activate/devmapper.c +++ 1.0.0.rc13/lib/activate/devmapper.c @@ -153,9 +153,17 @@ static int run_task(struct lib_context * { int ret; struct dm_task *dmt; + char *uuid; + + /* Generate UUID */ + uuid = malloc(strlen(rs->name) + UUID_PREFIX_LEN + 1); + if (!uuid) return 0; + + sprintf(uuid, UUID_PREFIX "%s", rs->name); _init_dm(); - ret = (dmt = dm_task_create(type)) && dm_task_set_name(dmt, rs->name); + ret = (dmt = dm_task_create(type)) && dm_task_set_name(dmt, rs->name) && + dm_task_set_uuid(dmt, uuid); if (ret && table) ret = parse_table(lc, dmt, table); @@ -163,6 +171,7 @@ static int run_task(struct lib_context * ret = dm_task_run(dmt); _exit_dm(dmt); + free(uuid); return ret; } /* Create a mapped device. */ Index: 1.0.0.rc13/lib/activate/devmapper.h =================================================================== --- 1.0.0.rc13.orig/lib/activate/devmapper.h +++ 1.0.0.rc13/lib/activate/devmapper.h @@ -8,6 +8,9 @@ #ifndef _DEVMAPPER_H_ #define _DEVMAPPER_H +#define UUID_PREFIX "dmraid-" +#define UUID_PREFIX_LEN 7 + char *mkdm_path(struct lib_context *lc, const char *name); int dm_create(struct lib_context *lc, struct raid_set *rs, char *table); int dm_remove(struct lib_context *lc, struct raid_set *rs); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de