diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-08-22 16:42:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-02 18:09:50 +0100 |
commit | 3b87f2895add3944bffa430e209446defed57afa (patch) | |
tree | 61ec896a5586b87cffb374c51d567c5b953112c5 /bitbake/lib/toaster/orm/fixtures/poky.xml | |
parent | 50a8d3a34ca89862b41fbe27f87bbe85a772db8b (diff) | |
download | poky-3b87f2895add3944bffa430e209446defed57afa.tar.gz |
bitbake: toaster: Fix oe-core fixture
Due to a copy paste error we managed to get some of the wrong
information in the oe fixture that provides a suggested default settings
for Toaster. This meant it tested correctly when it shouldn't have.
Fix:
- The use of local bitbake
- An incorrect call to realpath which didn't include its parent module.
- The field used for the local_dir of an existing openembedded-core
(Bitbake rev: d57a9124650e5367919668dfccf6aad4962a77f1)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/orm/fixtures/poky.xml')
-rw-r--r-- | bitbake/lib/toaster/orm/fixtures/poky.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/fixtures/poky.xml b/bitbake/lib/toaster/orm/fixtures/poky.xml index 373e43d81d..75a29168ea 100644 --- a/bitbake/lib/toaster/orm/fixtures/poky.xml +++ b/bitbake/lib/toaster/orm/fixtures/poky.xml | |||
@@ -1,5 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <django-objects version="1.0"> | 2 | <django-objects version="1.0"> |
3 | <!-- Set the project default value for DISTRO --> | ||
4 | <object model="orm.toastersetting" pk="1"> | ||
5 | <field type="CharField" name="name">DEFCONF_DISTRO</field> | ||
6 | <field type="CharField" name="value">poky</field> | ||
7 | </object> | ||
8 | |||
3 | <!-- Bitbake versions which correspond to the metadata release --> | 9 | <!-- Bitbake versions which correspond to the metadata release --> |
4 | <object model="orm.bitbakeversion" pk="1"> | 10 | <object model="orm.bitbakeversion" pk="1"> |
5 | <field type="CharField" name="name">master</field> | 11 | <field type="CharField" name="name">master</field> |