mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
ofono: enable systemd service by default
Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
38ca883965
commit
a510faf846
@ -26,6 +26,12 @@ define OFONO_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/ofono/S46ofono $(TARGET_DIR)/etc/init.d/S46ofono
|
||||
endef
|
||||
|
||||
define OFONO_INSTALL_INIT_SYSTEMD
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/systemd/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/ofono.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
OFONO_CONF_OPTS += --enable-udev
|
||||
OFONO_DEPENDENCIES += udev
|
||||
|
Loading…
Reference in New Issue
Block a user