From 3b87f2895add3944bffa430e209446defed57afa Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Mon, 22 Aug 2016 16:42:32 +0100 Subject: 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 Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/orm/fixtures/oe-core.xml | 16 +++++++++------- bitbake/lib/toaster/orm/fixtures/poky.xml | 6 ++++++ bitbake/lib/toaster/orm/fixtures/settings.xml | 17 +++++++---------- 3 files changed, 22 insertions(+), 17 deletions(-) (limited to 'bitbake/lib/toaster/orm') diff --git a/bitbake/lib/toaster/orm/fixtures/oe-core.xml b/bitbake/lib/toaster/orm/fixtures/oe-core.xml index 9572ef6923..d062de57f6 100644 --- a/bitbake/lib/toaster/orm/fixtures/oe-core.xml +++ b/bitbake/lib/toaster/orm/fixtures/oe-core.xml @@ -1,17 +1,19 @@ + + + DEFCONF_DISTRO + nodistro + + master git://git.openembedded.org/bitbake master - bitbake HEAD - git://git.openembedded.org/bitbake - HEAD - bitbake @@ -43,15 +45,15 @@ openembedded-core - git://git.openembedded.org/openembedded-core 1 - 0 2 + OE-CORE-LAYER-DIR HEAD - HEAD + meta + 0 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 @@ + + + DEFCONF_DISTRO + poky + + master diff --git a/bitbake/lib/toaster/orm/fixtures/settings.xml b/bitbake/lib/toaster/orm/fixtures/settings.xml index 64a26f517b..78c0fdca7f 100644 --- a/bitbake/lib/toaster/orm/fixtures/settings.xml +++ b/bitbake/lib/toaster/orm/fixtures/settings.xml @@ -1,34 +1,31 @@ - + + DEFAULT_RELEASE master - + DEFCONF_PACKAGE_CLASSES package_rpm - + DEFCONF_MACHINE qemux86 - + DEFCONF_SSTATE_DIR ${TOPDIR}/../sstate-cache - + DEFCONF_IMAGE_INSTALL_append - + DEFCONF_IMAGE_FSTYPES ext3 jffs2 tar.bz2 - - DEFCONF_DISTRO - poky - DEFCONF_DL_DIR ${TOPDIR}/../downloads -- cgit v1.2.3-54-g00ecf