summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-08-02 14:19:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-11 00:09:26 +0100
commitf4e65d1cd0ee4e847d286aa88639d7aac5bff094 (patch)
tree6cdb31fabad34f345b13b82d611571495331abbc /bitbake
parent71f553b0227a3f36fe5b8d0f536b04b3c13eb2d7 (diff)
downloadpoky-f4e65d1cd0ee4e847d286aa88639d7aac5bff094.tar.gz
bitbake: toaster: fixtures Add README
Add README to explain fixtures directory (Bitbake rev: 4060776e408ec6baec3bafba79ac5db1bc380f01) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/orm/fixtures/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/fixtures/README b/bitbake/lib/toaster/orm/fixtures/README
new file mode 100644
index 0000000000..1b1c660aac
--- /dev/null
+++ b/bitbake/lib/toaster/orm/fixtures/README
@@ -0,0 +1,30 @@
1# Fixtures directory
2
3Fixtures are data dumps that can be loaded into Toaster's database to provide
4configuration and data.
5
6In this directory we have the fixtures which are loaded the first time you start Toaster.
7This is to provide useful default values and metadata to Toaster.
8
9 - settings.xml This Contains Toaster wide settings, such as the default values for
10 certain bitbake variables.
11
12 - poky.xml This is the default release data for supported poky based setup
13
14 - oe-core.xml This is the default release data for supported oe-core based setups
15
16# Custom data/configuration
17
18 - custom.xml
19
20To add custom initial data/configuration to Toaster place a file called
21"custom.xml" in this directory. If present it will be loaded into the database.
22We suggest that this is used to overlay any configuration already done.
23All objects loaded with the same primary keys overwrite the existing data.
24Data can be provided in XML, JSON and if installed YAML formats.
25
26# To load data at any point in time
27
28Use the django management command manage.py loaddata <your fixture file>
29For further information see the Django command documentation at:
30https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-loaddata