mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-04-13 18:12:01 +02:00
QuickFix: A quick fix to make sure the pre-installed skills can load.
This it temporarily till we go the full XDG compliant way.
This commit is contained in:
parent
f36b651595
commit
1f78a12c9d
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
/usr/sbin/resizeSD &&
|
/usr/sbin/resizeSD &&
|
||||||
|
/usr/sbin/gitstash &&
|
||||||
rm /etc/firstboot
|
rm /etc/firstboot
|
||||||
|
@ -13,6 +13,7 @@ FIRSTBOOT_SERVICE_LICENSE_FILES = LICENSE
|
|||||||
define FIRSTBOOT_SERVICE_INSTALL_TARGET_CMDS
|
define FIRSTBOOT_SERVICE_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 0755 $(@D)/resizeSD $(TARGET_DIR)/usr/sbin/
|
$(INSTALL) -m 0755 $(@D)/resizeSD $(TARGET_DIR)/usr/sbin/
|
||||||
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
$(INSTALL) -m 0755 $(@D)/firstboot $(TARGET_DIR)/usr/sbin/
|
||||||
|
$(INSTALL) -m 0755 $(@D)/gitstash $(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
|
||||||
touch $(TARGET_DIR)/etc/firstboot
|
touch $(TARGET_DIR)/etc/firstboot
|
||||||
|
12
buildroot-external/package/firstboot-service/gitstash
Executable file
12
buildroot-external/package/firstboot-service/gitstash
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
|
||||||
|
printf "Git stashing pre-installed skills ..."
|
||||||
|
cd /opt/mycroft/.skills-rep && git stash
|
||||||
|
cd /opt/mycroft/skills/skill-balena-wifi-setup && git stash
|
||||||
|
cd /opt/mycroft/skills/skill-ovos-enclosure && git stash
|
||||||
|
cd /opt/mycroft/skills/skill-ovos-mycroftgui && git stash
|
||||||
|
cd /opt/mycroft/skills/skill-ovos-pairing && git stash
|
||||||
|
chown -R mycroft.mycroft /opt/mycroft
|
||||||
|
echo "[OK]"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user