Bug 4348

Summary: The DESCRIPTION doesn't support "\n"
Product: [Build System, Metadata & Runtime] BitBake Reporter: Robert Yang <liezhi.yang>
Component: bitbakeAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: mark.hatle, poky.bs.watcher, poky.watcher, richard.purdie, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Robert Yang 2013-04-19 08:39:32 UTC
The DESCRIPTION doesn't support break the line manually currently, it would break automatically in the output rpm package, it would be great if we can support it.
Comment 2 Yi Zhao 2013-08-02 10:29:25 UTC
Test case:

Steps:
1. Modify the DESCRIPTION section in a bb file, add "\n" in the line. For example:
DESCRIPTION = "Foo1\nFoo2"

2. Build the package with rpm, deb and ipk:

3. Check the DESCRIPTION section in package's information:
For rpm: rpm -pqi foo.rpm
For deb: dpkg --info foo.deb
For ipk: dpkg --info foo.ipk

Expects results:
In the past, check the DESCRIPTION section in package's information, it would be: 

Description :
Foo1\nFoo2

Now, it should be:

Description :
Foo1
Foo2
Comment 3 Yi Zhao 2013-08-02 10:30:37 UTC
Verified with master: 9de0ad47462c13ac4a2d73e12e92be6c1b4e0415