diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-09 13:23:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-09 13:23:49 +0000 |
commit | 15052c100e148a94553ee155d7384b67e6537675 (patch) | |
tree | 118d6e5702d061645cd0c25c9bedca6740e3a551 /perl-install/drakxtools.spec | |
parent | a6a904a31e39b74144c53f0cc4086d496b70c09a (diff) | |
download | drakx-15052c100e148a94553ee155d7384b67e6537675.tar drakx-15052c100e148a94553ee155d7384b67e6537675.tar.gz drakx-15052c100e148a94553ee155d7384b67e6537675.tar.bz2 drakx-15052c100e148a94553ee155d7384b67e6537675.tar.xz drakx-15052c100e148a94553ee155d7384b67e6537675.zip |
fix boot freeze on hw change: initscript was running us with stdout
redirected to /dev/null; just use a small sh wrapper to fix it
Diffstat (limited to 'perl-install/drakxtools.spec')
-rw-r--r-- | perl-install/drakxtools.spec | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec index d59cc4514..9c24a9f51 100644 --- a/perl-install/drakxtools.spec +++ b/perl-install/drakxtools.spec @@ -85,10 +85,10 @@ It autodetects both monitor and video card if possible. %description newt This add the capability to be runned behind a web server to the drakx tools. -See package %{name} +See package %name %description http -See package %{name} +See package %name %description -n harddrake The harddrake service is a hardware probing tool run at system boot @@ -118,12 +118,12 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/{%_initrddir,etc/sysconfig/harddrake2} touch $RPM_BUILD_ROOT/etc/sysconfig/harddrake2/previous_hw -mv ${RPM_BUILD_ROOT}%{_sbindir}/net_monitor \ - ${RPM_BUILD_ROOT}%{_sbindir}/net_monitor.real -ln -sf %{_bindir}/consolehelper ${RPM_BUILD_ROOT}%{_sbindir}/net_monitor -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps} -cp pam.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/net_monitor -cp apps.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/net_monitor +mv $RPM_BUILD_ROOT%_sbindir/net_monitor \ + $RPM_BUILD_ROOT%_sbindir/net_monitor.real +ln -sf %_bindir/consolehelper $RPM_BUILD_ROOT%_sbindir/net_monitor +mkdir -p $RPM_BUILD_ROOT%_sysconfdir/{pam.d,security/console.apps} +cp pam.net_monitor $RPM_BUILD_ROOT%_sysconfdir/pam.d/net_monitor +cp apps.net_monitor $RPM_BUILD_ROOT%_sysconfdir/security/console.apps/net_monitor dirs1="usr/lib/libDrakX usr/share/libDrakX" (cd $RPM_BUILD_ROOT ; find $dirs1 usr/bin usr/sbin ! -type d -printf "/%%p\n")|egrep -v 'bin/.*harddrake' > %{name}.list @@ -204,7 +204,7 @@ done %files http -f %{name}-http.list %defattr(-,root,root) -%dir %{_sysconfdir}/drakxtools_http +%dir %_sysconfdir/drakxtools_http %config(noreplace) %_sysconfdir/pam.d/miniserv %config(noreplace) %_sysconfdir/init.d/drakxtools_http %config(noreplace) %_sysconfdir/drakxtools_http/conf @@ -215,6 +215,9 @@ done * Mon Jul 8 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.8-3mdk - harddrake2: o no need to 'use strict' in "binary" => remove warnings + o fix boot freeze on hw change: initscript was running us with + stdout redirected to /dev/null; just use a small sh wrapper to + fix it - spec: o reorder entries in description |