Created
October 4, 2019 16:57
-
-
Save drewmoseley/b78db39db6a13f504cefce4e71056c36 to your computer and use it in GitHub Desktop.
IOT Yocto MQTT Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
repo init -u https://github.com/mendersoftware/meta-mender-community \ | |
-m meta-mender-raspberrypi/scripts/manifest-raspberrypi.xml -b thud | |
mkdir .repo/local_manifests/ | |
wget -P .repo/local_manifests/ https://raw.githubusercontent.com/drewmoseley/meta-iot-demo/master/templates/manifest-iot-extras.xml | |
repo sync | |
. setup-environment raspberrypi | |
bitbake-layers add-layer $(readlink -f ../sources/meta-iot-demo) | |
cat >> conf/auto.conf <<EOF | |
IMAGE_INSTALL_append = " iot-mqtt-demo " | |
ENABLE_UART = "1" | |
RPI_EXTRA_CONFIG = "lcd_rotate=2" | |
EOF | |
sleep 5 | |
time bitbake core-image-base |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment