Files
poky/bitbake/lib/toaster/orm/fixtures
brian avery 4b94b498e2 bitbake: toaster: Update default release to Morty
Set Morty to be the default release in toaster for the Morty release
when creating new projects.

(Bitbake rev: 00f79096f639ce3a9c0b7c72cfb36f14e264733d)

Signed-off-by: brian avery <brian.avery@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-15 13:21:54 +01:00
..
2016-08-11 00:09:26 +01:00

Fixtures directory

Fixtures are data dumps that can be loaded into Toaster's database to provide configuration and data.

In this directory we have the fixtures which are loaded the first time you start Toaster. This is to provide useful default values and metadata to Toaster.

  • settings.xml This Contains Toaster wide settings, such as the default values for certain bitbake variables.

  • poky.xml This is the default release data for supported poky based setup

  • oe-core.xml This is the default release data for supported oe-core based setups

Custom data/configuration

  • custom.xml

To add custom initial data/configuration to Toaster place a file called "custom.xml" in this directory. If present it will be loaded into the database. We suggest that this is used to overlay any configuration already done. All objects loaded with the same primary keys overwrite the existing data. Data can be provided in XML, JSON and if installed YAML formats.

To load data at any point in time

Use the django management command manage.py loaddata For further information see the Django command documentation at: https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-loaddata