Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Automate build environment #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Automate build environment #1

wants to merge 6 commits into from

Conversation

JochiPochi
Copy link

@JochiPochi JochiPochi commented Oct 15, 2016

The modifications to the manifest file were inspired by that of the Freescale community BSP.

https://github.com/Freescale/fsl-community-bsp-platform

The script setup-environment ensures that both local.conf and bblayers.conf are set up correctly and it automatically updates to the latest version every time it runs. This ensures that a user can set up a build environment with less steps and with a lot less margin for error.
setup-environment lives on meta-intel-aero and it is meant to be used along side the following PR:
intel-aero/meta-intel-aero#10

At the moment, there is an extra commit "Temp commit for testing" that should be removed before merging.
In order to test this PR, simply execute the following commands:

mkdir cyphy-aero
cd cyphy-aero
repo init -u https://github.com/cyphyworks/intel-aero-manifest.git
repo sync
source setup-environment integration-test1
bitbake *** anything you want ***

Make sure that the environmental variable TEMPLATECONF is not set. as it will cause the configuration to fail.

@JochiPochi
Copy link
Author

Hey @intel-aero, I noticed you guys added a new default.xml not too long ago. Is there anything on this PR that would be useful to you or should I close it?

@lucasdemarchi
Copy link
Collaborator

Thanks, @JochiPochi. I think it's very useful and improves the workflow a lot. Can you rebase this PR?

@JochiPochi
Copy link
Author

Sure thing!

@lucasdemarchi
Copy link
Collaborator

@JochiPochi do you think you can update this soon? We are going to do a release next week and it would be good to have it in.

@JochiPochi
Copy link
Author

JochiPochi commented Mar 31, 2017

I'm in the middle of testing. I'll be done by the end of the day.

@JochiPochi
Copy link
Author

I encountered a minor error while testing, so this is delaying me a little bit, but I'm working on it. I'll keep you posted.

@JochiPochi
Copy link
Author

@lucasdemarchi I'm testing again now that #10 seems resolved. I'll let you know once this is good for review again.

JochiPochi added 4 commits April 3, 2017 19:10
The projects that don't have a revision with them will use the default revision
introduced previously:
<default sync-j="4" revision="*******"/>

This simplifies upgrading the manifest file if the projects are tagged properly.
@JochiPochi
Copy link
Author

JochiPochi commented Apr 3, 2017

My last test is still ongoing, I synced, rebased and everything is happy now.
There is one extra commit "Temp commit for testing" that would like to remove if everything else looks good. You can also give this work a test if you want, I'll be updating the PR description with instructions on how to test in a minute.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants