Bug 9097 - Remove validation messages when layers checkout directory and build directory are correctly set
Summary: Remove validation messages when layers checkout directory and build directory...
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2 M4
Assignee: Michael Wood
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-11 10:54 UTC by Belen Barros Pena
Modified: 2016-10-06 14:17 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-02-11 10:54:56 UTC
When you set up Toaster, after the database is created, the toaster script prints the following messages:

-- Validation: The layers checkout directory must be set.
-- Validation: The build directory must be set.

Even when both directories are correctly set. 

The messages have been reported as "ominous" and, in any case, they should only be shown if the validation fails. It would be good to remove them when the directories are set correctly, in order to reduce noise and confusion.
Comment 1 Dave Lerner 2016-02-11 17:57:22 UTC
According to the 2.1 toaster manual, the TOASTER_DIR env variable is set automatically to the current directory, and only needs to be exported to set a  build or clone directory somewhere other than the current directory. 

Also, even after exporting TOASTER_DIR to the cloned poky directory, the messages still appear.
Comment 2 Michael Wood 2016-10-06 14:17:01 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/poky/atom/5e9b40556713dc41090497f3c3d9c6a8d6b83b59
These "validation" messages are shown regardless as to whether the
settings are being correctly set or not.
For the time being remove them.

[YOCTO #9097]

(Bitbake rev: c57f20f9cd7cb4ea4d285291a1e71e5df7152799)