Bug 7248

Summary: Update config in toasterconf.json
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, ionutx.chisanovici, jessica.zhang
Version: unspecified   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 6895    

Description Belen Barros Pena 2015-01-23 17:28:59 UTC
Our default Toaster configuration should set the following variables:

   	"MACHINE"      : "qemux86", 
    	"DISTRO"       : "poky",
    	"IMAGE_FSTYPES": "ext3 jffs2 tar.bz2",
    	"IMAGE_INSTALL_append": "",
    	"PACKAGE_CLASSES": "package_rpm",
    	"SDKMACHINE"   : "x86_64"

For that, we need to update 

meta/conf/toasterconf.json
meta-yocto/conf/toasterconf.json

and the patch for the hosted version of the file 

https://wiki.yoctoproject.org/wiki/File:Toasterconf.json.txt.patch
Comment 2 Ionut Chisanovici 2015-03-18 08:33:38 UTC
Tested on the latest master: df0672b038e6942c97d266af9ca175a06f2b0423 but the configurations from the toasterconf.json are not loaded in toaster.

Steps to reproduce:

1. download Toasterconf.json.txt.patch from https://wiki.yoctoproject.org/wiki/File:Toasterconf.json.txt.patch
2. rename it to toasterconf.json
3. move the file to poky/meta-yocto/conf/ folder
4. start toaster in managed mode and instruct to load the config file from:

Toaster will list now the configuration files that it found. Select the number to use the desired configuration file.
  [1] - /home/ionut/work/poky_1.8/poky/meta-yocto/conf/toasterconf.json

  [0] - Exit without importing any file

 Enter your option: 1
Importing file: /home/ionut/work/poky_1.8/poky/meta-yocto/conf/toasterconf.json
Failure while trying to import the toaster config file: LayerSource matching query does not exist.

Cheers,
Ionut C
Comment 3 Belen Barros Pena 2015-03-25 14:17:40 UTC
Could you try again using the latest version of the file here:

https://wiki.yoctoproject.org/wiki/File:Toasterconf.json.txt.patch

The loadconf command must be run on a clean database. 

Thanks!
Comment 4 Mihail Stanciu 2015-03-31 13:13:43 UTC
(In reply to comment #3)
> Could you try again using the latest version of the file here:
> 
> https://wiki.yoctoproject.org/wiki/File:Toasterconf.json.txt.patch
> 
> The loadconf command must be run on a clean database. 
> 
> Thanks!

It works!

Tested on master: 5c76cebc24675edb3dff473fce9b67cedff615db
Comment 5 Belen Barros Pena 2015-03-31 14:15:42 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Could you try again using the latest version of the file here:
> > 
> > https://wiki.yoctoproject.org/wiki/File:Toasterconf.json.txt.patch
> > 
> > The loadconf command must be run on a clean database. 
> > 
> > Thanks!
> 
> It works!
> 
> Tested on master: 5c76cebc24675edb3dff473fce9b67cedff615db

Wondrous. Changing to resolved - fixed. Feel free to mark as verified :)

Thanks!
Comment 6 Mihail Stanciu 2015-03-31 14:16:56 UTC
Verified on master: 5c76cebc24675edb3dff473fce9b67cedff615db