buildrootschalter/package/avahi
Thomas Petazzoni 3b4ec0c6a8 avahi: do not install S05avahi-setup.sh in systemd setup
The AVAHI_INSTALL_AUTOIPD was unconditionally installing
S05avahi-setup.sh to /etc/init.d/, even in systemd
configurations. Therefore, this commit:

 * Moves the installation of S05avahi-setup.sh to a separate variable
   called AVAHI_INSTALL_AUTOIPD_INIT_SYSV.

 * Makes sure to use 'install -D' and a full destination path when
   installing S05avahi-setup.sh.

 * Moves the definition of AVAHI_INSTALL_AUTOIPD inside the
   BR2_PACKAGE_AVAHI_AUTOIPD conditional, so that both the variable
   definition and its addition to AVAHI_POST_INSTALL_TARGET_HOOKS are
   enclosed in the conditional.

 * Moves the S50avahi-daemon installation from AVAHI_INSTALL_INIT_SYSV
   to AVAHI_INSTALL_DAEMON_INIT_SYSV.

 * Uses 'install -D' to install S50avahi-daemon.

 * Adds a AVAHI_INSTALL_INIT_SYSV definition which calls both
   AVAHI_INSTALL_AUTOIPD_INIT_SYSV and AVAHI_INSTALL_DAEMON_INIT_SYSV.

Note: in a systemd configuration, there is no provision to do what
S05avahi-setup.sh is doing for sysv init configurations. Maybe this is
something that our systemd people should have a look at.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19 13:13:57 +02:00
..
avahi_tmpfiles.conf avahi: fixup init scripts after default user removal 2014-06-23 11:38:17 +02:00
avahi-autoipd-perms.patch
avahi-disable-systemd-support.patch avahi: bump version 2010-07-19 16:01:28 +02:00
avahi-ipv6only.patch
avahi-optional-ipv6.patch avahi: fix build on uclibc 0.9.31 without ipv6 support 2010-05-18 10:42:13 +02:00
avahi.mk avahi: do not install S05avahi-setup.sh in systemd setup 2014-10-19 13:13:57 +02:00
Config.in avahi: add option to build the libdns_sd (Bonjour) compatibility library 2014-09-22 23:04:59 +02:00
S05avahi-setup.sh avahi: fixup init scripts after default user removal 2014-06-23 11:38:17 +02:00
S50avahi-daemon