Bug 4348 - The DESCRIPTION doesn't support "\n"
Summary: The DESCRIPTION doesn't support "\n"
Status: VERIFIED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 1.5 M2
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-19 08:39 UTC by Robert Yang
Modified: 2013-08-02 10:30 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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