summaryrefslogtreecommitdiff
path: root/morphlib/plugins/graphing_plugin.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the graphing_plugin so it actually worksLars Wirzenius2013-09-231-3/+2
|
* Add morph cross-bootstrapSam Thursfield2013-07-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cross-bootstrap is a way to build baserock on an architecture that does not currently have Baserock. It can be used by `morph cross-bootstrap <ARCH> <REPO> <REF> <MORPH>`, and will build an artifact that can be used as a root filesystem with a basic build environment with a script named `native-bootstrap` which will build and install every chunk in the system. If done with a devel system, this will give you a suitable environment for building a proper Baserock system. This does not currently provide a kernel for the target architecture. Apart from adding the cross-bootstrap plugin, it also makes the following changes: * Moves the lit of valid_archs into morphlib (instead of locally-scoped in MorphologyFactory) * BuildCommand takes an extra argument, build_env * split BuildCommand's get_artifact_object into create_source_pool and resolve_artifacts (plus changes things that use get_artifact_object to use the new way) * setup_mounts finds out whether to do so by whether build_mode is 'staging', instead of by whether the setting 'staging-chroot' is true. * Makes ChunkBuilder's get_sources use the morphlib.builder2.extract_sources() method, and moved set_mtime_recursively into morphlib.builder2, since it's not currently used anywhere else. * moved ChunkBuilder's get_commands into the Morphology class (plus changes to anything that used get_commands)
* Improve docstring for "morph graph-build-depends"Lars Wirzenius2013-07-051-1/+29
|
* Replace builder order graph with just a single artifactLars Wirzenius2013-02-191-15/+15
| | | | | The artifact's build dependencies replace the build order graph from previously.
* Improve command descriptions in --helpSam Thursfield2012-10-261-0/+1
| | | | | Make sure all commands have one line of description, and reduce the size of some which had large amounts of text.
* Move BuildCommand from app into its own moduleRichard Maw2012-08-011-1/+1
| | | | | | | | morphlib.app should be for application bringup and providing command line options used by the library code. Any external plugins that refer to morphlib.app.BuildCommand will need fixing.
* Publicize _itertriplets and _create_source_poolRichard Maw2012-08-011-1/+1
| | | | | | | | | itertriplets and create_source_pool are more convenient than doing it manually, and since they need to be used by plugins, they shouldn't be private. The private name is kept as an alias so that external plugins that were poking at the internals for convenience aren't broken.
* python scripts: pep8ize codebaseRichard Maw2012-08-011-10/+10
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Fix test suiteLars Wirzenius2012-07-121-1/+2
| | | | Mea culpa. I managed to make changes without running ./check properly.
* Add graph-build-depends subcommandLars Wirzenius2012-07-121-0/+67