aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-10-19crops: Archive crops repositoryHEADmasterEilís Ní Fhlannagáin
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>
2016-04-29test_runbitbake.py: Add this test fileRandy Witt
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>
2016-04-29runbitbake.py: Put everything in a __main__ wrapperRandy Witt
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>
2016-04-29runbitbake.py: Fix the PEP8 violationsRandy Witt
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
2016-04-29runbitbake.py: Fix bug where conffiles weren't restored to originalsRandy Witt
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>
2016-04-26dockerfiles: upgrade the base image before installing packagesTodor Minchev
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>
2016-04-26dockerfiles: set build context to parent directoryTodor Minchev
We are copying files from directories which are in the parent directory of dockerfiles. Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-04-25 confs: add ostro.layers file as a samplebrian avery
Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-25 helpers: fix startup bugs in image copying code and layer addition codebrian avery
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>
2016-04-24 helpers: runbitbake.pybavery
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>
2016-04-22 scripts:build_containers.ostrobrian avery
change to crops/ostro:xxx for name Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-22 scripts: bitbake.ostrobrian avery
change to crops/ostro:builder Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-22 installers:ostro-installer.shbrian avery
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>
2016-04-22 helpers:startOstroScript.shbrian avery
copy images to ostro-shared/images folder Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-22 dockerfiles: Dockerfile.ostrobrian avery
changed name to crops/ostro and source from crops/ostro:deps Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-22 dockerfiles: Dockerfile.ostro.depsbrian avery
added sudo and rsync Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-22 confs: ostro.confbrian avery
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>
2016-04-13 scripts: bitbake.ostrobrian avery
make sure the shared directory exists before launching the container. Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-13 confs: update ostro.conf to use /ostro/ostro-shared as shared folderbrian avery
Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-13 temporary changes for external testing until we get everything in the ↵brian avery
right repo. Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-13 installers: change ostro installerbrian avery
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>
2016-04-13 scripts: bibake.ostrobrian avery
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>
2016-04-13 .dockerignore: exclude .git from dockerfile context.brian avery
Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-13 scripts: build_containers.ostrobrian avery
add a script to build the ostro containers Signed-off-by: brian avery <brian.avery@intel.com>
2016-04-13 helpers: add startOstroScript.shbrian avery
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>
2016-04-13 dockerfiles: major changes to ostro builderbrian avery
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>
2016-04-13 dockerfiles: add sudo and don't make user from dockerfilebrian avery
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>
2016-04-13 confs: add BB_DISKMON_DIRS to deal with inode shared host issuebrian avery
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>
2016-04-13 scripts: allow any dir to be used to do the ostro buildbavery
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>
2016-04-13 Dockerfile: ostro checks for git cve fix so move to jessiebavery
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>
2016-04-01confs: store ostro sstate and downloads on the hostTodor Minchev
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>
2016-04-01dockerfiles: add soft links to gdb for all target architecturesbavery
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>
2016-04-01scripts: build_containersbavery
clean up intro comments Signed-off-by: bavery <brian.avery@intel.com> Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-04-01installers: add installer for configuring ostro-os build environmentTodor Minchev
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>
2016-04-01dockerfiles: add Dockerfile for building ostro-os bitbake builder imageTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-04-01dockerfiles: add Dockerfile for building ostro-os bitbake dependenciesTodor Minchev
This Dockerfile installs the dependencies required to run bitbake builds Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-04-01scripts: add bitbake wrapper for ostro-os buildsTodor Minchev
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>
2016-04-01conf: add default extra config for ostro-osTodor Minchev
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>
2016-03-31helpers: add bitbake wrapper scriptRandy Witt
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-18installers: add gdb wrapper script to Zephyr installerTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-18scripts: add gdb wrapper scriptTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-18README: Update READMETodor Minchev
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>
2016-03-18installer: moved platform check to top of script so we only do it oncebrian avery
Signed-off-by: brian avery <brian.avery@intel.com> Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-18installer: added a check for docker installationbrian avery
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>
2016-03-18installer: install ceed for macTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-18installer: pass codi ip address to ceed on Windows and MacTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-03-01installer: add a universal crops installer for Zephyr buildsTodor Minchev
Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-02-26travis: force docker version to be 1.10brian avery
Signed-off-by: brian avery <avery.brian@gmail.com> Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-02-26travis: add docker version so we know what we are running onbrian avery
Signed-off-by: brian avery <avery.brian@gmail.com> Reviewed-by: Todor Minchev <todor.minchev@linux.intel.com>
2016-02-26tests: add a codi debug container (testdebug)bavery
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>