mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-03-28 01:10:23 +01:00
MycroftOS: Remove all systemd (enabled) symlinks in the external packages
This commit is contained in:
parent
b4050b329e
commit
e01eb0368b
buildroot-external/package
firstboot-service
hostname-service
mycroft-service
mycroft-splash
prepare_system-service
respeaker
@ -15,9 +15,6 @@ define FIRSTBOOT_SERVICE_INSTALL_TARGET_CMDS
|
|||||||
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
||||||
$(INSTALL) -D -m 644 $(@D)/firstboot.service \
|
$(INSTALL) -D -m 644 $(@D)/firstboot.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/firstboot.service
|
$(TARGET_DIR)/usr/lib/systemd/system/firstboot.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/firstboot.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/firstboot.service
|
|
||||||
touch $(TARGET_DIR)/etc/firstboot
|
touch $(TARGET_DIR)/etc/firstboot
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@ HOSTNAME_SERVICE_LICENSE_FILES = LICENSE
|
|||||||
define HOSTNAME_SERVICE_INSTALL_TARGET_CMDS
|
define HOSTNAME_SERVICE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D -m 644 $(@D)/hostname.service \
|
$(INSTALL) -D -m 644 $(@D)/hostname.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/hostname.service
|
$(TARGET_DIR)/usr/lib/systemd/system/hostname.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/hostname.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/hostname.service
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -23,19 +23,6 @@ define MYCROFT_SERVICE_INSTALL_TARGET_CMDS
|
|||||||
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-enclosure.service
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-enclosure.service
|
||||||
$(INSTALL) -D -m 644 $(@D)/mycroft-skills.service \
|
$(INSTALL) -D -m 644 $(@D)/mycroft-skills.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-skills.service
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-skills.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft.service
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft-messagebus.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft-messagebus.service
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft-audio.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft-audio.service
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft-voice.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft-voice.service
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft-enclosure.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft-enclosure.service
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/mycroft-skills.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mycroft-skills.service
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -13,15 +13,9 @@ MYCROFT_SPLASH_AUTORECONF = YES
|
|||||||
define MYCROFT_SPLASH_INSTALL_INIT_SYSTEMD
|
define MYCROFT_SPLASH_INSTALL_INIT_SYSTEMD
|
||||||
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/mycroft-splash-start.service \
|
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/mycroft-splash-start.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-start.service
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-start.service
|
||||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
|
||||||
ln -sf ../../../../usr/lib/systemd/system/mycroft-splash-start.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
|
|
||||||
|
|
||||||
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/mycroft-splash-quit.service \
|
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/mycroft-splash-quit.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-quit.service
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-quit.service
|
||||||
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
||||||
ln -sf ../../../../usr/lib/systemd/system/mycroft-splash-quit.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define MYCROFT_SPLASH_CHANGE_IMAGE
|
define MYCROFT_SPLASH_CHANGE_IMAGE
|
||||||
|
@ -14,9 +14,6 @@ define PREPARE_SYSTEM_SERVICE_INSTALL_TARGET_CMDS
|
|||||||
$(INSTALL) -m 0755 $(@D)/prepare_system $(TARGET_DIR)/usr/sbin/
|
$(INSTALL) -m 0755 $(@D)/prepare_system $(TARGET_DIR)/usr/sbin/
|
||||||
$(INSTALL) -D -m 644 $(@D)/prepare_system.service \
|
$(INSTALL) -D -m 644 $(@D)/prepare_system.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/prepare_system.service
|
$(TARGET_DIR)/usr/lib/systemd/system/prepare_system.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/prepare_system.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/prepare_system.service
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
@ -14,9 +14,6 @@ $(eval $(kernel-module))
|
|||||||
define RESPEAKER_INSTALL_TARGET_CMDS
|
define RESPEAKER_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/respeaker/seeed-voicecard.service \
|
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/respeaker/seeed-voicecard.service \
|
||||||
$(TARGET_DIR)/usr/lib/systemd/system/seeed-voicecard.service
|
$(TARGET_DIR)/usr/lib/systemd/system/seeed-voicecard.service
|
||||||
mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
|
|
||||||
ln -fs ../../../../usr/lib/systemd/system/seeed-voicecard.service \
|
|
||||||
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/seeed-voicecard.service
|
|
||||||
|
|
||||||
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/respeaker/respeaker.conf \
|
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/respeaker/respeaker.conf \
|
||||||
$(TARGET_DIR)/etc/modules-load.d/respeaker.conf
|
$(TARGET_DIR)/etc/modules-load.d/respeaker.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user