#!/bin/bash

source ./export

echo "Building image"
bitbake alteria-docker-os

echo "Enabling auto install"
FILE=/home/valonso/oe-core/build/deploy/images/verdin-imx8mp/image-alteria-docker-os.json
#FILE=/home/alteria/oe-core/build/deploy/images/verdin-imx8mp/image-core-image-minimal-dev.json
jq -c '.autoinstall = "true"' $FILE > tmp.$$.json && mv tmp.$$.json $FILE

# echo "Populating sdk"
# bitbake alteria-docker-os -c populate_sdk
