21 lines
365 B
Bash
Executable File
21 lines
365 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
# Workaround for unsupported local manifest
|
|
mkdir _local
|
|
cd "${YOCTO_DIR}/_local"
|
|
cp "${YOCTO_DIR}/default.xml" .
|
|
git init -b master
|
|
git add .
|
|
git commit -m "local manifest"
|
|
cd - > /dev/null
|
|
|
|
repo --color=always init _local
|
|
repo sync --no-clone-bundle
|
|
rm -rf "${YOCTO_DIR}/_local"
|
|
|
|
source poky/oe-init-build-env
|
|
|
|
exec /bin/bash
|