Age | Commit message (Collapse) | Author |
|
This repository is depreciated and is no longer maintained so we should
archive it and make note that development for crops is currently at
https://github.com/crops
Signed-off-by: Eilís Ní Fhlannagáin <pidge@baylibre.com>
|
|
This file contains some basic tests for runbitbake.py. Yes one of the
tests actually runs runbitbake.py, but since bitbake itself is stubbed
out, the test is still being treated as a unit test.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
|
|
Having the "app" code only be called when runbitbake.py isn't imported as a
module allows for actually importing the module without errors.
This is useful for testing.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
|
|
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
|
|
The code that would restore the local.conf file to its original form was
removed when bblayers.conf support was added.
Also if an exception had been generated, the tempdir with the backup of
the conffiles would always be deleted.
This change fixes those broken behaviors.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
|
|
If any of the packages we are installing has a dependency which was
updated in the upstream Debian repository. The install will fail with
unsatisfied dependency unless we upgrade the base image.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
We are copying files from directories which are in the parent directory of
dockerfiles.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
runbitbake.py: fix the way the extra layers and configurations are appended
startOstroScript.sh: fix image copying code,add extralayers argument
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
Add args so we can pass in additional layers that get added to bblayers.conf
Changed method to just adding --extra lines to ends of the respective files
Signed-off-by: bavery <brian.avery@intel.com>
|
|
change to crops/ostro:xxx for name
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
change to crops/ostro:builder
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
change to crops/ostro and point to crops/crops github for raw pull of ostro-bitbake
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
copy images to ostro-shared/images folder
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
changed name to crops/ostro and source from crops/ostro:deps
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
added sudo and rsync
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
1) put sstate and images back inside the container to work around windows issues
2) added rm_work by default to limit space consumption
3) fixed bbdiskmon to be correct.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
make sure the shared directory exists before launching the container.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
right repo.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
1) dont pull ostro.conf, the container will do that for us.
2) put bibake.ostro in ~/.crops and append ~/.crops to path.
3) update Example to match new ostro-image-noswupd
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
all of the complicated arguments to runbitbake.py is now
in the startOstroScript.sh. This just passes bitbake args.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
add a script to build the ostro containers
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
1) sets up a yoctobuilder dynamic user that matches the uid
of the shared dir
2) puts an ostro.conf into the shared folder if one isn't there
3) runs the runbitbake.py script using sudo as the yoctobuilder
dynamic user
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
1) move scratch dir to /ostro
2) COPY helper files rather than pulling them from
github
3) COPY an ostro.conf into the container
4) change the entrypoint to startOstroScript.sh
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
1)add sudo so we can run commands as other users
2)stay as root and don't make the yoctobuilder user
in the dockerfile, yoctobuilder user will be set
up by the script
3) change default /bin/sh to bash from dash
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
bitbake monitors the sstate-cache disk and doesn't like the
inode info from the shared host folder. This allows us to ignore it.
Signed-off-by: brian avery <brian.avery@intel.com>
|
|
When launching the container, use the cwd to bind mount for ostro.conf
and for the sstate/downloads/deploy directories.
Also, change the main work directory to /ostro in preparation for making
the build user on the fly.
Signed-off-by: bavery <avery.brian@gmail.com>
|
|
Ostro stops the build if your git hasn't been patched so move to debian:jessie as a base.
Signed-off-by: bavery <avery.brian@gmail.com>
|
|
The sstate and downloads folders are stored on the host so less
space can be used in the Docker toolbox VM.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
add soft links to that we can access gdb for the various architecures
without complicated paths
Signed-off-by: bavery <brian.avery@intel.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
clean up intro comments
Signed-off-by: bavery <brian.avery@intel.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
The installer will download the ostro-os bitbake Docker image and
install the required utilities for running an ostro bitbake build.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
This Dockerfile installs the dependencies required to run bitbake builds
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
This wrapper creates an ostro-os bitbake build container and runs a
bitbake build in it. The results of the build can be found in
$HOME/ostro-workspace/shared/images.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
The values in this config file will be appended to the local.conf found
in the build directory.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Update CROPS project description and add instructions for using CROPS
with Zephyr OS and generic toolchains.
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
CROPS needs docker installed in order to work. If docker isn't
installed we give a pointer to where to get it.
Signed-off-by: brian avery <avery.brian@gmail.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: brian avery <avery.brian@gmail.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
Signed-off-by: brian avery <avery.brian@gmail.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|
|
docker logs <debug_container_id> will show the codi debug output
Signed-off-by: bavery <brian.avery@intel.com>
Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
|