Bug 11727

Summary: trim build target input
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: David Reyna <david.reyna>
Status: RESOLVED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium CC: jessica.zhang, poky.bs.watcher, poky.watcher, stanciux.mihail
Version: 2.4   
Target Milestone: 2.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description David Reyna 2017-06-27 22:09:06 UTC
If there is a dangling space in the entered built target, for example "quilt-native ", the build is labled "+1" and the resulting build summary shows ", quilt-native qemux86".

In addition, if a simple space character is entered, Toaster gets confused by the response from bitbake and the progress is frozen until the build is cancelled.

This input needs to be at a minimum trimmed.
Comment 1 David Reyna 2017-08-07 19:30:23 UTC
Commit a25ece2d77f28e71a71913ea25391bcbc8fa37e0