OBS User unknown 2009-04-20 00:08:41 +00:00 committed by Git OBS Bridge
parent c523d3304e
commit 3d62d129fc
3 changed files with 20 additions and 14 deletions

View File

@ -1,3 +1,2 @@
# start idedma script for each added IDE device # start idedma script for each added IDE device
KERNEL=="hd*[!0-9]", ACTION=="add", RUN+="/lib/udev/idedma.sh /dev/%k" ACTION=="add", SUBSYSTEM=="block", KERNEL=="hd*[!0-9]", RUN+="/lib/udev/idedma.sh $env{DEVNAME}"
KERNEL=="sd*[!0-9]", ACTION=="add", RUN+="/lib/udev/idedma.sh /dev/%k"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 20 01:42:13 CEST 2009 - kay.sievers@novell.com
- do not try to set DMA for libata devices - it will not do anything
- move rules file to /lib/udev/rules.d
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 23 08:18:39 CET 2009 - mseben@suse.cz Mon Mar 23 08:18:39 CET 2009 - mseben@suse.cz

View File

@ -25,7 +25,7 @@ PreReq: %insserv_prereq %fillup_prereq coreutils
Provides: base:/sbin/hdparm Provides: base:/sbin/hdparm
AutoReqProv: on AutoReqProv: on
Version: 9.13 Version: 9.13
Release: 1 Release: 2
Summary: A Program to Get and Set Hard Disk Parameters Summary: A Program to Get and Set Hard Disk Parameters
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: 56-idedma.rules Source1: 56-idedma.rules
@ -60,11 +60,10 @@ mkdir -p $RPM_BUILD_ROOT/sbin
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8 mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
mv contrib/README contrib/README.contrib mv contrib/README contrib/README.contrib
install -d $RPM_BUILD_ROOT/etc/udev/rules.d install -d $RPM_BUILD_ROOT/lib/udev/rules.d
install -m 644 %{S:1} $RPM_BUILD_ROOT/etc/udev/rules.d install -m 644 %{S:1} $RPM_BUILD_ROOT/lib/udev/rules.d
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates
install -d $RPM_BUILD_ROOT/lib/udev
install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
install -d $RPM_BUILD_ROOT/usr/lib/hdparm install -d $RPM_BUILD_ROOT/usr/lib/hdparm
%ifarch %ix86 %ifarch %ix86
@ -109,13 +108,15 @@ fi
/sbin/hdparm /sbin/hdparm
%dir /lib/udev %dir /lib/udev
/lib/udev/idedma.sh /lib/udev/idedma.sh
%dir /etc/udev %dir /lib/udev/rules.d
%dir /etc/udev/rules.d /lib/udev/rules.d/56-idedma.rules
%config(noreplace) /etc/udev/rules.d/56-idedma.rules
/usr/lib/hdparm /usr/lib/hdparm
/var/adm/fillup-templates/sysconfig.ide /var/adm/fillup-templates/sysconfig.ide
%changelog %changelog
* Mon Apr 20 2009 kay.sievers@novell.com
- do not try to set DMA for libata devices - it will not do anything
- move rules file to /lib/udev/rules.d
* Mon Mar 23 2009 mseben@suse.cz * Mon Mar 23 2009 mseben@suse.cz
- update to version 9.13 - update to version 9.13
* fix O_DIRECT (--direct) for arch's other than x86 * fix O_DIRECT (--direct) for arch's other than x86
@ -248,13 +249,13 @@ fi
- fixed bug whereby old data was shown after settings changed (eg. with -W0) - fixed bug whereby old data was shown after settings changed (eg. with -W0)
- removed old notes about a "correction factor" from man page -tT descriptions - removed old notes about a "correction factor" from man page -tT descriptions
- retry open with O_RDONLY if O_RDWR fails with errno==EROFS - retry open with O_RDONLY if O_RDWR fails with errno==EROFS
* Tue Jun 19 2007 ro@suse.de * Wed Jun 20 2007 ro@suse.de
- update to 7.6 - update to 7.6
- added -F flag to flush on-drive write cache buffer - added -F flag to flush on-drive write cache buffer
- replaced use of shm* functions with of mmap()/mlock() - replaced use of shm* functions with of mmap()/mlock()
- removed gcc -Wextra flag --> unsupported on Debian Sarge - removed gcc -Wextra flag --> unsupported on Debian Sarge
- re-allow use of --security-freeze in combination with other flags - re-allow use of --security-freeze in combination with other flags
* Thu Jun 07 2007 ro@suse.de * Fri Jun 08 2007 ro@suse.de
- update to 7.5 - update to 7.5
- beef up warnings for -s1 flag, as people seem to be ignoring them - beef up warnings for -s1 flag, as people seem to be ignoring them
* Fri Jun 01 2007 ro@suse.de * Fri Jun 01 2007 ro@suse.de
@ -268,7 +269,7 @@ fi
- install contrib scripts to /usr/lib/hdparm - install contrib scripts to /usr/lib/hdparm
- mark udev file as config - mark udev file as config
- fix permissions for fillup-template - fix permissions for fillup-template
* Mon Apr 30 2007 schwab@suse.de * Tue May 01 2007 schwab@suse.de
- Don't strip binaries. - Don't strip binaries.
* Mon Apr 30 2007 ro@suse.de * Mon Apr 30 2007 ro@suse.de
- update to 7.3 - update to 7.3
@ -349,11 +350,11 @@ fi
* Fri Nov 05 2004 ro@suse.de * Fri Nov 05 2004 ro@suse.de
- update to 5.8 - update to 5.8
- remove-dup-swap.patch has been merged upstream - remove-dup-swap.patch has been merged upstream
* Wed Oct 20 2004 ro@suse.de * Thu Oct 21 2004 ro@suse.de
- silence errors for BLKFLSBUF (#45057) - silence errors for BLKFLSBUF (#45057)
* Tue Oct 12 2004 ro@suse.de * Tue Oct 12 2004 ro@suse.de
- added contrib files to doc (#47105) - added contrib files to doc (#47105)
* Sat Sep 04 2004 ro@suse.de * Sun Sep 05 2004 ro@suse.de
- update to 5.7 - update to 5.7
- removed obsolete lvm patch - removed obsolete lvm patch
- recreated err_return patch again - recreated err_return patch again