Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/osbuilder.py
Commit message (Collapse)AuthorAgeFilesLines
* Make environment available to kspost nochroot scriptsDaniel Drake2012-10-011-43/+57
| | | | | | | | | | | Generate the environment just once during the build process, and additionally dump it in shell format to a file. Load this file when executing nochroot scripts. Such scripts now have access to config settings, etc. The default interpreter was changed from sh to bash because shlib uses bashisms.
* Create build_shared directory earlyDaniel Drake2012-09-291-1/+4
| | | | | Promote the shared directory to a core directory and create it early, meaning that it can be used from all stages, including prepare.
* Introduce --cache-only boolean option, propagate to modulesMartin Langhoff2012-08-201-2/+17
| | | | | | | | Along the way, add basic support for handling boolean values in python and shell scripts in modules. [dsd: trivial tweaks: renamed to --cache-only, use variable presence in environment for boolean testing, add documentation]
* Specify modules through ini file sectionsDaniel Drake2012-03-211-12/+3
| | | | | | | | | | | Instead of listing all the modules in [global].modules, load all modules specified in the .ini file using [module] notation. This makes the config file format more friendly to making a build from various config files specified together, and avoids the annoying cases when you add a new [configuration section] but forget to add the module to the module list (not realising your mistake until after the build has completed).
* Accept multiple config filesDaniel Drake2012-03-071-22/+14
| | | | | | | Allow multiple config files to be specified on the command line. They will be parsed in the order specified. This replaces the additional-defaults functionality provided before.
* Adjust version checking to only check first 2 componentsDaniel Drake2011-03-111-2/+7
| | | | | We can now produce post-release releases containing small fixes to the build system, criteria documented in README.devel.
* Restrict parts glob to only catch interesting filesDaniel Drake2011-02-241-3/+4
| | | | | | Emacs swap files, orig/rej files were being processed. Based on work by Martin Langhoff.
* Ensure PATH includes /sbin and /usr/sbinMartin Langhoff2011-02-081-0/+5
| | | | | Running osbuilder under sudo sometimes means a overly-sanitized path, which can break scripts.
* v3.0.0_pre2Daniel Drake2011-01-261-1/+1
|
* Switch to SafeConfigParser (#10608)Daniel Drake2011-01-171-5/+5
| | | | | As suggested by Martin Langhoff, we should be using SafeConfigParser which is more predictable than the now-discouraged ConfigParser.
* Define oob_config_dir env var and interpolationMartin Langhoff2011-01-061-3/+8
| | | | | | | | | | | | | | | | | | | | Path references in the config file can now refer to %(oob_config_dir)s which resolves to the directory where the config file resides. Additionally, scripts will find $oob_config_dir defined in the environment. For example this will find a custom script in the same dir as the config file: [custom_scripts] custom_script_1=%(oob_config_dir)s/myscript.sh In a custom script, this will apply a patch in the same directory as the config file: patch $INSTALL_DIR/etc/foo < $oob_config_dir/foo.patch [dsd: minor tweak, add documentation]
* v3.0.0_pre1Daniel Drake2010-11-111-1/+1
|
* v1.2.0 releaseDaniel Drake2010-08-311-1/+1
| | | | This version was used to build OLPC OS 10.1.2 for XO-1 and XO-1.5
* v1.1.0 releaseDaniel Drake2010-07-071-1/+1
| | | | This version was used to build OLPC OS 10.1.1 for XO-1.5
* Allow modules to be selected by more than 1 configuration optionDaniel Drake2010-04-121-1/+14
| | | | | This means that the additional defaults file can be used to add modules to the list, without having to copy the whole list.
* Add additional defaults cfg mechanismDaniel Drake2010-04-121-3/+11
| | | | | This should allow Chris to specify OLPC-specific configuration (official=1, signing config) in a less annoying manner.
* Make system-installableDaniel Drake2009-12-231-7/+21
|
* Show which kspost-generated code is being executedDaniel Drake2009-12-221-1/+2
|
* Terminate part process on interruptDaniel Drake2009-12-221-3/+13
|
* Fix execution of parts with identical namesDaniel Drake2009-12-221-1/+1
|
* Initial importDaniel Drake2009-12-211-0/+380
Basic functionality is working, needs more testing and a comparison to the OLPC OS 10.1.0 release.