Implement basic yocto build setup based on protos from jhnc-oss
This commit is contained in:
20
dev/init_env.sh
Executable file
20
dev/init_env.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user