Bug 6424 - Add support for rpm v4 as well as v5
Summary: Add support for rpm v4 as well as v5
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 1.7 M3
Assignee: Ross Burton
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on: 6739
Blocks:
  Show dependency tree
 
Reported: 2014-06-11 13:23 UTC by Richard Purdie
Modified: 2014-10-02 13:00 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 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