2019-02-04 12:55:48 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-service
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
MYCROFT_SERVICE_VERSION = 0.1.0
|
2020-10-06 21:23:38 +02:00
|
|
|
MYCROFT_SERVICE_SITE = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-service
|
2019-02-04 12:55:48 +01:00
|
|
|
MYCROFT_SERVICE_SITE_METHOD = local
|
|
|
|
MYCROFT_SERVICE_LICENSE = Apache License 2.0
|
|
|
|
MYCROFT_SERVICE_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
define MYCROFT_SERVICE_INSTALL_TARGET_CMDS
|
2021-04-05 20:15:47 +02:00
|
|
|
mkdir -p $(TARGET_DIR)/home/mycroft/.local/share/systemd
|
|
|
|
$(INSTALL) -m 0755 $(@D)/mycroft-systemd_audio.py \
|
|
|
|
$(TARGET_DIR)/home/mycroft/.local/share/systemd/mycroft-systemd_audio.py
|
|
|
|
$(INSTALL) -m 0755 $(@D)/mycroft-systemd_enclosure.py \
|
|
|
|
$(TARGET_DIR)/home/mycroft/.local/share/systemd/mycroft-systemd_enclosure.py
|
|
|
|
$(INSTALL) -m 0755 $(@D)/mycroft-systemd_messagebus.py \
|
|
|
|
$(TARGET_DIR)/home/mycroft/.local/share/systemd/mycroft-systemd_messagebus.py
|
|
|
|
$(INSTALL) -m 0755 $(@D)/mycroft-systemd_skills.py \
|
|
|
|
$(TARGET_DIR)/home/mycroft/.local/share/systemd/mycroft-systemd_skills.py
|
|
|
|
$(INSTALL) -m 0755 $(@D)/mycroft-systemd_voice.py \
|
|
|
|
$(TARGET_DIR)/home/mycroft/.local/share/systemd/mycroft-systemd_voice.py
|
|
|
|
|
2019-02-04 12:55:48 +01:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft.service
|
2019-12-21 18:54:56 +01:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-messagebus.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-messagebus.service
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-audio.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-audio.service
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-voice.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-voice.service
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-enclosure.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-enclosure.service
|
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-skills.service \
|
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-skills.service
|
2020-06-01 15:41:14 +02:00
|
|
|
$(INSTALL) -D -m 644 $(@D)/mycroft-gui.service \
|
2020-05-17 17:38:09 +02:00
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-gui.service
|
2019-02-04 12:55:48 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|