package: rely on systemctl preset-all for buildroot-provided services
All the packages in this list have the following properties * units are provided by buildroot in the package directory * the SYSTEMD_INSTALL_INIT_HOOK is exactly equivalent to what the [Install] section of the unit does The fix removes the soflinking in the .mk file Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
6c3944a057
commit
3e092163e5
package
acpid
apache
babeld
bandwidthd
bind
brltty
chrony
collectd
darkhttpd
dcron
dhcp
dhcpcd
domoticz
dropbear
exim
freescale-imx/imx-uuc
haveged
i2pd
ifupdown-scripts
igd2-for-linux
inadyn
input-event-daemon
irqbalance
iucode-tool
kodi
mariadb
mender
mini-snmpd
minidlna
minissdpd
motion
netplug
nginx
nss-pam-ldapd
ntp
olsr
openntpd
openssh
openvmtools
oracle-mysql
postgresql
proftpd
psplash
ptpd
ptpd2
pulseaudio
python-web2py
rabbitmq-server
redis
rng-tools
rpcbind
rygel
sane-backends
supervisor
suricata
sysklogd
tcf-agent
thttpd
ti-gfx
tinyhttpd
triggerhappy
@ -13,9 +13,6 @@ ACPID_LICENSE_FILES = COPYING
|
||||
define ACPID_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/acpid/acpid.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/acpid.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/acpid.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/acpid.service
|
||||
endef
|
||||
|
||||
define ACPID_INSTALL_INIT_SYSV
|
||||
|
@ -109,9 +109,6 @@ endef
|
||||
define APACHE_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/apache/apache.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/apache.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/apache.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/apache.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -25,11 +25,6 @@ endef
|
||||
define BABELD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/babeld/babeld.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/babeld.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -fs ../../../../usr/lib/systemd/system/babeld.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/babeld.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -34,11 +34,6 @@ endif
|
||||
define BANDWIDTHD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/bandwidthd/bandwidthd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/bandwidthd.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -sf /usr/lib/systemd/system/bandwidthd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/bandwidthd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -111,11 +111,6 @@ endef
|
||||
define BIND_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/named.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -sf /usr/lib/systemd/system/named.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/named.service
|
||||
endef
|
||||
else
|
||||
BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_SERVER
|
||||
|
@ -121,10 +121,6 @@ endef
|
||||
define BRLTTY_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/brltty/brltty.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/brltty.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/brltty.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/brltty.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -67,9 +67,6 @@ endef
|
||||
define CHRONY_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/chrony/chrony.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/chrony.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/chrony.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/chrony.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -229,9 +229,6 @@ endef
|
||||
define COLLECTD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/collectd/collectd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/collectd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/collectd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/collectd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -21,9 +21,6 @@ endef
|
||||
define DARKHTTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/darkhttpd/darkhttpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/darkhttpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/darkhttpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/darkhttpd.service
|
||||
endef
|
||||
|
||||
define DARKHTTPD_INSTALL_INIT_SYSV
|
||||
|
@ -31,9 +31,6 @@ endef
|
||||
define DCRON_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/dcron/dcron.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/dcron.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/dcron.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dcron.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -100,11 +100,6 @@ define DHCP_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/dhcp/dhcpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -sf ../../../../usr/lib/systemd/system/dhcpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpd.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d
|
||||
echo "d /var/lib/dhcp 0755 - - - -" > \
|
||||
$(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf
|
||||
|
@ -48,9 +48,6 @@ endef
|
||||
define DHCPCD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/dhcpcd/dhcpcd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/dhcpcd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/dhcpcd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpcd.service
|
||||
endef
|
||||
endif
|
||||
|
||||
|
@ -78,9 +78,6 @@ endef
|
||||
define DOMOTICZ_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/domoticz/domoticz.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/domoticz.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/domoticz.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/domoticz.service
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
@ -90,9 +90,6 @@ DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_CUSTOM_PATH
|
||||
define DROPBEAR_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/dropbear/dropbear.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/dropbear.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/dropbear.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dropbear.service
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_USE_MMU),y)
|
||||
|
@ -145,9 +145,6 @@ endef
|
||||
define EXIM_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/exim/exim.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/exim.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/exim.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/exim.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -33,9 +33,6 @@ endef
|
||||
define IMX_UUC_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/freescale-imx/imx-uuc/imx-uuc.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/imx-uuc.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
ln -fs ../../../../usr/lib/systemd/system/imx-uuc.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/imx-uuc.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -21,9 +21,6 @@ endef
|
||||
define HAVEGED_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/haveged/haveged.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/haveged.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs /usr/lib/systemd/system/haveged.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/haveged.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -59,9 +59,6 @@ endef
|
||||
define I2PD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/i2pd/i2pd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/i2pd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/i2pd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/i2pd.service
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
@ -48,9 +48,6 @@ endef
|
||||
define IFUPDOWN_SCRIPTS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 $(IFUPDOWN_SCRIPTS_PKGDIR)/network.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/network.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../network.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/network.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -40,9 +40,6 @@ endef
|
||||
define IGD2_FOR_LINUX_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/igd2-for-linux/upnpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/upnpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/upnpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/upnpd.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -34,9 +34,6 @@ endef
|
||||
define INADYN_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/inadyn/inadyn.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/inadyn.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/inadyn.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/inadyn.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -30,9 +30,6 @@ endef
|
||||
define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/input-event-daemon/input-event-daemon.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/input-event-daemon.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf /usr/lib/systemd/system/input-event-daemon.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/input-event-daemon.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -55,9 +55,6 @@ endef
|
||||
define IRQBALANCE_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -21,9 +21,6 @@ endef
|
||||
define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/iucode.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/iucode.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iucode.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -398,11 +398,6 @@ endef
|
||||
define KODI_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/kodi/kodi.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/kodi.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -fs ../../../../usr/lib/systemd/system/kodi.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/kodi.service
|
||||
endef
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
@ -120,9 +120,6 @@ endef
|
||||
define MARIADB_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/mariadb/mysqld.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/mysqld.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/mysqld.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mysqld.service
|
||||
endef
|
||||
endif
|
||||
|
||||
|
@ -70,9 +70,6 @@ MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES
|
||||
define MENDER_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/mender.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/mender.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mender.service
|
||||
endef
|
||||
|
||||
define MENDER_INSTALL_INIT_SYSV
|
||||
|
@ -13,9 +13,6 @@ MINI_SNMPD_AUTORECONF = YES
|
||||
define MINI_SNMPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/mini-snmpd/mini-snmpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/mini-snmpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/mini-snmpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mini-snmpd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -31,11 +31,6 @@ endef
|
||||
define MINIDLNA_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/minidlna/minidlnad.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -fs ../../../../usr/lib/systemd/system/minidlnad.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minidlnad.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -32,9 +32,6 @@ endef
|
||||
define MINISSDPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/minissdpd/minissdpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/minissdpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/minissdpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minissdpd.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -71,9 +71,6 @@ endef
|
||||
define MOTION_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/motion/motion.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/motion.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/motion.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/motion.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -26,9 +26,6 @@ endef
|
||||
define NETPLUG_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/netplug/netplug.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/netplug.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/netplug.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/netplug.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -281,11 +281,6 @@ endef
|
||||
define NGINX_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/nginx/nginx.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/nginx.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -fs ../../../../usr/lib/systemd/system/nginx.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nginx.service
|
||||
endef
|
||||
|
||||
define NGINX_INSTALL_INIT_SYSV
|
||||
|
@ -29,9 +29,6 @@ endif
|
||||
define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/nslcd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/nslcd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nslcd.service
|
||||
endef
|
||||
|
||||
define NSS_PAM_LDAPD_INSTALL_INIT_SYSV
|
||||
|
@ -108,9 +108,6 @@ endef
|
||||
|
||||
define NTP_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
|
||||
endef
|
||||
endif
|
||||
|
||||
|
@ -43,9 +43,6 @@ endef
|
||||
define OLSR_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/olsr/olsr.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/olsr.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/olsr.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/olsr.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -24,9 +24,6 @@ OPENNTPD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -pthread"
|
||||
define OPENNTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/openntpd/ntpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/ntpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/ntpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service
|
||||
endef
|
||||
|
||||
define OPENNTPD_INSTALL_INIT_SYSV
|
||||
|
@ -74,9 +74,6 @@ endif
|
||||
define OPENSSH_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/openssh/sshd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/sshd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/sshd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/sshd.service
|
||||
$(OPENSSH_INSTALL_SYSTEMD_SYSUSERS)
|
||||
endef
|
||||
|
||||
|
@ -72,9 +72,6 @@ endef
|
||||
define OPENVMTOOLS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/openvmtools/vmtoolsd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/vmtoolsd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/vmtoolsd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/vmtoolsd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -116,9 +116,6 @@ endef
|
||||
define ORACLE_MYSQL_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 $(ORACLE_MYSQL_PKGDIR)/mysqld.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/mysqld.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/mysqld.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mysqld.service
|
||||
endef
|
||||
|
||||
else
|
||||
|
@ -128,9 +128,6 @@ endef
|
||||
define POSTGRESQL_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/postgresql/postgresql.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/postgresql.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/postgresql.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/postgresql.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -123,9 +123,6 @@ endef
|
||||
define PROFTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/proftpd/proftpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/proftpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/proftpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/proftpd.service
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PROFTPD_BUFFER_SIZE),0)
|
||||
|
@ -13,15 +13,9 @@ PSPLASH_AUTORECONF = YES
|
||||
define PSPLASH_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
|
||||
|
||||
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
|
||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -25,9 +25,6 @@ endef
|
||||
define PTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/ptpd/ptpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/ptpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/ptpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -32,9 +32,6 @@ endef
|
||||
define PTPD2_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/ptpd2/ptpd2.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/ptpd2.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/ptpd2.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd2.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -167,9 +167,6 @@ endef
|
||||
define PULSEAUDIO_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/pulseaudio/pulseaudio.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/pulseaudio.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/pulseaudio.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/pulseaudio.service
|
||||
endef
|
||||
|
||||
endif
|
||||
|
@ -57,9 +57,6 @@ endef
|
||||
define PYTHON_WEB2PY_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/python-web2py/web2py.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/web2py.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib//systemd/system/web2py.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/web2py.service
|
||||
endef
|
||||
|
||||
# www-data user and group are used for web2py. Because these user and group
|
||||
|
@ -36,11 +36,6 @@ endef
|
||||
define RABBITMQ_SERVER_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/rabbitmq-server/rabbitmq-server.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rabbitmq-server.service
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
|
||||
ln -fs ../../../../usr/lib/systemd/system/rabbitmq-server.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rabbitmq-server.service
|
||||
endef
|
||||
|
||||
define RABBITMQ_SERVER_INSTALL_INIT_SYSV
|
||||
|
@ -49,9 +49,6 @@ endef
|
||||
define REDIS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/redis/redis.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/redis.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/redis.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/redis.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -37,9 +37,6 @@ endef
|
||||
define RNG_TOOLS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/rng-tools/rngd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rngd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/rngd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rngd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -27,9 +27,6 @@ define RPCBIND_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rpcbind.service
|
||||
$(INSTALL) -m 0644 -D package/rpcbind/rpcbind.socket \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rpcbind.socket
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sockets.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/rpcbind.socket \
|
||||
$(TARGET_DIR)/etc/systemd/system/sockets.target.wants/rpcbind.socket
|
||||
endef
|
||||
|
||||
define RPCBIND_INSTALL_INIT_SYSV
|
||||
|
@ -68,9 +68,6 @@ endef
|
||||
define RYGEL_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/rygel/rygel.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/rygel.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/rygel.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rygel.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -66,14 +66,8 @@ endef
|
||||
define SANE_BACKENDS_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -m 0644 -D package/sane-backends/saned.socket \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/saned.socket
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/socket.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/saned.socket \
|
||||
$(TARGET_DIR)/etc/systemd/system/socket.target.wants/saned.socket
|
||||
$(INSTALL) -m 0644 -D package/sane-backends/saned@.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/saned@.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/saned@.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/saned@.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -26,9 +26,6 @@ endef
|
||||
define SUPERVISOR_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/supervisor/supervisord.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/supervisord.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/supervisord.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/supervisord.service
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
||||
|
@ -132,9 +132,6 @@ endef
|
||||
define SURICATA_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/suricata/suricata.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/suricata.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/suricata.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/suricata.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -30,11 +30,6 @@ define SYSKLOGD_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/syslogd.service
|
||||
$(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/klogd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/klogd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/syslogd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/syslogd.service
|
||||
ln -sf ../../../usr/lib/systemd/system/syslogd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/syslog.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -24,9 +24,6 @@ TCF_AGENT_CONF_OPTS = \
|
||||
define TCF_AGENT_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/tcf-agent/tcf-agent.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/tcf-agent.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/tcf-agent.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/tcf-agent.service
|
||||
endef
|
||||
|
||||
define TCF_AGENT_INSTALL_INIT_SYSV
|
||||
|
@ -36,9 +36,6 @@ endef
|
||||
define THTTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 0644 package/thttpd/thttpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/thttpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
||||
ln -fs ../../../../usr/lib/systemd/system/thttpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/thttpd.service
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
@ -196,9 +196,6 @@ define TI_GFX_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/usr/lib/systemd/scripts/ti-gfx
|
||||
$(INSTALL) -D -m 644 package/ti-gfx/ti-gfx.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/ti-gfx.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/ti-gfx.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ti-gfx.service
|
||||
endef
|
||||
|
||||
define TI_GFX_INSTALL_TARGET_CMDS
|
||||
|
@ -27,9 +27,6 @@ endef
|
||||
define TINYHTTPD_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/tinyhttpd/tinyhttpd.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/tinyhttpd.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/tinyhttpd.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/tinyhttpd.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
@ -41,9 +41,6 @@ endef
|
||||
define TRIGGERHAPPY_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 package/triggerhappy/triggerhappy.service \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/triggerhappy.service
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
ln -sf ../../../../usr/lib/systemd/system/triggerhappy.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/triggerhappy.service
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user