Bug 9363 - When setting Bitbake variables the value reflected to toaster.conf doesn't respect the specified whitespace
Summary: When setting Bitbake variables the value reflected to toaster.conf doesn't re...
Status: RESOLVED INVALID
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2
Assignee: Joshua Lock
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-31 13:12 UTC by Joshua Lock
Modified: 2016-04-07 09:49 UTC (History)
3 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 Joshua Lock 2016-03-31 13:12:20 UTC
In playing around with toaster I wanted to build an image based on core-image-lsb, but that requires PAM to be in DISTRO_FEATURES.

In my project configuration I added a bitbake variable: "DISTRO_FEATURES_append" and set the value to " pam" but the assignment in toaster.conf is:

DISTRO_FEATURES_append="pam"

As _append and _prepend are whitespace sensitive Toaster should support setting variables with leading or trailing whitespace.
Comment 1 Joshua Lock 2016-04-07 09:49:01 UTC
I'm unable to reproduce this in toaster-next…