Mailinglist Archive: opensuse-buildservice (273 mails)

< Previous Next >
Re: [opensuse-buildservice] /etc/sysconfic/... not allowed anymore
  • From: Axel Braun <Doc.B@xxxxxx>
  • Date: Thu, 29 Jan 2009 16:43:41 +0100
  • Message-id: <200901291643.41404.Doc.B@xxxxxx>
Am Mittwoch 28 Januar 2009 schrieb Cristian Rodríguez:

Anybody an ides what has changed? and what has to be used instead?

You need to use the fillup macro instead of adding files to
/etc/sysconfig directly.

yes, the macro is used in
%post
%{fillup_and_insserv hylafax}
/sbin/chkconfig --add hylafax

I assume what is calling the problems is the line in %install:
install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/hylafax
resp in the %files section.

I'm not totally clear about the documentation in
http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.6._.25fillup_and_insserv

Do i have to add a file /var/adm/fillup-templates/sysconfig.hylafax to the
spec file with the content of the current /etc/sysconfig/hylafax?

Thanks
Axel
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >