Bug 5580

Summary: deb, rpm and ipk packages have different naming formats
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.6   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stoicescu Cornel 2013-11-21 13:33:57 UTC
Building 'm4' for all package types, the following package names result:

m4-1.4.17-r0.x86_64.rpm
m4_1.4.17-r0_x86-64.deb
m4_1.4.17-r0_x86_64.ipk

All 3 are different from each other. There should be an universal package naming format.
Comment 1 Stoicescu Cornel 2013-11-21 13:48:39 UTC
This is necessary for automating some builtime tests with oe-selftest.
Comment 2 Paul Eggleton 2013-11-21 16:06:35 UTC
I'm fairly sure this is expected, although Richard comments that the deb naming might be broken and nobody noticed. I'd like to get an idea of what we're trying to do with the test and see if there is a different way of handling the situation than knowing the output file name format.
Comment 3 Stoicescu Cornel 2013-11-22 10:43:01 UTC
I looked more into this and the package naming conventions ofr these formats are as follow:

rpm: name-version-release.architecture.rpm
deb: <foo>_<VersionNumber>-<DebianRevisionNumber>_<DebianArchitecture>.deb
ipk: name_major.minor-wrt<revision>_arch.ipk

This means the naming is correct.

Marking as NOTABUG.
Comment 4 Stoicescu Cornel 2014-01-14 10:17:40 UTC
Setting to verified.