[Toaster] YOCTO #9992

Brian Avery avery.brian at gmail.com
Tue Aug 9 17:33:43 PDT 2016


I took a swing at fixing this today and I'd appreciate comments. My change
kinda drastically alters the directory layout so we should see if we can
agree on it and I certainly need to test it more.

The branch is
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=bavery/toaster/9992-builddir-not-build

It does the following:
1) changes the directory structure:
   you end up with
BUILDDIR from oe-init-build-env
and TOASTER_DIR=$BUILDDIR/toaster
all toaster files go into this directory.

command line builds happen in BUILDDIR
toaster project builds happen in BUILDDIR/toaster/build-toaster-<id>

toaster log files, the sqlite database, _toaster_clones, all go into
 TOASTER_DIR=$BUILDDIR/toaster

The goal is to make it more contained and to be sure that we can write to
the dir.  for instance, if I am in /home/me and i do
./poky/oe-init-build-env .; . toaster start; toaster tries to write to
/home...

2) the results of runbuilds log goes into a
TOASTER_DIR/toaster_runbuilds.log
this way it won't spew stuff into where we try to do cli builds

Better ideas?

-b
an Intel employee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20160809/a4bad29e/attachment.html>


More information about the toaster mailing list