Search
j0ke.net Open Build Service
>
Projects
>
server:pxe
>
nfsroot
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
nfsroot.spec
@@ -31,11 +31,18 @@ %install rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} +%if 0%{?suse_version} +mkdir -p %{buildroot}/var/adm/fillup-templates +mv %{buildroot}/etc/sysconfig/nfsroot %{buildroot}/var/adm/fillup-templates/sysconfig.nfsroot +%endif %clean rm -rf ${RPM_BUILD_ROOT} %post +%if 0%{?suse_version} +%fillup_and_insserv +%endif PATH=/sbin:/usr/sbin:$PATH rm -f %{bootdir}/pxelinux.0 %{bootdir}/memdisk install -m 644 %{_datadir}/syslinux/pxelinux.0 %{bootdir}/ @@ -50,10 +57,20 @@ %defattr(-,root,root) %doc NEWS %doc ChangeLog +%if 0%{?suse_version} +/var/adm/fillup-templates/sysconfig.nfsroot +%else %config(noreplace) %{_sysconfdir}/sysconfig/nfsroot +%endif %config(noreplace) %{bootdir}/pxelinux.cfg %config(noreplace) %{bootdir}/pxelinux.msg %{bootdir}/freedos.img +%dir %{_sysconfdir}/dracut.conf.d +%dir %{_sysconfdir}/kernel +%dir %{_sysconfdir}/kernel/postinst.d +%dir %{_sysconfdir}/kernel/prerm.d +%dir %{_datadir}/dracut +%dir %{_datadir}/dracut/modules.d %{_sysconfdir}/rc.nfsroot* %{_sbindir}/* %{_mandir}/man8/*