2007-01-10 17:49:57 +01:00
|
|
|
#
|
2011-02-18 12:25:57 +01:00
|
|
|
# spec file for package mdadm
|
2007-01-10 17:49:57 +01:00
|
|
|
#
|
2023-04-03 02:00:10 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-10 17:49:57 +01:00
|
|
|
#
|
2008-08-18 00:16:04 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-10-30 01:13:13 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-10 17:49:57 +01:00
|
|
|
#
|
|
|
|
|
2012-04-20 10:01:08 +02:00
|
|
|
|
2017-11-23 23:53:57 +01:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%define _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
|
|
|
|
2007-01-10 17:49:57 +01:00
|
|
|
Name: mdadm
|
2022-11-04 00:28:28 +01:00
|
|
|
Version: 4.2
|
2011-12-22 13:42:21 +01:00
|
|
|
Release: 0
|
2012-05-18 09:23:54 +02:00
|
|
|
BuildRequires: binutils-devel
|
2013-06-13 06:16:10 +02:00
|
|
|
BuildRequires: groff
|
2012-11-04 03:24:36 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-10-25 02:35:29 +02:00
|
|
|
BuildRequires: sgmltool
|
2012-11-04 03:24:36 +01:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
2015-07-13 11:20:46 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2021-10-06 06:16:57 +02:00
|
|
|
PreReq: %fillup_prereq
|
|
|
|
PreReq: coreutils
|
2012-06-25 14:07:01 +02:00
|
|
|
Recommends: smtp_daemon
|
2020-03-04 05:49:18 +01:00
|
|
|
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
2018-12-13 23:56:51 +01:00
|
|
|
Summary: Utility for configuring "MD" software RAID devices
|
2018-10-17 07:01:26 +02:00
|
|
|
License: GPL-2.0-only
|
2011-12-22 13:42:21 +01:00
|
|
|
Group: System/Base
|
2007-01-10 17:49:57 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-06-10 06:08:57 +02:00
|
|
|
Source: https://www.kernel.org/pub/linux/utils/raid/mdadm/%{name}-%{version}.tar.xz
|
2007-01-10 17:49:57 +01:00
|
|
|
Source1: Software-RAID.HOWTO.tar.bz2
|
|
|
|
Source2: sysconfig.mdadm
|
2022-11-04 00:28:28 +01:00
|
|
|
Patch1: 0001-Unify-error-message.patch
|
|
|
|
Patch2: 0002-mdadm-Fix-double-free.patch
|
|
|
|
Patch3: 0003-Grow_reshape-Add-r0-grow-size-error-message-and-upda.patch
|
|
|
|
Patch4: 0004-udev-adapt-rules-to-systemd-v247.patch
|
|
|
|
Patch5: 0005-Replace-error-prone-signal-with-sigaction.patch
|
|
|
|
Patch6: 0006-mdadm-Respect-config-file-location-in-man.patch
|
|
|
|
Patch7: 0007-mdadm-Update-ReadMe.patch
|
|
|
|
Patch8: 0008-mdadm-Update-config-man-regarding-default-files-and-.patch
|
|
|
|
Patch9: 0009-mdadm-Update-config-manual.patch
|
|
|
|
Patch10: 0010-Create-Build-use-default_layout.patch
|
|
|
|
Patch11: 0011-mdadm-add-map_num_s.patch
|
|
|
|
Patch12: 0012-mdmon-Stop-parsing-duplicate-options.patch
|
|
|
|
Patch13: 0013-Grow-block-n-on-external-volumes.patch
|
|
|
|
Patch14: 0014-Incremental-Fix-possible-memory-and-resource-leaks.patch
|
|
|
|
Patch15: 0015-Mdmonitor-Fix-segfault.patch
|
|
|
|
Patch16: 0016-Mdmonitor-Improve-logging-method.patch
|
|
|
|
Patch17: 0017-Fix-possible-NULL-ptr-dereferences-and-memory-leaks.patch
|
|
|
|
Patch18: 0018-imsm-Remove-possibility-for-get_imsm_dev-to-return-N.patch
|
|
|
|
Patch19: 0019-Revert-mdadm-fix-coredump-of-mdadm-monitor-r.patch
|
|
|
|
Patch20: 0020-util-replace-ioctl-use-with-function.patch
|
|
|
|
Patch21: 0021-mdadm-super1-restore-commit-45a87c2f31335-to-fix-clu.patch
|
|
|
|
Patch22: 0022-imsm-introduce-get_disk_slot_in_dev.patch
|
|
|
|
Patch23: 0023-imsm-use-same-slot-across-container.patch
|
|
|
|
Patch24: 0024-imsm-block-changing-slots-during-creation.patch
|
|
|
|
Patch25: 0025-mdadm-block-update-ppl-for-non-raid456-levels.patch
|
|
|
|
Patch26: 0026-mdadm-Fix-array-size-mismatch-after-grow.patch
|
|
|
|
Patch27: 0027-mdadm-Remove-dead-code-in-imsm_fix_size_mismatch.patch
|
|
|
|
Patch28: 0028-Monitor-use-devname-as-char-array-instead-of-pointer.patch
|
|
|
|
Patch29: 0029-Monitor-use-snprintf-to-fill-device-name.patch
|
|
|
|
Patch30: 0030-Makefile-Don-t-build-static-build-with-everything-an.patch
|
|
|
|
Patch31: 0031-DDF-Cleanup-validate_geometry_ddf_container.patch
|
|
|
|
Patch32: 0032-DDF-Fix-NULL-pointer-dereference-in-validate_geometr.patch
|
|
|
|
Patch33: 0033-mdadm-Grow-Fix-use-after-close-bug-by-closing-after-.patch
|
|
|
|
Patch34: 0034-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch
|
|
|
|
Patch35: 0035-mdadm-Fix-mdadm-r-remove-option-regression.patch
|
|
|
|
Patch36: 0036-mdadm-Fix-optional-write-behind-parameter.patch
|
|
|
|
Patch37: 0037-mdadm-Replace-obsolete-usleep-with-nanosleep.patch
|
|
|
|
Patch38: 0038-mdadm-remove-symlink-option.patch
|
|
|
|
Patch39: 0039-mdadm-move-data_offset-to-struct-shape.patch
|
|
|
|
Patch40: 0040-mdadm-Don-t-open-md-device-for-CREATE-and-ASSEMBLE.patch
|
|
|
|
Patch41: 0041-Grow-Split-Grow_reshape-into-helper-function.patch
|
|
|
|
Patch42: 0042-Assemble-check-if-device-is-container-before-schedul.patch
|
|
|
|
Patch43: 0043-super1-report-truncated-device.patch
|
|
|
|
Patch44: 0044-mdadm-Correct-typos-punctuation-and-grammar-in-man.patch
|
|
|
|
Patch46: 0046-Monitor-Fix-statelist-memory-leaks.patch
|
|
|
|
Patch47: 0047-mdadm-added-support-for-Intel-Alderlake-RST-on-VMD-p.patch
|
|
|
|
Patch48: 0048-mdadm-Add-Documentation-entries-to-systemd-services.patch
|
|
|
|
Patch49: 0049-ReadMe-fix-command-line-help.patch
|
|
|
|
Patch50: 0050-mdadm-replace-container-level-checking-with-inline.patch
|
|
|
|
Patch51: 0051-Mdmonitor-Omit-non-md-devices.patch
|
2018-10-17 07:01:26 +02:00
|
|
|
Patch1001: 1001-display-timeout-status.patch
|
2020-06-25 07:43:47 +02:00
|
|
|
Patch1002: 1002-OnCalendar-format-fix-of-mdcheck_start-timer.patch
|
2020-10-16 01:45:51 +02:00
|
|
|
Patch1003: 1003-mdadm-treat-the-Dell-softraid-array-as-local-array.patch
|
2022-12-01 23:04:51 +01:00
|
|
|
Patch1004: 1004-call-mdadm_env.sh-from-usr-libexec-mdadm.patch
|
2022-08-12 00:41:10 +02:00
|
|
|
Patch1005: 1005-mdadm-enable-Intel-Alderlake-RSTe-configuration.patch
|
2013-09-03 07:46:59 +02:00
|
|
|
%define _udevdir %(pkg-config --variable=udevdir udev)
|
2013-06-13 06:16:10 +02:00
|
|
|
%define _systemdshutdowndir %{_unitdir}/../system-shutdown
|
2012-11-04 03:24:36 +01:00
|
|
|
|
2007-01-10 17:49:57 +01:00
|
|
|
%description
|
2018-12-13 23:56:51 +01:00
|
|
|
mdadm is a program that can be used to control Linux md devices.
|
2007-01-10 17:49:57 +01:00
|
|
|
|
|
|
|
%prep
|
2009-10-03 00:44:49 +02:00
|
|
|
%setup -q -a1
|
2016-05-04 07:00:38 +02:00
|
|
|
%patch1 -p1
|
2020-03-04 05:49:18 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
2018-12-10 03:29:03 +01:00
|
|
|
%patch11 -p1
|
|
|
|
%patch12 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
%patch14 -p1
|
|
|
|
%patch15 -p1
|
|
|
|
%patch16 -p1
|
|
|
|
%patch17 -p1
|
|
|
|
%patch18 -p1
|
2019-02-12 23:07:40 +01:00
|
|
|
%patch19 -p1
|
2019-03-29 05:09:44 +01:00
|
|
|
%patch20 -p1
|
|
|
|
%patch21 -p1
|
2019-10-30 01:13:13 +01:00
|
|
|
%patch22 -p1
|
|
|
|
%patch23 -p1
|
|
|
|
%patch24 -p1
|
2020-02-11 23:29:07 +01:00
|
|
|
%patch25 -p1
|
|
|
|
%patch26 -p1
|
2020-03-04 05:49:18 +01:00
|
|
|
%patch27 -p1
|
|
|
|
%patch28 -p1
|
|
|
|
%patch29 -p1
|
|
|
|
%patch30 -p1
|
|
|
|
%patch31 -p1
|
|
|
|
%patch32 -p1
|
|
|
|
%patch33 -p1
|
|
|
|
%patch34 -p1
|
|
|
|
%patch35 -p1
|
|
|
|
%patch36 -p1
|
|
|
|
%patch37 -p1
|
|
|
|
%patch38 -p1
|
|
|
|
%patch39 -p1
|
|
|
|
%patch40 -p1
|
|
|
|
%patch41 -p1
|
|
|
|
%patch42 -p1
|
|
|
|
%patch43 -p1
|
|
|
|
%patch44 -p1
|
|
|
|
%patch46 -p1
|
|
|
|
%patch47 -p1
|
|
|
|
%patch48 -p1
|
|
|
|
%patch49 -p1
|
|
|
|
%patch50 -p1
|
|
|
|
%patch51 -p1
|
2018-10-17 07:01:26 +02:00
|
|
|
%patch1001 -p1
|
2020-06-25 07:43:47 +02:00
|
|
|
%patch1002 -p1
|
2020-10-16 01:45:51 +02:00
|
|
|
%patch1003 -p1
|
2022-05-31 00:40:07 +02:00
|
|
|
%patch1004 -p1
|
2022-08-12 00:41:10 +02:00
|
|
|
%patch1005 -p1
|
2007-01-10 17:49:57 +01:00
|
|
|
|
|
|
|
%build
|
2022-09-20 00:47:55 +02:00
|
|
|
make %{?_smp_mflags} CC="%__cc" CXFLAGS="%{optflags} -Wno-error" EXTRAVERSION="%{release}" SUSE=yes BINDIR=%{_sbindir}
|
2007-01-10 17:49:57 +01:00
|
|
|
cd Software-RAID.HOWTO
|
|
|
|
sgml2html Software-RAID.HOWTO.sgml
|
|
|
|
sgml2txt Software-RAID.HOWTO.sgml
|
|
|
|
|
|
|
|
%install
|
2021-10-06 06:16:57 +02:00
|
|
|
%make_install install-systemd install-udev SYSTEMD_DIR=%{_unitdir} UDEVDIR=%{_udevdir} SUSE=yes BINDIR=%{_sbindir}
|
2012-11-04 03:24:36 +01:00
|
|
|
rm -rf %{buildroot}/lib/udev
|
2017-11-23 23:53:57 +01:00
|
|
|
install -d %{buildroot}%{_fillupdir}
|
2014-09-16 03:06:21 +02:00
|
|
|
install -d %{buildroot}/usr/share/mdadm
|
|
|
|
install -m 755 misc/mdcheck %{buildroot}/usr/share/mdadm/mdcheck
|
2017-11-23 23:53:57 +01:00
|
|
|
install -m 644 %{S:2} %{buildroot}%{_fillupdir}/
|
2012-11-04 03:24:36 +01:00
|
|
|
install -d %{buildroot}%{_systemdshutdowndir}
|
2014-09-16 03:06:21 +02:00
|
|
|
install -d %{buildroot}%{_sbindir}
|
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcmdmonitor
|
2022-12-27 10:31:26 +01:00
|
|
|
%if !0%{?usrmerged}
|
|
|
|
mkdir -p %{buildroot}/sbin
|
|
|
|
ln -s %{_sbindir}/mdadm %{buildroot}/sbin/mdadm
|
|
|
|
ln -s %{_sbindir}/mdmon %{buildroot}/sbin/mdmon
|
|
|
|
%endif
|
2014-09-16 03:06:21 +02:00
|
|
|
|
2018-12-10 03:29:03 +01:00
|
|
|
%define services mdmonitor.service mdcheck_start.service mdcheck_continue.service mdmonitor-oneshot.service
|
2014-09-16 03:06:21 +02:00
|
|
|
|
|
|
|
%pre
|
|
|
|
%service_add_pre %services
|
2007-01-10 17:49:57 +01:00
|
|
|
|
|
|
|
%post
|
2014-09-16 03:06:21 +02:00
|
|
|
%service_add_post %services
|
2014-06-12 04:09:59 +02:00
|
|
|
%{?regenerate_initrd_post}
|
2014-01-23 10:31:18 +01:00
|
|
|
%fillup_only
|
|
|
|
|
2014-09-16 03:06:21 +02:00
|
|
|
%preun
|
2020-03-27 04:54:58 +01:00
|
|
|
%service_del_preun %services
|
2014-09-16 03:06:21 +02:00
|
|
|
|
2007-01-10 17:49:57 +01:00
|
|
|
%postun
|
2014-09-16 03:06:21 +02:00
|
|
|
%service_del_postun %services
|
2014-06-12 04:09:59 +02:00
|
|
|
%{?regenerate_initrd_post}
|
2007-01-10 17:49:57 +01:00
|
|
|
|
2014-06-12 04:09:59 +02:00
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
2007-01-10 17:49:57 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2018-10-17 07:01:26 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog README.initramfs TODO mdadm.conf-example mkinitramfs
|
2007-01-10 17:49:57 +01:00
|
|
|
%doc Software-RAID.HOWTO/Software-RAID.HOWTO*{.txt,.html}
|
|
|
|
%doc %{_mandir}/man?/*
|
2021-10-06 06:16:57 +02:00
|
|
|
%{_sbindir}/*
|
2022-12-27 10:31:26 +01:00
|
|
|
%if !0%{?usrmerged}
|
|
|
|
/sbin/mdadm
|
|
|
|
/sbin/mdmon
|
|
|
|
%endif
|
2014-09-16 03:06:21 +02:00
|
|
|
%dir /usr/share/mdadm
|
|
|
|
/usr/share/mdadm/*
|
2017-11-23 23:53:57 +01:00
|
|
|
%{_fillupdir}/sysconfig.mdadm
|
Accepting request 548207 from home:colyli:branches:Base:System
- Update mdadm for SLE15, for bug fixes and new feature enhancement
- 1000-The-mdcheck-script-now-adds-messages-to-the-system.patch is
removed because upstream has similar fix with almost identical
funcationality.
- The following patches are not deleted indeed, they are renamed
and added into all other new-added patches with different perfix
numbers,
0038-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch
0039-Create-Fixup-various-whitespace-issues.patch
0040-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch
0041-mdopen-use-parameters-new_array-to-create-arrays-whe.patch
0042-mdadm-manpage-update-manpage-for-readonly-parameter.patch
0043-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch
0044-maps-Terminate-modes-map-correctly.patch
0045-Grow_continue_command-ensure-content-is-properly-ini.patch
0046-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch
0047-Detail-ensure-export-names-are-acceptable-as-shell-v.patch
0048-Grow-set-component-size-prior-to-array-size.patch
0049-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch
0050-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch
0051-IMSM-Correct-examine-output-for-4k-disks.patch
0052-imsm-allow-drives-in-a-container-regardless-of-secto.patch
0053-imsm-allocate-buffer-to-support-maximum-sector-size.patch
0054-imsm-don-t-allow-disks-with-different-sector-size-in.patch
0055-Allow-more-spare-selection-criteria.patch
0056-Add-sector-size-as-spare-selection-criterion.patch
0057-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch
0058-super1-only-set-clustered-flag-when-bitmap-is-presen.patch
0059-To-support-clustered-raid10.patch
0060-udev-rules-introduce-rules-for-cluster-md-to-confirm.patch
- The following patche set includes the above renamed patches,
they have bug fixes for bsc#1068030, bsc#1069165, bsc#1069167,
and some other fixes and enhancement for raid5 ppl, imsm, and
general mdadm code,
0038-mdadm-Create-declaring-an-existing-struct-within-sam.patch
0039-Create-Fixup-bad-placement-of-logical-in-multi-line-.patch
0040-Create-Fixup-various-whitespace-issues.patch
0041-mdadm.c-fix-compile-warning-mdfd-is-uninitialized.patch
0042-mdopen-use-parameters-new_array-to-create-arrays-whe.patch
0043-mdadm-manpage-update-manpage-for-readonly-parameter.patch
0044-mdadm-manpage-clustered-arrays-don-t-support-array-s.patch
0045-maps-Terminate-modes-map-correctly.patch
0046-Grow_continue_command-ensure-content-is-properly-ini.patch
0047-systemd-mdadm-last-resort-use-ConditionPathExists-in.patch
0048-Detail-ensure-export-names-are-acceptable-as-shell-v.patch
0049-Grow-set-component-size-prior-to-array-size.patch
0050-Grow-don-t-allow-to-enable-PPL-when-reshape-is-in-pr.patch
0051-Grow-don-t-allow-array-geometry-change-with-ppl-enab.patch
0052-IMSM-Correct-examine-output-for-4k-disks.patch
0053-imsm-allow-drives-in-a-container-regardless-of-secto.patch
0054-imsm-allocate-buffer-to-support-maximum-sector-size.patch
0055-imsm-don-t-allow-disks-with-different-sector-size-in.patch
0056-mdadm-mdmon-deleted-the-abort_reshape-never-invoked.patch
0057-util-Introduce-md_get_array_info.patch
0058-Incremental-Remove-redundant-call-for-GET_ARRAY_INFO.patch
0059-util-Introduce-md_get_disk_info.patch
0060-util-Introduce-md_set_array_info.patch
0061-md_u-Remove-some-unused-ioctl-declarations.patch
0062-mdadm-grow-reshape-would-be-stuck-from-raid1-to-raid.patch
0063-sysfs-Use-the-presence-of-sys-block-dev-md-as-indica.patch
0064-sysfs-Make-sysfs_init-return-an-error-code.patch
0065-util-must_be_container-Use-sysfs_read-GET_VERSION-to.patch
0066-util-set_array_info-Simplify-code-since-md_get_versi.patch
0067-Assemble-Assemble-Stop-checking-kernel-md-driver-ver.patch
0068-Build-Stop-bothering-about-supporting-md-driver-olde.patch
0069-Grow-Stop-bothering-about-md-driver-versions-older-t.patch
0070-Detail-Stop-bothering-about-md-drivers-older-than-0..patch
0071-Create-Remove-all-attemps-to-handle-md-driver-older-.patch
0072-Manage-Remove-all-references-to-md_get_version.patch
0073-Query-Remove-all-references-to-md_get_version.patch
0074-bitmap-Remove-use-of-md_get_version.patch
0075-mdmon-Stop-bothering-about-md_get_version.patch
0076-mdopen-open_mddev-Use-md_get_array_info-to-determine.patch
0077-mdassemble-Use-md_get_array_info-to-check-for-valid-.patch
0078-Assemble-Assemble-Get-rid-of-last-use-of-md_get_vers.patch
0079-util-Finally-kill-off-md_get_version.patch
0080-mdadm-Fail-for-kernels-older-than-2.6.15.patch
0081-Revert-mdadm-grow-reshape-would-be-stuck-from-raid1-.patch
0082-Retire-mdassemble.patch
0083-super1-Clean-up-various-style-abuses.patch
0084-Detail-Remove-pre-2.6-code-for-printing-info-on-rebu.patch
0085-Assemble-Remove-obsolete-test-for-kernels-older-than.patch
0086-Detail-Fixup-ugly-if-foo-abuse.patch
0087-Query-Handle-error-returned-by-fstat.patch
0088-Query-Use-sysfs-to-obtain-data-if-possible.patch
0089-sysfs-Parse-array_state-in-sysfs_read.patch
0090-util-Introduce-md_array_active-helper.patch
0091-maps-Use-keyvalue-for-null-terminator-to-indicate-un.patch
0092-util-Get-rid-of-unused-enough_fd.patch
0093-mdadm-retire-mdassemble-in-make-everything.patch
0094-Query-Quiet-gcc-since-it-cannot-know-errno-0-in-this.patch
0095-Makefile-Default-to-O2-optimization.patch
0096-maps-Simplify-implementation-of-map_name.patch
0097-Don-t-use-UnSet-with-consistency_policy.patch
0098-Detail-determine-array-state-from-sysfs.patch
0099-Detail-Respect-code-lines-are-80-character-wide.patch
0100-Detail-Reinstate-support-for-not-having-sysfs.patch
0101-Incremental-Use-md_array_active-where-applicable.patch
0102-Incremental-Cleanup-some-if-statement-spaghetti.patch
0103-Create-tell-udev-md-device-is-not-ready-when-first-c.patch
0104-Incremental-Use-md_array_active-to-determine-state-o.patch
0105-Manage-Manage_ro-Use-md_array_active.patch
0106-IMSM-Initialize-my_vol_raid_dev_num-during-vol-creat.patch
0107-Grow-Grow_continue_command-Avoid-aliasing-array-vari.patch
0108-change-back-0644-permission-for-Grow.c.patch
0109-util-md_array_valid-Introduce-md_array_valid-helper.patch
0110-kernel-patch-Remove-obsolete-kernel-patches-against-.patch
0111-mdassemble-Kill-off-the-last-remains.patch
0112-mdadm-util-unify-fstat-checking-blkdev-into-function.patch
0113-mdadm-util-unify-stat-checking-blkdev-into-function.patch
0114-Fix-typo-in-new-udev-rule.patch
0115-Incremental-return-is-not-a-function.patch
0116-sysfs-sysfs_read-Count-active_disks-and-failed_disks.patch
0117-container_members_max_degradation-Switch-to-using-sy.patch
0118-IncrementalScan-Use-md_array_active-instead-of-md_ge.patch
0119-Mention-endian-in-documentation-for-update-byte-orde.patch
0120-Monitor-Use-md_array_active-instead-of-manually-fidd.patch
0121-Monitor-Code-is-80-characters-per-line.patch
0122-mdadm-md.4-set-page-length-as-1000-to-avoid-warnings.patch
0123-Allow-more-spare-selection-criteria.patch
0124-Add-sector-size-as-spare-selection-criterion.patch
0125-Monitor-check_array-Centralize-exit-path.patch
0126-Monitor-check_array-Reduce-duplicated-error-handling.patch
0127-Monitor-check_array-Declate-mdinfo-instance-globally.patch
0128-Monitor-check_array-Read-sysfs-entry-earlier.patch
0129-Monitor-check_array-Obtain-RAID-level-from-syfs.patch
0130-Monitor-check_array-Get-failed_disks-from-sysfs.patch
0131-Monitor-check_array-Get-array_disks-from-sysfs.patch
0132-Monitor-check_array-Get-nr_disks-active_disks-and-sp.patch
0133-sysfs-sysfs_read-Count-working_disks.patch
0134-Monitor-check_array-Use-working_disks-from-sysfs.patch
0135-retire-the-APIs-that-driver-no-longer-supports.patch
0136-Monitor-Not-much-point-declaring-mdlist-in-both-fork.patch
0137-Monitor-mailfrom-is-initialized-correctly.patch
0138-Monitor-Fixup-a-pile-of-whitespace-issues.patch
0139-mdadm-Uninitialized-variable-rdev.patch
0140-super-ddf-sysfs_read-takes-a-pointer-as-device-name-.patch
0141-mdadm-Fixup-a-large-number-of-bad-formatting-of-logi.patch
0142-mdadm-Fixup-more-broken-logical-operator-formatting.patch
0143-mdadm-Fix-broken-formatting.patch
0144-mdadm-Fixup-broken-formatting.patch
0145-Detail-don-t-exit-if-ioctl-has-been-successful.patch
0146-super1-fix-sb-max_dev-when-adding-a-new-disk-in-line.patch
0147-md_u-Remove-unused-ioctl-declaration-of-START_ARRAY.patch
0148-Get-failed-disk-count-from-array-state.patch
0149-Monitor-don-t-assume-mdadm-parameter-is-a-block-devi.patch
0150-super1-Always-round-data-offset-to-1M.patch
0151-mdadm-r5cache-allow-adding-journal-to-array-without-.patch
0152-udev-rules-introduce-rules-for-cluster-md-to-confirm.patch
0153-Detail-correct-output-for-active-arrays.patch
0154-imsm-rebuild-from-2-disk-RAID10.patch (bsc#1069165)
0155-Error-messages-should-end-with-a-newline-character.patch
0156-Use-correct-syntax-for-passing-DEVLINKS-to-mdadm-fro.patch
0157-super1-only-set-clustered-flag-when-bitmap-is-presen.patch
0158-Don-t-use-exit-ERANGE.patch
0159-Monitor-containers-don-t-have-the-same-sysfs-propert.patch
0160-Monitor-Include-containers-in-spare-migration.patch
0161-Detail-differentiate-between-container-and-inactive-.patch
0162-mdadm-install-two-more-udev-rules-in-mdadm.spec.patch
0163-mdadm-set-journal_clean-after-scanning-all-disks.patch
0164-mdadm-bitmap-examine-bitmap-failed-when-bitmap-is-ex.patch
0165-mdopen-call-modprobe-md_mod-if-it-might-be-needed.patch
0166-lib-devid2kname-should-take-a-dev_t.patch
0167-sysfs_init_dev-take-a-dev_t-argument.patch
0168-Manage_subdevs-Use-a-dev_t.patch
0169-util-Code-is-80-characters-wide.patch
0170-Close-mdfd-before-returning-main-function.patch
0171-Grow-stop-previous-reshape-process-first.patch
0172-imsm-New-disk-controller-domains.patch
0173-Monitor-Check-redundancy-for-arrays.patch
0174-mdadm-grow-Component-size-must-be-larger-than-chunk-.patch
0175-mdadm-manpage-disable-bitmap_resize-for-external-fil.patch
0176-mdadm-fixes-some-trivial-typos-in-comments.patch
(The following 12 patches are specifically for bsc#1068030)
0177-Don-t-abort-starting-the-array-if-kernel-does-not-su.patch
0178-super1-Add-support-for-multiple-ppls.patch
0179-imsm-Add-support-for-multiple-ppls.patch
0180-imsm-validate-multiple-ppls-during-assemble.patch
0181-Zeroout-whole-ppl-space-during-creation-force-assemb.patch
0182-imsm-switch-to-multiple-ppls-automatically-during-as.patch
0183-Grow-fix-switching-on-PPL-during-recovery.patch
0184-imsm-don-t-skip-resync-when-an-invalid-ppl-header-is.patch
0185-imsm-Write-empty-PPL-header-if-assembling-regular-cl.patch
0186-imsm-always-do-ppl-recovery-when-starting-a-rebuildi.patch
0187-imsm-use-correct-map-when-validating-ppl.patch
0188-imsm-write-initial-ppl-on-a-disk-added-for-rebuild.patch
0189-Grow-Use-all-80-characters.patch
0190-imsm-Set-disk-slot-number.patch
(The following 1 patch is specifically for bsc#1069167)
0191-mdmon-get-safe-mode-delay-file-descriptor-early.patch
0192-mdadm-mdstat-fixup-a-number-of-broken-formatting.patch
0193-mdadm-mdstat-correct-the-strncmp-number-4-as-6.patch
0194-mdcheck-add-some-logging.patch
0195-mdcheck-improve-cleanup.patch
0196-Move-mdadm_env.sh-out-of-usr-lib-systemd.patch
0197-mdadm-grow-adding-a-test-to-ensure-resize-was-requir.patch
0198-mdadm-mdopen-create-new-function-create_named_array-.patch
0199-systemd-add-I-to-description-of-mdadm-last-resort-se.patch
0200-Incremental-Use-validate_geometry-instead-of-avail_s.patch
0201-imsm-fix-reading-scsi-serial.patch
0202-To-support-clustered-raid10.patch
0203-imsm-More-precise-message-when-spanned-raid-is-creat.patch
0204-sysfs-include-faulty-drive-in-disk-count.patch
0205-Monitor-msg-Don-t-print-error-message-if-mdmon-doesn.patch
0206-imsm-continue-resync-on-3-disk-RAID10.patch
OBS-URL: https://build.opensuse.org/request/show/548207
OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=156
2017-12-04 22:26:22 +01:00
|
|
|
%{_udevdir}/rules.d/01-md-raid-creating.rules
|
2013-09-03 07:46:59 +02:00
|
|
|
%{_udevdir}/rules.d/63-md-raid-arrays.rules
|
|
|
|
%{_udevdir}/rules.d/64-md-raid-assembly.rules
|
2017-11-24 05:12:35 +01:00
|
|
|
%{_udevdir}/rules.d/69-md-clustered-confirm-device.rules
|
2015-09-19 08:35:27 +02:00
|
|
|
# %%{_systemdshutdowndir}/ is not owned by all versions of systemd-mini.
|
|
|
|
# But we really do not want to pull in a full systemd, so we rather just own
|
|
|
|
# that directory by ourselves too. After all, this is allowed.
|
|
|
|
%dir %{_systemdshutdowndir}
|
2012-11-04 03:24:36 +01:00
|
|
|
%{_systemdshutdowndir}/mdadm.shutdown
|
2013-06-13 06:16:10 +02:00
|
|
|
%{_unitdir}/mdmon@.service
|
2014-01-22 05:59:00 +01:00
|
|
|
%{_unitdir}/mdmonitor.service
|
2013-12-03 04:13:54 +01:00
|
|
|
%{_unitdir}/mdadm-last-resort@.timer
|
|
|
|
%{_unitdir}/mdadm-last-resort@.service
|
2014-06-10 13:05:25 +02:00
|
|
|
%{_unitdir}/mdadm-grow-continue@.service
|
2018-12-10 03:29:03 +01:00
|
|
|
%{_unitdir}/mdcheck_continue.service
|
|
|
|
%{_unitdir}/mdcheck_continue.timer
|
|
|
|
%{_unitdir}/mdcheck_start.service
|
|
|
|
%{_unitdir}/mdcheck_start.timer
|
|
|
|
%{_unitdir}/mdmonitor-oneshot.service
|
|
|
|
%{_unitdir}/mdmonitor-oneshot.timer
|
2022-12-01 23:04:51 +01:00
|
|
|
%dir %{_prefix}/libexec/
|
|
|
|
%dir %{_prefix}/libexec/mdadm
|
|
|
|
%{_prefix}/libexec/mdadm/mdadm_env.sh
|
2008-01-24 18:30:41 +01:00
|
|
|
|
2007-04-06 00:37:00 +02:00
|
|
|
%changelog
|