Description of problem: We usually have startup scripts still in /etc/rc.d/init.d. Untested patch: --- xen.spec 1 Apr 2005 03:38:40 -0000 1.33 +++ xen.spec 2 Apr 2005 11:34:26 -0000 @@ -16,6 +16,7 @@ BuildRequires: transfig libidn-devel zli BuildRequires: xorg-x11-devel python-devel ghostscript tetex-latex Requires: bridge-utils python-twisted Requires: python-abi = %{pyver} +Prereq: chkconfig ExclusiveArch: i386 %description @@ -45,6 +46,10 @@ make DESTDIR=%{buildroot} install-xen in mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/domain mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/xend-db/vnet +### fixing startup-script dir +mkdir -p %{buildroot}/etc/rc.d +mv -f %{buildroot}/etc/init.d %{buildroot}/etc/rc.d/ + ### fixing the man install -d %{buildroot}%{_mandir} mv %{buildroot}/usr/man/* %{buildroot}%{_mandir} @@ -86,8 +91,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man?/*.?.gz %dir %{_localstatedir}/lib/%{name} %{_localstatedir}/lib/%{name}/* -%{_sysconfdir}/init.d/xend -%{_sysconfdir}/init.d/xendomains +%{_sysconfdir}/rc.d/init.d/xend +%{_sysconfdir}/rc.d/init.d/xendomains %{_sysconfdir}/%{name}* %changelog Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I just applied the patch, it will be in the next Xen RPM. Thank you.