1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

MycroftOS: Implementation of a very first initial bootable version

- Add Buildroot patches to downgrade / upgrade package dependencies
  in line with the Mycroft A.I. software stack requirements.
- Add buildroot additional package dependencies in line with the
  Mycroft A.I. software stack requirements.
- Update rpi3 defconfig file.
- Implement initial root_fs overlay filestructure.
- Addition of some quick and dirty helper scripts.
- Update of README to reflect these changes.
This commit is contained in:
Peter Steenbergen
2018-10-30 15:55:12 +01:00
parent b68a2beb9e
commit 55846e484a
209 changed files with 2282 additions and 36 deletions

View File

@@ -0,0 +1,25 @@
From 28a9ff65a9b71ad70b906d688b7b2f593ea108cc Mon Sep 17 00:00:00 2001
From: Peter Steenbergen <info@j1nx.nl>
Date: Fri, 5 Oct 2018 09:42:55 +0200
Subject: [PATCH 1/1] Enforce UTF8 encoding
---
mycroft/dialog/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mycroft/dialog/__init__.py b/mycroft/dialog/__init__.py
index 59b4a44a0d..59c521b929 100644
--- a/mycroft/dialog/__init__.py
+++ b/mycroft/dialog/__init__.py
@@ -45,7 +45,7 @@ class MustacheDialogRenderer(object):
template_name (str): a unique identifier for a group of templates
filename (str): a fully qualified filename of a mustache template.
"""
- with open(filename, 'r') as f:
+ with open(filename, 'r', encoding='utf-8') as f:
for line in f:
template_text = line.strip()
if template_name not in self.templates:
--
2.11.0

View File

@@ -0,0 +1,23 @@
From 93b3e606dddd93e8346da265a1751ecb546c882b Mon Sep 17 00:00:00 2001
From: Peter Steenbergen <info@j1nx.nl>
Date: Sat, 13 Oct 2018 10:50:06 +0200
Subject: [PATCH 1/1] Force USER config path.
---
mycroft/configuration/locations.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mycroft/configuration/locations.py b/mycroft/configuration/locations.py
index 0759152f99..3666ac5dfa 100644
--- a/mycroft/configuration/locations.py
+++ b/mycroft/configuration/locations.py
@@ -15,5 +15,5 @@ from os.path import join, dirname, expanduser
DEFAULT_CONFIG = join(dirname(__file__), 'mycroft.conf')
SYSTEM_CONFIG = '/etc/mycroft/mycroft.conf'
-USER_CONFIG = join(expanduser('~'), '.mycroft/mycroft.conf')
+USER_CONFIG = '/.mycroft/mycroft.conf'
REMOTE_CONFIG = "mycroft.ai"
--
2.11.0

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_MYCROFT
bool "python-mycroft"
help
Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai/

View File

@@ -0,0 +1,3 @@
sha256 90255931a864a4abe30f28c470009cf798dc72221cab16ba41712d80b19e28e4 python-mycroft-v18.8.1.tar.gz
sha256 af18bd9ee1c6e3bbc6b424af39b352179d05fc337d04573eadba37b01f7105f6 python-mycroft-v18.8.2.tar.gz
sha256 25c583e40e888a99ea6fb0817960952bc26dcf8facf87f77f3363ac0c3c3b9d9 python-mycroft-v18.8.3.tar.gz

View File

@@ -0,0 +1,12 @@
################################################################################
#
# python-mycroft
#
################################################################################
PYTHON_MYCROFT_VERSION = v18.8.3
PYTHON_MYCROFT_SITE = $(call github,MycroftAI,mycroft-core,release/$(PYTHON_MYCROFT_VERSION))
PYTHON_MYCROFT_SETUP_TYPE = setuptools
PYTHON_MYCROFT_LICENSE_FILES =
$(eval $(python-package))