https://bugzilla.novell.com/show_bug.cgi?id=713760
https://bugzilla.novell.com/show_bug.cgi?id=713760#c4
Frederic Crozat changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|fcrozat@suse.com |
--- Comment #4 from Frederic Crozat 2011-08-26 13:22:02 UTC ---
Sorry, forgot this part :
specfile should have the following ;
%if 0%{suse_version} > 1210
BuildRequires: systemd-devel
%{systemd_requires}
%endif
#install the files in %_unitdir (ie /lib/systemd/system )
install -m644 file.service $RPM_BUILD_ROOT%_unitdir
and add to scripts :
%post
%service_add YaST2-Second-Phrase.service Yast2-Firstboot.service
/bin/systemctl enable YaST2-Second-Phrase.service Yast2-Firstboot.service >
/dev/null 2>&1 || :
%preun
if [ $1 -eq 0 ]; then
/bin/systemctl disable YaST2-Second-Phrase.service Yast2-Firstboot.service >
/dev/null 2>&1 || :
fi
%service_del_preun YaST2-Second-Phrase.service Yast2-Firstboot.service
%postun
%service_del_postun YaST2-Second-Phrase.service Yast2-Firstboot.service
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.