commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2019-06-01 09:44:08 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new.5148 (New) Package is "dmraid" Sat Jun 1 09:44:08 2019 rev:60 rq:705713 version:1.0.0.rc16 Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2017-11-25 08:41:34.476628254 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new.5148/dmraid.changes 2019-06-01 09:44:13.815432227 +0200 @@ -1,0 +2,6 @@ +Mon May 27 13:05:45 UTC 2019 - Martin Liška + +- Add fix-return-function-type.patch in order to fix + a warning. + +--- New: fix-return-function-type.patch Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.M6boPC/_old 2019-06-01 09:44:14.611431955 +0200 +++ /var/tmp/diff_new_pack.M6boPC/_new 2019-06-01 09:44:14.611431955 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,7 +36,7 @@ Requires(postun): coreutils Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary:A Device-Mapper Software RAID Support Tool -License:GPL-2.0 +License:GPL-2.0-only Group: System/Base Version:1.0.0.rc16 Release:0 @@ -55,6 +55,7 @@ Patch9: dmraid-destdir.patch Patch10:fix-undefined-symbol.patch Patch11:0001-remove-partitions-with-O_RDONLY.patch +Patch12:fix-return-function-type.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -106,6 +107,7 @@ %patch9 -p1 %patch10 -p1 %patch11 -p2 +%patch12 -p2 cp %{SOURCE3} . ++ fix-return-function-type.patch ++ diff --git a/1.0.0.rc16/tools/dmevent_tool.c b/1.0.0.rc16/tools/dmevent_tool.c index 8562098..cffb5ab 100644 --- a/1.0.0.rc16/tools/dmevent_tool.c +++ b/1.0.0.rc16/tools/dmevent_tool.c @@ -123,7 +123,7 @@ void _test_user_id(void) } /* Increment option counters. */ -static _process_opt(int opt, const char *cmd) +static void _process_opt(int opt, const char *cmd) { struct opt_def_struct { const char opt; /* Option character. */
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2017-11-25 08:41:30 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is "dmraid" Sat Nov 25 08:41:30 2017 rev:59 rq:544993 version:1.0.0.rc16 Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2017-11-03 16:33:16.073828060 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2017-11-25 08:41:34.476628254 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:39:52 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.E6igea/_old 2017-11-25 08:41:35.460592404 +0100 +++ /var/tmp/diff_new_pack.E6igea/_new 2017-11-25 08:41:35.464592258 +0100 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + Name: dmraid BuildRequires: autoconf BuildRequires: automake @@ -118,8 +123,8 @@ %install make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%_lib/libdmraid.a -mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates -install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid +mkdir -p $RPM_BUILD_ROOT%{_fillupdir} +install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_fillupdir}/sysconfig.dmraid install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid.conf @@ -153,7 +158,7 @@ /sbin/dmevent_tool %{_mandir}/man8/* %doc LICENSE LICENSE_GPL LICENSE_LGPL README README.SUSE TODO doc/* -/var/adm/fillup-templates/sysconfig.dmraid +%{_fillupdir}/sysconfig.dmraid /%{_lib}/libdmraid-events-isw.so /%{_lib}/libdmraid.so.1.0.0.rc16-3 %dir %{_tmpfilesdir}
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2017-11-03 16:32:20 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is "dmraid" Fri Nov 3 16:32:20 2017 rev:58 rq:536996 version:1.0.0.rc16 Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2017-02-20 14:29:56.287630617 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2017-11-03 16:33:16.073828060 +0100 @@ -1,0 +2,6 @@ +Thu Oct 26 21:02:43 UTC 2017 - mwi...@suse.com + +- dmraid: remove partitions with O_RDONLY + * add 0001-remove-partitions-with-O_RDONLY.patch + +--- New: 0001-remove-partitions-with-O_RDONLY.patch Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.nrtLZY/_old 2017-11-03 16:33:17.109790353 +0100 +++ /var/tmp/diff_new_pack.nrtLZY/_new 2017-11-03 16:33:17.109790353 +0100 @@ -49,6 +49,7 @@ Patch8: dmraid-move-var-lock-to-run-lock.patch Patch9: dmraid-destdir.patch Patch10:fix-undefined-symbol.patch +Patch11:0001-remove-partitions-with-O_RDONLY.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -99,6 +100,7 @@ %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p2 cp %{SOURCE3} . ++ 0001-remove-partitions-with-O_RDONLY.patch ++ >From 3e073f5ac0b1d8d930615cd3fbb1401b56ceb848 Mon Sep 17 00:00:00 2001 From: Martin WilckDate: Thu, 26 Oct 2017 14:31:04 +0200 Subject: [PATCH] remove partitions with O_RDONLY It's not necessary to use O_RDWR to use BLKPG_DEL_PARTITION. It's actually harmful, because closing the device will cause an IN_CLOSE_WRITE inotify event, which will trigger a BLKRRPART from systemd, which will reinstate all partitions just deleted. --- lib/device/partition.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/device/partition.c b/lib/device/partition.c index 99e92f6a66cd..bcc8de819eb4 100644 --- a/1.0.0.rc16/lib/device/partition.c +++ b/1.0.0.rc16/lib/device/partition.c @@ -22,8 +22,7 @@ _remove_subset_partitions(struct lib_context *lc, struct raid_set *rs) }; list_for_each_entry(rd, >devs, devs) { - int fd = open(rd->di->path, O_RDWR); - + int fd = open(rd->di->path, O_RDONLY); if (fd < 0) LOG_ERR(lc, 0, "opening %s: %s\n", rd->di->path, strerror(errno)); -- 2.14.2
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2017-02-20 14:29:55 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is "dmraid" Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2015-12-18 21:50:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2017-02-20 14:29:56.287630617 +0100 @@ -1,0 +2,5 @@ +Sat Feb 18 05:26:58 UTC 2017 - ku...@suse.com + +- Remove obsolete insserv call + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.VsQGHd/_old 2017-02-20 14:29:57.223498558 +0100 +++ /var/tmp/diff_new_pack.VsQGHd/_new 2017-02-20 14:29:57.227497994 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,7 +118,6 @@ rm -f $RPM_BUILD_ROOT/%_lib/libdmraid.a mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid -mkdir -p $RPM_BUILD_ROOT/etc/init.d install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' > %{buildroot}%{_tmpfilesdir}/dmraid.conf @@ -146,8 +145,6 @@ %service_del_postun dmraid-activation.service %{?regenerate_initrd_post} -%{insserv_cleanup} - %files %defattr(-, root, root) /sbin/dmraid
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2015-12-18 21:50:15 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is "dmraid" Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2015-07-20 11:20:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2015-12-18 21:50:16.0 +0100 @@ -1,0 +2,6 @@ +Thu Dec 10 16:08:28 CET 2015 - ti...@suse.de + +- Fix missing dependency on coreutils for initrd macros (boo#958562) +- Call missing initrd macro at postun (boo#958562) + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.Ak70Bj/_old 2015-12-18 21:50:17.0 +0100 +++ /var/tmp/diff_new_pack.Ak70Bj/_new 2015-12-18 21:50:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Requires: aaa_base Requires: kpartx +Requires(post): coreutils +Requires(postun): coreutils Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary:A Device-Mapper Software RAID Support Tool License:GPL-2.0 @@ -142,6 +144,7 @@ %postun /sbin/ldconfig %service_del_postun dmraid-activation.service +%{?regenerate_initrd_post} %{insserv_cleanup}
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2015-07-20 11:20:21 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2015-02-06 10:56:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2015-07-20 11:20:22.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 13 09:33:56 UTC 2015 - lw...@suse.com + +- dmevent_tool fails with undefined symbol (bnc#935623) + Added: fix-undefined-symbol.patch + +--- New: fix-undefined-symbol.patch Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.SpF7Oc/_old 2015-07-20 11:20:24.0 +0200 +++ /var/tmp/diff_new_pack.SpF7Oc/_new 2015-07-20 11:20:24.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,6 +46,8 @@ Patch7: ddf-erase Patch8: dmraid-move-var-lock-to-run-lock.patch Patch9: dmraid-destdir.patch +Patch10:fix-undefined-symbol.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq %{systemd_requires} @@ -94,6 +96,8 @@ %patch7 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 + cp %{SOURCE3} . %build ++ fix-undefined-symbol.patch ++ From 352b509c8f452a0d77d8adb9149130d5af624b32 Mon Sep 17 00:00:00 2001 From: Liuhua Wang lw...@suse.com Date: Thu, 9 Jul 2015 10:22:46 +0800 Subject: [PATCH] fix undefined symbol Signed-off-by: Liuhua Wang lw...@suse.com References: bnc#935623 --- dmraid/1.0.0.rc16/tools/dmevent_tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git 1.0.0.rc16.orig/tools/dmevent_tool.c 1.0.0.rc16/tools/dmevent_tool.c index 8562098..4c43b30 100644 --- 1.0.0.rc16.orig/tools/dmevent_tool.c +++ 1.0.0.rc16/tools/dmevent_tool.c @@ -77,6 +77,8 @@ #define SYS_DM_DEV /dev #define SYS_DM_SLAVES_DIR /slaves +int dmeventd_debug = 0; + /* Command line option counters for CLI processing. */ enum option_type { OPT_a, OPT_h, OPT_m, OPT_r, OPT_u, OPT_V, OPT_SUM, OPT_MAX }; static int optc[OPT_MAX]; -- 1.8.4.5
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2015-02-06 10:56:30 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2014-12-21 12:03:10.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2015-02-06 10:56:31.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 4 19:33:01 UTC 2015 - co...@suse.com + +- remove with -f to avoid dependency on local umask + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.GB9XEg/_old 2015-02-06 10:56:33.0 +0100 +++ /var/tmp/diff_new_pack.GB9XEg/_new 2015-02-06 10:56:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -70,12 +70,6 @@ - Silicon Image Medley - - -Authors: - -Heinz Mauelshagen - %package devel Summary:Development files for dmraid Group: Development/Libraries/C and C++ @@ -115,7 +109,7 @@ %install make install DESTDIR=$RPM_BUILD_ROOT -rm $RPM_BUILD_ROOT/%_lib/libdmraid.a +rm -f $RPM_BUILD_ROOT/%_lib/libdmraid.a mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid mkdir -p $RPM_BUILD_ROOT/etc/init.d -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2014-12-21 12:04:20 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2014-11-11 10:16:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2014-12-21 12:03:10.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 12 14:10:53 UTC 2014 - kkae...@suse.com + +- Split off dmraid-devel subpackage + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.thhCKP/_old 2014-12-21 12:03:11.0 +0100 +++ /var/tmp/diff_new_pack.thhCKP/_new 2014-12-21 12:03:12.0 +0100 @@ -76,6 +76,19 @@ Heinz Mauelshagen +%package devel +Summary:Development files for dmraid +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +This software discovers, activates, deactivates, and displays +properties of software RAID sets, such as ATARAID, and contained DOS +partitions. + +dmraid uses libdevmapper and the device-mapper kernel runtime to create +devices with respective mappings for the ATARAID sets discovered. + %prep %setup -n dmraid/%{version} %patch1 -p1 @@ -102,15 +115,15 @@ %install make install DESTDIR=$RPM_BUILD_ROOT -rm -rf $RPM_BUILD_ROOT/usr/include/dmraid rm $RPM_BUILD_ROOT/%_lib/libdmraid.a -rm $RPM_BUILD_ROOT/%_lib/libdmraid.so mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid mkdir -p $RPM_BUILD_ROOT/etc/init.d install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' %{buildroot}%{_tmpfilesdir}/dmraid.conf +# E: spurious-executable-perm (Badness: 50) /usr/include/dmraid/locking.h +chmod -x %{buildroot}%{_prefix}/include/dmraid/*h %pre %service_add_pre dmraid-activation.service @@ -147,4 +160,10 @@ %{_tmpfilesdir}/dmraid.conf %{_unitdir}/dmraid-activation.service +%files devel +%defattr(-, root, root) +%dir %{_prefix}/include/dmraid +%{_prefix}/include/dmraid +/%{_lib}/libdmraid.so + %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2014-11-11 10:00:35 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2014-08-27 07:46:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2014-11-11 10:16:06.0 +0100 @@ -1,0 +2,7 @@ +Mon Nov 10 10:39:45 UTC 2014 - dims...@opensuse.org + +- Own /usr/lib/tmpfiles.d: in the past, we were lucky for another + package in the build dependency chain to own this for us, but in + fact we should do it ourselves. + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.KsO9ZU/_old 2014-11-11 10:16:07.0 +0100 +++ /var/tmp/diff_new_pack.KsO9ZU/_new 2014-11-11 10:16:07.0 +0100 @@ -143,6 +143,7 @@ /var/adm/fillup-templates/sysconfig.dmraid /%{_lib}/libdmraid-events-isw.so /%{_lib}/libdmraid.so.1.0.0.rc16-3 +%dir %{_tmpfilesdir} %{_tmpfilesdir}/dmraid.conf %{_unitdir}/dmraid-activation.service -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2014-08-27 07:45:47 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2014-06-24 15:15:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2014-08-27 07:46:00.0 +0200 @@ -1,0 +2,5 @@ +Fri Jul 25 14:36:25 UTC 2014 - je...@suse.com + +- Rename README.SuSE to README.SUSE (bnc#889025). + +--- Old: README.SuSE New: README.SUSE Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.x5Rw01/_old 2014-08-27 07:46:01.0 +0200 +++ /var/tmp/diff_new_pack.x5Rw01/_new 2014-08-27 07:46:01.0 +0200 @@ -35,7 +35,7 @@ Release:0 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1:sysconfig.dmraid -Source3:README.SuSE +Source3:README.SUSE Source6:dmraid-activation.service Patch1: dmraid-1.0.0.rc16-cvs-2010-02-02.patch Patch2: dmraid-1.0.0.rc13-geometry.patch @@ -139,7 +139,7 @@ /sbin/dmraid /sbin/dmevent_tool %{_mandir}/man8/* -%doc LICENSE LICENSE_GPL LICENSE_LGPL README README.SuSE TODO doc/* +%doc LICENSE LICENSE_GPL LICENSE_LGPL README README.SUSE TODO doc/* /var/adm/fillup-templates/sysconfig.dmraid /%{_lib}/libdmraid-events-isw.so /%{_lib}/libdmraid.so.1.0.0.rc16-3 ++ README.SUSE ++ Note about some pdc card: Model: Promise FastTrak100 TX2 Vendor: pci 0x105a Promise Technology, Inc. Device: pci 0x6268 PDC20270 (FastTrak100 LP/TX2/TX4) SubVendor: pci 0x105a Promise Technology, Inc. SubDevice: pci 0x4d68 FastTrak100 TX2 This card detects only devices to 128 GB. If you are running dmraid with this card you will only be able to use the space up to this limit. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2014-06-24 15:15:34 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2014-06-01 18:57:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2014-06-24 15:15:36.0 +0200 @@ -1,0 +2,5 @@ +Fri Jun 13 17:08:35 UTC 2014 - tr...@suse.de + +- Use rpm macros to only trigger one initrd rebuild per install/update + +--- Old: mkinitrd-boot.sh mkinitrd-setup.sh Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.zF4Xa2/_old 2014-06-24 15:15:36.0 +0200 +++ /var/tmp/diff_new_pack.zF4Xa2/_new 2014-06-24 15:15:36.0 +0200 @@ -21,8 +21,10 @@ BuildRequires: automake BuildRequires: device-mapper-devel BuildRequires: libselinux-devel +BuildRequires: suse-module-tools BuildRequires: systemd-rpm-macros BuildRequires: zlib-devel + Requires: aaa_base Requires: kpartx Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ @@ -34,8 +36,6 @@ Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1:sysconfig.dmraid Source3:README.SuSE -Source4:mkinitrd-setup.sh -Source5:mkinitrd-boot.sh Source6:dmraid-activation.service Patch1: dmraid-1.0.0.rc16-cvs-2010-02-02.patch Patch2: dmraid-1.0.0.rc13-geometry.patch @@ -108,9 +108,6 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts -install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dmraid.sh -install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dmraid.sh install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' %{buildroot}%{_tmpfilesdir}/dmraid.conf @@ -124,13 +121,17 @@ %post /sbin/ldconfig %service_add_post dmraid-activation.service -[ -x /sbin/mkinitrd_setup ] mkinitrd_setup +%{?regenerate_initrd_post} + +%posttrans +%{?regenerate_initrd_posttrans} + %{fillup_only} %postun /sbin/ldconfig %service_del_postun dmraid-activation.service -[ -x /sbin/mkinitrd_setup ] mkinitrd_setup + %{insserv_cleanup} %files @@ -140,10 +141,6 @@ %{_mandir}/man8/* %doc LICENSE LICENSE_GPL LICENSE_LGPL README README.SuSE TODO doc/* /var/adm/fillup-templates/sysconfig.dmraid -%dir /lib/mkinitrd -%dir /lib/mkinitrd/scripts -/lib/mkinitrd/scripts/setup-dmraid.sh -/lib/mkinitrd/scripts/boot-dmraid.sh /%{_lib}/libdmraid-events-isw.so /%{_lib}/libdmraid.so.1.0.0.rc16-3 %{_tmpfilesdir}/dmraid.conf -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2014-06-01 18:57:05 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2013-09-26 07:03:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2014-06-01 18:57:06.0 +0200 @@ -1,0 +2,5 @@ +Wed May 21 09:40:42 UTC 2014 - jseg...@novell.com + +- added necessary macros for systemd files + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.OP6ryw/_old 2014-06-01 18:57:07.0 +0200 +++ /var/tmp/diff_new_pack.OP6ryw/_new 2014-06-01 18:57:07.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -115,6 +115,9 @@ install -d %{buildroot}%{_tmpfilesdir} echo 'd /run/lock/dmraid 0700 root root -' %{buildroot}%{_tmpfilesdir}/dmraid.conf +%pre +%service_add_pre dmraid-activation.service + %preun %service_del_preun dmraid-activation.service @@ -126,6 +129,7 @@ %postun /sbin/ldconfig +%service_del_postun dmraid-activation.service [ -x /sbin/mkinitrd_setup ] mkinitrd_setup %{insserv_cleanup} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2013-09-26 07:03:52 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2013-07-24 23:37:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2013-09-26 07:03:54.0 +0200 @@ -1,0 +2,10 @@ +Fri Sep 13 20:04:57 UTC 2013 - crrodrig...@opensuse.org + +- Fix Makefiles so they support DESTDIR + Added: dmraid-destdir.patch +- add tmpfiles.d so runtime directories are properly created +- Remove sysvinit support and replace it for native systemd support. + Added: dmraid-activation.service + Removed: boot.dmraid + +--- Old: boot.dmraid New: dmraid-activation.service dmraid-destdir.patch Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.8jqHQe/_old 2013-09-26 07:03:55.0 +0200 +++ /var/tmp/diff_new_pack.8jqHQe/_new 2013-09-26 07:03:55.0 +0200 @@ -21,6 +21,7 @@ BuildRequires: automake BuildRequires: device-mapper-devel BuildRequires: libselinux-devel +BuildRequires: systemd-rpm-macros BuildRequires: zlib-devel Requires: aaa_base Requires: kpartx @@ -32,10 +33,10 @@ Release:0 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1:sysconfig.dmraid -Source2:boot.dmraid Source3:README.SuSE Source4:mkinitrd-setup.sh Source5:mkinitrd-boot.sh +Source6:dmraid-activation.service Patch1: dmraid-1.0.0.rc16-cvs-2010-02-02.patch Patch2: dmraid-1.0.0.rc13-geometry.patch Patch3: lib-install.patch @@ -44,8 +45,10 @@ Patch6: rebuild.fix Patch7: ddf-erase Patch8: dmraid-move-var-lock-to-run-lock.patch +Patch9: dmraid-destdir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq +%{systemd_requires} %description This software discovers, activates, deactivates, and displays @@ -83,21 +86,16 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 cp %{SOURCE3} . %build #rm -f aclocal.m4 autoreconf -fi rm -r autom4te.cache -# Update config.{guess,sub} -%{?suse_update_config} -export CFLAGS=$RPM_OPT_FLAGS -./configure --prefix=$RPM_BUILD_ROOT%{_prefix} \ - --infodir=$RPM_BUILD_ROOT%{_infodir} \ - --libdir=$RPM_BUILD_ROOT/%_lib \ - --mandir=$RPM_BUILD_ROOT%{_mandir} \ - --includedir=$RPM_BUILD_ROOT%{_includedir} \ - --sbindir=$RPM_BUILD_ROOT/sbin \ +%configure \ + --libdir=/%_lib \ + --sbindir=/sbin \ --with-user=`id -nu` --with-group=`id -ng` \ --enable-libselinux --enable-libsepol make @@ -110,26 +108,27 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates install -m644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dmraid mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m744 %{SOURCE2} $RPM_BUILD_ROOT/etc/init.d/boot.dmraid install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts install -m 755 %{S:4} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dmraid.sh install -m 755 %{S:5} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dmraid.sh +install -D -m 0644 %{S:6} %{buildroot}%{_unitdir}/dmraid-activation.service +install -d %{buildroot}%{_tmpfilesdir} +echo 'd /run/lock/dmraid 0700 root root -' %{buildroot}%{_tmpfilesdir}/dmraid.conf + +%preun +%service_del_preun dmraid-activation.service %post +/sbin/ldconfig +%service_add_post dmraid-activation.service [ -x /sbin/mkinitrd_setup ] mkinitrd_setup %{fillup_only} %postun +/sbin/ldconfig [ -x /sbin/mkinitrd_setup ] mkinitrd_setup %{insserv_cleanup} -%preun -%stop_on_removal - -%clean -[ $RPM_BUILD_ROOT != / ] [ -d $RPM_BUILD_ROOT ] \ - rm -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root) /sbin/dmraid @@ -137,12 +136,13 @@ %{_mandir}/man8/* %doc LICENSE LICENSE_GPL LICENSE_LGPL README README.SuSE TODO doc/* /var/adm/fillup-templates/sysconfig.dmraid -/etc/init.d/boot.dmraid %dir /lib/mkinitrd %dir /lib/mkinitrd/scripts /lib/mkinitrd/scripts/setup-dmraid.sh /lib/mkinitrd/scripts/boot-dmraid.sh /%{_lib}/libdmraid-events-isw.so /%{_lib}/libdmraid.so.1.0.0.rc16-3 +%{_tmpfilesdir}/dmraid.conf +%{_unitdir}/dmraid-activation.service %changelog ++ dmraid-activation.service ++ [Unit] Description=Activation of DM RAID sets DefaultDependencies=no Conflicts=shutdown.target After=systemd-udev-settle.service Before=lvm2-activation-early.service cryptsetup.target local-fs.target shutdown.target Wants=systemd-udev-settle.service [Service]
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2013-07-24 23:37:03 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2012-11-30 12:20:57.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2013-07-24 23:37:05.0 +0200 @@ -1,0 +2,7 @@ +Tue Jul 23 14:38:15 CEST 2013 - oher...@suse.de + +- Remove usage of absolute paths in initrd +- Remove some checks from mkinitrd scripts, they are always true +- List all used binaries in programs tag + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.vFxY5E/_old 2013-07-24 23:37:06.0 +0200 +++ /var/tmp/diff_new_pack.vFxY5E/_new 2013-07-24 23:37:06.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ mkinitrd-boot.sh ++ --- /var/tmp/diff_new_pack.vFxY5E/_old 2013-07-24 23:37:06.0 +0200 +++ /var/tmp/diff_new_pack.vFxY5E/_new 2013-07-24 23:37:06.0 +0200 @@ -2,7 +2,8 @@ #%stage: block #%depends: dm #%provides: dmroot -#%programs: /sbin/dmraid +#%programs: dmraid +#%programs: mkdir #%if: -n $root_dmraid # # Device Mapper Raid @@ -17,6 +18,6 @@ ## [ -d /run/lock ] || mkdir -p /run/lock /dev/null 21 -/sbin/dmraid -a y -p +dmraid -a y -p wait_for_events ++ mkinitrd-setup.sh ++ --- /var/tmp/diff_new_pack.vFxY5E/_old 2013-07-24 23:37:06.0 +0200 +++ /var/tmp/diff_new_pack.vFxY5E/_new 2013-07-24 23:37:06.0 +0200 @@ -4,7 +4,7 @@ #%provides: dmroot # -if [ -x /sbin/dmraid -a -x /sbin/dmsetup ] ; then +if [ -x $(type -p dmsetup) ] ; then newbd= for bd in $blockdev ; do update_blockdev $bd -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2012-11-30 12:20:55 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid, Maintainer is nfbr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2012-07-10 13:40:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2012-11-30 12:20:57.0 +0100 @@ -1,0 +2,5 @@ +Wed Nov 28 12:07:36 UTC 2012 - rmila...@suse.com + +- Move lock file to /run/lock so it wont interfere with systemd. + +--- New: dmraid-move-var-lock-to-run-lock.patch Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.FO4WEb/_old 2012-11-30 12:20:59.0 +0100 +++ /var/tmp/diff_new_pack.FO4WEb/_new 2012-11-30 12:20:59.0 +0100 @@ -16,13 +16,13 @@ # - Name: dmraid BuildRequires: autoconf BuildRequires: automake BuildRequires: device-mapper-devel BuildRequires: libselinux-devel BuildRequires: zlib-devel +Requires: aaa_base Requires: kpartx Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary:A Device-Mapper Software RAID Support Tool @@ -43,6 +43,7 @@ Patch5: remove_trylock Patch6: rebuild.fix Patch7: ddf-erase +Patch8: dmraid-move-var-lock-to-run-lock.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -81,6 +82,7 @@ %patch5 -p2 %patch6 -p1 %patch7 -p1 +%patch8 -p1 cp %{SOURCE3} . %build ++ boot.dmraid ++ --- /var/tmp/diff_new_pack.FO4WEb/_old 2012-11-30 12:20:59.0 +0100 +++ /var/tmp/diff_new_pack.FO4WEb/_new 2012-11-30 12:20:59.0 +0100 @@ -33,6 +33,9 @@ DMRAID_DEVICE_TIMEOUT=0 fi +# make sure /run/lock exists as /run is tmpfs +[ -d /run/lock ] || mkdir -p /run/lock /dev/null 21 + rc_reset case $1 in ++ dmraid-move-var-lock-to-run-lock.patch ++ Index: 1.0.0.rc16/lib/locking/locking.c === --- 1.0.0.rc16.orig/lib/locking/locking.c +++ 1.0.0.rc16/lib/locking/locking.c @@ -12,7 +12,7 @@ #include internal.h /* File locking private data. */ -static const char *lock_file = /var/lock/dmraid/.lock; +static const char *lock_file = /run/lock/dmraid/.lock; static int lf = -1; /* flock file. */ ++ mkinitrd-boot.sh ++ --- /var/tmp/diff_new_pack.FO4WEb/_old 2012-11-30 12:20:59.0 +0100 +++ /var/tmp/diff_new_pack.FO4WEb/_new 2012-11-30 12:20:59.0 +0100 @@ -16,6 +16,7 @@ ## root_dmraid=1 use device mapper raid ## +[ -d /run/lock ] || mkdir -p /run/lock /dev/null 21 /sbin/dmraid -a y -p wait_for_events -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2012-07-10 13:40:11 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid, Maintainer is nfbr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2012-01-09 16:22:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2012-07-10 13:40:14.0 +0200 @@ -1,0 +2,7 @@ +Mon Jul 9 09:03:57 UTC 2012 - cfarr...@suse.com + +- license update: GPL-2.0 + See lib/register/dmreg.c and tools/dmevent_tool.c (both have GPL-2.0 + license) + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.AtI4N6/_old 2012-07-10 13:40:19.0 +0200 +++ /var/tmp/diff_new_pack.AtI4N6/_new 2012-07-10 13:40:19.0 +0200 @@ -26,7 +26,7 @@ Requires: kpartx Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ Summary:A Device-Mapper Software RAID Support Tool -License:GPL-2.0+ +License:GPL-2.0 Group: System/Base Version:1.0.0.rc16 Release:0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2012-01-09 16:22:46 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid, Maintainer is nfbr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2011-12-31 17:19:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2012-01-09 16:22:51.0 +0100 @@ -1,0 +2,5 @@ +Mon Jan 9 09:28:36 UTC 2012 - a...@suse.de + +- Add automake as buildrequires. + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.G4wH3S/_old 2012-01-09 16:22:53.0 +0100 +++ /var/tmp/diff_new_pack.G4wH3S/_new 2012-01-09 16:22:53.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmraid # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: dmraid BuildRequires: autoconf +BuildRequires: automake BuildRequires: device-mapper-devel BuildRequires: libselinux-devel BuildRequires: zlib-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2011-12-31 17:19:21 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid, Maintainer is nfbr...@suse.com Changes: --- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes2011-09-23 01:55:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.dmraid.new/dmraid.changes 2011-12-31 17:19:23.0 +0100 @@ -1,0 +2,5 @@ +Tue Dec 20 20:21:46 UTC 2011 - co...@suse.com + +- add autoconf as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.aFeMI9/_old 2011-12-31 17:19:24.0 +0100 +++ /var/tmp/diff_new_pack.aFeMI9/_new 2011-12-31 17:19:24.0 +0100 @@ -15,20 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: dmraid -BuildRequires: device-mapper-devel zlib-devel +BuildRequires: autoconf +BuildRequires: device-mapper-devel BuildRequires: libselinux-devel +BuildRequires: zlib-devel Requires: kpartx Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ +Summary:A Device-Mapper Software RAID Support Tool License:GPL-2.0+ Group: System/Base -AutoReqProv:on -Summary:A Device-Mapper Software RAID Support Tool Version:1.0.0.rc16 -Release:10 +Release:0 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1:sysconfig.dmraid Source2:boot.dmraid -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2011-12-06 18:06:33 Comparing /work/SRC/openSUSE:Factory/dmraid (Old) and /work/SRC/openSUSE:Factory/.dmraid.new (New) Package is dmraid, Maintainer is nfbr...@suse.com Changes: Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.IH5AMg/_old 2011-12-06 18:10:45.0 +0100 +++ /var/tmp/diff_new_pack.IH5AMg/_new 2011-12-06 18:10:45.0 +0100 @@ -23,7 +23,7 @@ BuildRequires: libselinux-devel Requires: kpartx Url:http://people.redhat.com/~heinzm/sw/dmraid/src/ -License:GPLv2+ +License:GPL-2.0+ Group: System/Base AutoReqProv:on Summary:A Device-Mapper Software RAID Support Tool -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at Thu Sep 22 10:41:57 CEST 2011. --- dmraid/dmraid.changes 2011-05-27 11:30:29.0 +0200 +++ /mounts/work_src_done/STABLE/dmraid/dmraid.changes 2011-09-22 01:59:06.0 +0200 @@ -1,0 +2,9 @@ +Wed Sep 21 23:57:12 UTC 2011 - nfbr...@suse.com + +- rebuild.fix: When a rebuild is requested that + cannot be handled, report and error instead of + crashing (bnc#716904) +- ddf-erase: Allow dmraid to erase ddf metadata + properly (bnc#712671) + +--- calling whatdependson for head-i586 New: ddf-erase rebuild.fix Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.MoiKdY/_old 2011-09-22 10:41:53.0 +0200 +++ /var/tmp/diff_new_pack.MoiKdY/_new 2011-09-22 10:41:53.0 +0200 @@ -40,6 +40,8 @@ Patch3: lib-install.patch Patch4: handle_spaces Patch5: remove_trylock +Patch6: rebuild.fix +Patch7: ddf-erase BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -76,6 +78,8 @@ %patch3 -p1 %patch4 -p1 %patch5 -p2 +%patch6 -p1 +%patch7 -p1 cp %{SOURCE3} . %build ++ ddf-erase ++ Allow dmraid to erase ddf metadata properly. 2 things go wrong: 1/ when seeking to the anchor, it seeks to far by a factor of 512 2/ when writing to the anchor, it writes 0 bytes, not 512. Signed-off-by: NeilBrown ne...@suse.de References: bnc#712671 --- lib/format/ddf/ddf1.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- 1.0.0.rc16.orig/lib/format/ddf/ddf1.c +++ 1.0.0.rc16/lib/format/ddf/ddf1.c @@ -536,7 +536,7 @@ try_to_find_ddf1(struct lib_context *lc, ddf1_sboffset) || !is_ddf1(lc, di, ddf1)) goto bad; - ddf1-anchor_offset = ddf1_sboffset; + ddf1-anchor_offset = ddf1_sboffset / 512; /* Convert endianness */ ddf1-in_cpu_format = 0; @@ -967,6 +967,7 @@ setup_rd(struct lib_context *lc, struct ma[i].offset = ddf1-primary-primary_table_lba; ma-offset = ddf1-anchor_offset; + ma-size = 512; (ma++)-area = ddf1-anchor; (ma++)-area = ddf1-primary; ++ rebuild.fix ++ Only imsm arrays can be rebuild by dmraid Others cause a segfault. Fix that so they print a more helpful error messages. From: Leonardo Chiquitto lchiqui...@suse.com Reviewed-by: NeilBrown ne...@suse.de References: bnc#716904 --- lib/metadata/reconfig.c |5 + 1 file changed, 5 insertions(+) --- 1.0.0.rc16.orig/lib/metadata/reconfig.c +++ 1.0.0.rc16/lib/metadata/reconfig.c @@ -552,6 +552,11 @@ _rebuild_raidset(struct lib_context *lc, int driveRebuild = 1; rs = find_group(lc, sub_rs); + if (!rs) { + log_print(lc, Rebuild: array \%s\ cannot be rebuilt by dmraid.\n, + set_name); + return 1; + } /* raid 0 cannot be rebuild - exit */ if (T_RAID0(sub_rs) (!SETS(sub_rs))) { Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dmraid for openSUSE:Factory
Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at Mon May 30 09:53:02 CEST 2011. --- dmraid/dmraid.changes 2010-04-20 01:14:38.0 +0200 +++ /mounts/work_src_done/STABLE/dmraid/dmraid.changes 2011-05-27 11:30:29.0 +0200 @@ -1,0 +2,6 @@ +Fri May 27 09:29:31 UTC 2011 - lnus...@suse.de + +- don't hard require boot.device-mapper in boot.dmraid. dm-mod is + autoloaded when accessing /dev/mapper/control anyways. + +--- calling whatdependson for head-i586 Other differences: -- ++ dmraid.spec ++ --- /var/tmp/diff_new_pack.Dc4YFR/_old 2011-05-30 09:52:36.0 +0200 +++ /var/tmp/diff_new_pack.Dc4YFR/_new 2011-05-30 09:52:36.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package dmraid (Version 1.0.0.rc16) +# spec file for package dmraid # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,7 +28,7 @@ AutoReqProv:on Summary:A Device-Mapper Software RAID Support Tool Version:1.0.0.rc16 -Release:2 +Release:10 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1:sysconfig.dmraid Source2:boot.dmraid ++ boot.dmraid ++ --- /var/tmp/diff_new_pack.Dc4YFR/_old 2011-05-30 09:52:36.0 +0200 +++ /var/tmp/diff_new_pack.Dc4YFR/_new 2011-05-30 09:52:36.0 +0200 @@ -6,10 +6,10 @@ # ### BEGIN INIT INFO # Provides: boot.dmraid -# Required-Start:boot.device-mapper boot.udev boot.rootfsck -# Should-Start: boot.multipath boot.md boot.scsidev +# Required-Start:boot.udev boot.rootfsck +# Should-Start: boot.device-mapper boot.multipath boot.md boot.scsidev # X-Start-Before:boot.localfs -# Required-Stop: boot.device-mapper boot.udev boot.rootfsck +# Required-Stop: boot.udev boot.rootfsck # Should-Stop: boot.multipath boot.md boot.scsidev # X-Stop-Before: boot.localfs # Default-Start: B Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org