Bug 6424

Summary: Add support for rpm v4 as well as v5
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Ross Burton <ross.burton>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.7 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 6739    
Bug Blocks:    

Description Richard Purdie 2014-06-11 13:23:20 UTC
There are a number of projects out there which want to use rpm v4 instead of v5. At the very least we should rework the core of the system so that support for v4 can be added in easily by a layer, if not becoming a configuration option. There are no plans to change the default, just make v4 more accessilble for those who want/need it.
Comment 1 Ross Burton 2014-09-18 15:23:38 UTC
oe-core as of e7a78bdc9715ed82541d5b8308d5cc4656ce58dd has the ability to work with rpmv4.  We're missing a recipe for rpm4 but that's a separate issue.
Comment 2 Mihail Stanciu 2014-09-30 13:58:19 UTC
Tried to install rpmv4 from source on qemux86 core-image-sato-sdk, but apparently the nss version we are using is too old to compile the rpmv4 sources.

Steps taken so far:
1. built core-image-sato-sdk qemux86
2. built nss and nsrp packages
3. installed nss and nsrp packages on qemu machine(including dev versions)
4. obtained source files for rpmv4 from http://www.rpm.org/wiki/Releases/4.11.2
5. ./configure command fails with "NSS version not present or too old" message

I'd appreciate any suggestions on how I might go forward from here, or a recipe file for rpmv4 to test directly.

Thanks,
Mihail
Comment 3 Mihail Stanciu 2014-10-01 10:27:34 UTC
Seems there's already a feature request for a recipe.
Comment 4 Mihail Stanciu 2014-10-02 13:00:36 UTC
Verified on 1.7 M4 RC3: abf9372358e5db70e7d707a5a732c4ec7d0f2efe 

Removed "TC needed" tag - moved it to bug 6739