This commit is contained in:
parent
cf737e4b40
commit
d0d41dd11e
@ -1,3 +0,0 @@
|
|||||||
# Autoload mptctl
|
|
||||||
install mptbase /sbin/modprobe --ignore-install mptbase && /sbin/modprobe --ignore-install mptctl
|
|
||||||
remove mptbase /sbin/modprobe -r --ignore-remove mptctl; /sbin/modprobe -r --ignore-remove mptbase
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 3 15:04:10 CET 2008 - hare@suse.de
|
||||||
|
|
||||||
|
- Move to use udev rules to avoid mkinitrd breakage
|
||||||
|
(bnc#449123)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 20 11:00:16 CET 2008 - hare@suse.de
|
Thu Nov 20 11:00:16 CET 2008 - hare@suse.de
|
||||||
|
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
Name: mpt-firmware
|
Name: mpt-firmware
|
||||||
Summary: Configuration files for autoloading mptctl at boot time
|
Summary: Configuration files for autoloading mptctl at boot time
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 234
|
Release: 235
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Requires: module-init-tools
|
Requires: module-init-tools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: modprobe.mptctl
|
Source0: mptctl.rules
|
||||||
Source3: update-pci-id-list.sh
|
Source3: update-pci-id-list.sh
|
||||||
# Module: mptspi.ko
|
# Module: mptspi.ko
|
||||||
Supplements: modalias(pci:v00001000d00000030sv*sd*bc*sc*i*)
|
Supplements: modalias(pci:v00001000d00000030sv*sd*bc*sc*i*)
|
||||||
@ -57,8 +57,8 @@ Supplements: modalias(pci:v00001000d00000062sv*sd*bc*sc*i*)
|
|||||||
# There is nothing to build
|
# There is nothing to build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d
|
mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
|
||||||
cp %{S:0} $RPM_BUILD_ROOT/etc/modprobe.d/mptctl
|
cp %{S:0} $RPM_BUILD_ROOT/etc/udev/rules.d/81-mptctl.rules
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains modprobe configuration files to autoload the
|
This package contains modprobe configuration files to autoload the
|
||||||
@ -83,10 +83,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir /etc/modprobe.d
|
%dir /etc/udev/rules.d
|
||||||
%config /etc/modprobe.d/*
|
%config /etc/udev/rules.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 03 2008 hare@suse.de
|
||||||
|
- Move to use udev rules to avoid mkinitrd breakage
|
||||||
|
(bnc#449123)
|
||||||
* Thu Nov 20 2008 hare@suse.de
|
* Thu Nov 20 2008 hare@suse.de
|
||||||
- Update to use modprobe files (bnc#444815)
|
- Update to use modprobe files (bnc#444815)
|
||||||
- Update modalias definitions.
|
- Update modalias definitions.
|
||||||
|
6
mptctl.rules
Normal file
6
mptctl.rules
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Autoload mptctl module
|
||||||
|
ACTION!="add", GOTO="mptctl_end"
|
||||||
|
|
||||||
|
SUBSYSTEM=="pci", DRIVER=="mpt*", ENV{MODALIAS}=="?*", RUN{ignore_error}+="/sbin/modprobe mptctl"
|
||||||
|
|
||||||
|
LABEL="mptctl_end"
|
Loading…
x
Reference in New Issue
Block a user