1*4882a593Smuzhiyun# Fixtures directory 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunFixtures are data dumps that can be loaded into Toaster's database to provide 4*4882a593Smuzhiyunconfiguration and data. 5*4882a593Smuzhiyun 6*4882a593SmuzhiyunIn this directory we have the fixtures which are loaded the first time you start Toaster. 7*4882a593SmuzhiyunThis is to provide useful default values and metadata to Toaster. 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun - settings.xml This Contains Toaster wide settings, such as the default values for 10*4882a593Smuzhiyun certain bitbake variables. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun - poky.xml This is the default release data for supported poky based setup 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun - oe-core.xml This is the default release data for supported oe-core based setups 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun# Custom data/configuration 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun - custom.xml 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunTo add custom initial data/configuration to Toaster place a file called 21*4882a593Smuzhiyun"custom.xml" in this directory. If present it will be loaded into the database. 22*4882a593SmuzhiyunWe suggest that this is used to overlay any configuration already done. 23*4882a593SmuzhiyunAll objects loaded with the same primary keys overwrite the existing data. 24*4882a593SmuzhiyunData can be provided in XML, JSON and if installed YAML formats. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun# To load data at any point in time 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunUse the django management command manage.py loaddata <your fixture file> 29*4882a593SmuzhiyunFor further information see the Django command documentation at: 30*4882a593Smuzhiyunhttps://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-loaddata 31