[systemd-devel] RFC: creating a set of systemd RPM macros across distributions ?

Ludwig Nussel ludwig.nussel at suse.de
Mon Jun 27 08:37:30 PDT 2011


Frederic Crozat wrote:
> [...]
> %service_add_enabled()
> if [ "$1" -eq 1 ] ; then 
> # Initial installation
> /bin/systemctl enable %{1}.service >/dev/null 2>&1 || :
> fi

Does this have an advantage over installing the symlink at build
time already and including the symlink in %files instead?

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) 


More information about the systemd-devel mailing list