Change to own pairing skill and make sure MSM doesn't hang on very first boot.

Mycroft doesn't continue if the repo skill doesn't get fetched which
obviously can't be fetch without network. So include a local copy
of the skills-repo so at least it doesn't stall the boot.
This commit is contained in:
j1nx 2021-01-04 20:57:46 +01:00
parent b7f5b9ebee
commit 3eb157a4fa
6 changed files with 21 additions and 5 deletions

10
.gitmodules vendored
View File

@ -17,3 +17,13 @@
path = buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-balena-wifi-setup
url = https://github.com/OpenVoiceOS/skill-balena-wifi-setup.git
branch = master
[submodule "skill-ovos-pairing"]
path = buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-ovos-pairing
url = https://github.com/OpenVoiceOS/skill-ovos-pairing.git
branch = master
[submodule "mycroft-skills"]
path = buildroot-external/rootfs-overlay/opt/mycroft/.skills-repo
url = https://github.com/MycroftAI/mycroft-skills.git
branch = 20.08

View File

@ -31,3 +31,9 @@ BOARD_DIR="$(dirname $0)"
cp -f ../buildroot-external/board/raspberrypi/config.txt ${BINARIES_DIR}/rpi-firmware/config.txt
cp -f ../buildroot-external/board/raspberrypi/cmdline.txt ${BINARIES_DIR}/rpi-firmware/cmdline.txt
cp -fr ../buildroot-external/rootfs-overlay/opt/mycroft/.skills-repo/.git* ${TARGET_DIR}/opt/mycroft/.skills-repo/
cp -fr ../buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-balena-wifi-setup/.git* ${TARGET_DIR}/opt/mycroft/skills/skill-balena-wifi-setup/
cp -fr ../buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-ovos-enclosure/.git* ${TARGET_DIR}/opt/mycroft/skills/skill-ovos-enclosure/
cp -fr ../buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-ovos-mycroftgui/.git* ${TARGET_DIR}/opt/mycroft/skills/skill-ovos-mycroftgui/
cp -fr ../buildroot-external/rootfs-overlay/opt/mycroft/skills/skill-ovos-pairing/.git* ${TARGET_DIR}/opt/mycroft/skills/skill-ovos-pairing/

View File

@ -20,7 +20,8 @@
"pulse_duck": true
},
"skills": {
"priority_skills": ["skill-ovos-enclosure", "skill-ovos-mycroftgui", "skill-balena-wifi-setup", "mycroft-pairing"]
"blacklisted_skills": ["mycroft-pairing.mycroftai"],
"priority_skills": ["skill-ovos-enclosure", "skill-ovos-mycroftgui", "skill-balena-wifi-setup", "skill-ovos-pairing"]
},
"log_level": "INFO"
}

View File

@ -1,5 +1,2 @@
d /var/log/mycroft 700 mycroft mycroft
z /opt/mycroft 755 mycroft mycroft
Z /opt/mycroft/skills 755 mycroft mycroft
Z /opt/mycroft/splash 755 mycroft mycroft
Z /opt/mpd 755 mycroft mycroft
Z /opt/mycroft 755 mycroft mycroft

@ -0,0 +1 @@
Subproject commit c803a3dcaaf69247fbcdc8b67d26bbce5f018936

@ -0,0 +1 @@
Subproject commit 3d8c2d535c50b0ab256e2abe836311801be91c7a