do it like upstart
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=148
This commit is contained in:
parent
a9456af736
commit
55a3cfce21
@ -164,7 +164,8 @@ popd
|
||||
make install -C src MANPATH=%{_mandir} ROOT=${RPM_BUILD_ROOT} WITH_SELINUX=yes DISTRO=SuSE
|
||||
mv ${RPM_BUILD_ROOT}/sbin/init ${RPM_BUILD_ROOT}/sbin/sysvinit
|
||||
ln -s sysvinit ${RPM_BUILD_ROOT}/sbin/init
|
||||
ln -sf sysvinit ${RPM_BUILD_ROOT}/sbin/telinit.sysvinit
|
||||
mkdir -p ${RPM_BUILD_ROOT}/lib/sysvinit
|
||||
ln -sf sysvinit ${RPM_BUILD_ROOT}/lib/sysvinit/telinit
|
||||
ln -sf sysvinit ${RPM_BUILD_ROOT}/sbin/telinit
|
||||
test -p ${RPM_BUILD_ROOT}/dev/initctl || {
|
||||
rm -f ${RPM_BUILD_ROOT}/dev/initctl
|
||||
@ -237,7 +238,8 @@ fi
|
||||
%files
|
||||
%defattr (-,root,root,755)
|
||||
/sbin/sysvinit
|
||||
/sbin/telinit.sysvinit
|
||||
%dir /lib/sysvinit
|
||||
/lib/sysvinit/telinit
|
||||
|
||||
%files init
|
||||
%defattr (-,root,root,755)
|
||||
|
Loading…
Reference in New Issue
Block a user