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

6
scripts/br-patches.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
for patch_file in buildroot-patches/*; do
patch -d buildroot/ -p1 < ${patch_file};
done

14
scripts/build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
all_platforms=(rpi3)
for platform in "${all_platforms[@]}"; do
# make -C buildroot BR2_EXTERNAL=../buildroot-external distclean
# make -C buildroot BR2_EXTERNAL=../buildroot-external mycroftos_${platform}_defconfig
# Optional if you need to change stuff, uncomment the next line.
# make -C buildroot BR2_EXTERNAL=../buildroot-external makemenuconfig
make -C buildroot BR2_EXTERNAL=../buildroot-external 2>&1 | tee logs/buildroot_output.txt
cp -f buildroot/output/images/sdcard.img release/MycroftOS_${platform}.img
done