mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
fb097550fd
Mycroft is an open source speech assistant. It traditionally runs inside Python virtual env and installs all of the pip and native packages and programs that is needs at setup. This generally includes a native gcc build for some of the binaries in the pip packages. This patch adds Mycroft support and edits the source to remove the Python venv usage so we can just run in standard Python world. This allows us to use the preinstalled Python packages where avaliable and avoid installing too much on the target at runtime. At the moment we still require a few simple Python packages to be installed but we don't requrie any target compilation. Hopefully in the future we can remove all of the runtime install requirements by adding all the Python packages to the rootFS pre-boot and setting up the other files/directories as required during the build process. This patch also adds two systemd services. The first will setup mycroft on boot, the second will start the mycroft voice assistant. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
919 B
Diff
32 lines
919 B
Diff
From 7fc38ae0dec30789fa0d365f1764f4950b700a98 Mon Sep 17 00:00:00 2001
|
|
From: Alistair Francis <alistair.francis@wdc.com>
|
|
Date: Tue, 2 Apr 2019 16:52:44 -0700
|
|
Subject: [PATCH 5/5] dev_setup.sh: Remove the test setup dependency
|
|
|
|
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
|
|
---
|
|
dev_setup.sh | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/dev_setup.sh b/dev_setup.sh
|
|
index c6aa783e1ef..bcfaa0c16c2 100755
|
|
--- a/dev_setup.sh
|
|
+++ b/dev_setup.sh
|
|
@@ -353,10 +353,6 @@ if ! pip3 install -r requirements.txt ; then
|
|
fi
|
|
fi
|
|
|
|
-if ! pip3 install -r test-requirements.txt ; then
|
|
- echo "Warning test requirements wasn't installed, Note: normal operation should still work fine..."
|
|
-fi
|
|
-
|
|
SYSMEM=$( free | awk '/^Mem:/ { print $2 }' )
|
|
MAXCORES=$(($SYSMEM / 512000))
|
|
MINCORES=1
|
|
--
|
|
2.21.0
|
|
|