| Summary: |
Toaster project mode: toaster is building only qemux86 images after a qemux86 build is done |
| Product: |
[Build System, Metadata & Runtime] Toaster
|
Reporter: |
Ionut Chisanovici <ionutx.chisanovici> |
| Component: |
toaster | Assignee: |
Alexandru Damian <alexandru.damian> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Ionut Chisanovici <ionutx.chisanovici> |
| Severity: |
major
|
|
|
| Priority: |
High
|
CC: |
alexandru.damian, belen.barros.pena, bluelightning, bogdanx.a.voiculescu, cristiana.voicu
|
| Version: |
1.8 | |
|
| Target Milestone: |
1.8 M2 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
Regression (Found by QA test)
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
| Attachments: |
|
Created attachment 2288 [details] wrong_core-image-minimal_genericx86-64 Hi, In a toaster project if user did a qemux86 build then toaster will build only qemux86 images despite the fact that user is changing the machine variable in project configurations to some other machine. Steps to verify: 1. Lunch toaster in project mode: bitbake/bin/toaster 2. As asked, import toasterconf.json from meta-yocto/conf/ 3. Create a new project named 'Test' 4. Do a core-image-minimal build with MACHINE="qemux84" 5. After build from step 4 is finished, change MACHINE var to "genericx86-64" in project configuration and save it. 6. Do a core-image-minimal build. See below and attached: sqlite> select * from orm_target_image_file; file_name = /home/ionut/work/weekly/poky/build/tmp/deploy/images/qemux86/core-image-sato-qemux86-20141209084212.rootfs.tar.bz2 target_id = 1 id = 1 file_size = 132896453 file_name = /home/ionut/work/weekly/poky/build/tmp/deploy/images/qemux86/core-image-sato-qemux86-20141209084212.rootfs.ext3 target_id = 1 id = 2 file_size = 520085504 file_name = /home/ionut/work/weekly/poky/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86-20141209101540.rootfs.ext3 target_id = 2 id = 3 file_size = 9223168 file_name = /home/ionut/work/weekly/poky/build/tmp/deploy/images/qemux86/core-image-minimal-qemux86-20141209101540.rootfs.tar.bz2 target_id = 2 id = 4 file_size = 2357893 sqlite> select * from orm_target where id=2; build_id = 2 target = core-image-minimal license_manifest_path = /home/ionut/work/weekly/poky/build/tmp/deploy/licenses/core-image-minimal-qemux86-20141209101540/ image_size = 0 is_image = 1 id = 2 sqlite> select * from orm_build where id=2; build_name = 201412091216 outcome = 0 completed_on = 2014-12-09 10:26:54.182048 warnings_no = 6 distro_version = 1.7 started_on = 2014-12-09 10:16:05.379436 machine = genericx86-64 project_id = 1 timespent = 648 bitbake_version = 1.25.0 cooker_log_path = /home/ionut/work/weekly/poky/build/tmp/log/cooker/genericx86-64/20141209101540.log errors_no = 0 id = 2 distro = poky sqlite> select * from bldcontrol_brvariable; id = 1 req_id = 1 name = MACHINE value = qemux86 id = 2 req_id = 1 name = DISTRO value = poky id = 3 req_id = 2 name = MACHINE value = genericx86-64 id = 4 req_id = 2 name = DISTRO value = poky sqlite> select * from bldcontrol_buildrequest; build_id = 1 updated = 2014-12-09 09:54:12.484849 environment_id = 1 created = 2014-12-09 08:42:10.665681 state = 3 project_id = 1 id = 1 build_id = 2 updated = 2014-12-09 10:26:54.185753 environment_id = 1 created = 2014-12-09 10:15:38.384166 state = 3 project_id = 1 id = 2 sqlite> select * from orm_project; updated = 2014-12-09 08:40:57.254928 release_id = 3 user_id = 2 name = test created = 2014-12-09 08:40:57.240226 short_description = bitbake_version_id = 3 id = 1 Cheers, Ionut C