summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
Commit message (Collapse)AuthorAgeFilesLines
* glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issueDexuan Cui2011-06-291-1/+1
| | | | | | | (From OE-Core rev: 549929364cd7d29b50d8a4562c6f640e21a467f1) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Change config optionMark Hatle2011-06-281-1/+1
| | | | | | | | | | | | For some reason --without-xz doesn't work the same as --with-xz=none. We need this set to none, or configure will attempt to find an lzma header which we might or might not have. (From OE-Core rev: 43e499b0168eefed38a0883cbf2834f6a4622296) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native/nativesdk: Clean up the depends ordering after bitbake override ↵Richard Purdie2011-06-091-3/+3
| | | | | | | | | | | | | | | handling updates This massively cleans up the dependency handling in the two classes when interacting with BBCLASSEXTEND. This change has a dependency on the bitbake override handling change and also the existence of the RecipePreFinalise event. (From OE-Core rev: f183c7cfe377fa6ed2777605c3590a9dda2060df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: avoid dependency on perl and python for -native buildPhil Blundell2011-06-021-4/+6
| | | | | | | | | | | | | | Update override naming (_native -> _virtclass-native) to disable perl and python bindings when building native rpm, and adjust the DEPENDS to match. Perl bindings were, in fact, already disabled for both native and target builds so it's only the python ones that have really changed. (From OE-Core rev: a0fd5d332da24a1830ee7bd1030cfb5af384bb1c) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix fprint pointer issueQing He2011-05-272-1/+37
| | | | | | | | | [YOCTO #1030] (From OE-Core rev: bc4b86639a713c877dbe5e0f984873915d1578d4) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Refer to the yoctoproject.org bugzillaRichard Purdie2011-04-211-1/+1
| | | | | | (From OE-Core rev: 0f49b02171f31c3b8f321594e41a86123a50881b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Disable repackage on upgrade/erasure by defaultMark Hatle2011-03-161-1/+2
| | | | | | | | | | | | | | [YOCTO #787] Disable the repackage on upgrade/erase by default. This removes the warning message: error: cannot create %_repackage_dir /var/spool/repackage/1298783317 (From OE-Core rev: 3878ef5deacda480b7c689720733c03ef6b3c702) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix linking error encountered in rpm-nativeKhem Raj2011-03-032-1/+26
| | | | | | | | | | | * This patch passes the correct LDFLAGS to account for additional dependencies of librpmio on libbeecrypt and libsyck and hence fixes the build error. (From OE-Core rev: bcdd048e4857b5f8a343c434ade5a02ab1db33bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix rpm-dbg package splitMark Hatle2011-02-251-3/+1
| | | | | | | The rpm-dbg package split was specified incorrectly in the recipe, correct this so we generate the proper -dbg file. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Fix rpm usage of prelink on the targetMark Hatle2011-02-251-1/+2
| | | | | | | | | | RPM has the ability to validate files that have been prelinked, however the necessary configuration and staging was not done properly. Resolve this issue by fixing the macro paths, providing the missing RPM macro, and correcting a defect in the way the prelink image class was working with the necessary configuration file. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Remove all comments from multiline expressions (as mentioned in bug #704)Richard Purdie2011-02-221-6/+6
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Increase the number of solvedb's allowedMark Hatle2011-02-182-1/+31
| | | | | | | | | Increase the number of allowed solvedb's to 20 from the original 5. We also add an additional error message to RPM incase the 20 is ever exceeded. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Avoid fsync when writing filesMark Hatle2011-02-162-0/+35
| | | | | | | | | | By default RPM strives for the safest possible file creation and enforces fsync on each file. This changes that default by backporting the fsync disabled from the latest CVS snapshot. This will cut a few minutes off the rootfs generation using RPM. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Add the ability to use the platform file during installMark Hatle2011-02-163-3/+160
| | | | | | | | | | | Add a new rpm macro, rpmrc_platform_path to specify an alternative platform file. This is required to allow the dep resolver to identify compatible packages. Also workaround a minor problem with the --showrc command in RPM. A bug has been reported upstream on this. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* fetch2: unpack revisionMark Hatle2011-02-121-1/+1
| | | | | | | | | | | | Revise the unpack function to have a way to disable the unpack. This is based on the work from "Andreas Oberritter <obi@opendreambox.org>", see http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=2bdfe8519eda8067845019a699acdf19a21ba380 In addition, the to_boolean function comes from the work of "Chris Larson <chris_larson@mentor.com>", see http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=900cc29b603691eb3a077cb660545ead3715ed54 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* fetch2: Add SRPM knowledgeMark Hatle2011-02-081-50/+2
| | | | | | | | | | | | | | | | Enable the fetcher to be able to unpack and SRPM. By default the system will unpack the contents of the SRPM into the WORKDIR. A new syntax "unpack=file" was developed for the SRC_URI, to allow for a recipe to extract a specific file within an SRPM. An unpack operation will then be executed on the extracted file. In order to apply extracted patches (or unpack files not specified with unpack), you must specify the path using WORKDIR, i.e.: file://${WORKDIR}/mypatch.patch Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: catch up with fetcher2Koen Kooi2011-02-071-11/+20
| | | | | | | | | | Update the rpm recipe after the recent changes to the fetcher API. Koen wrote the original patch, Richard cleaned it up and fixed it. This code needs to be merged into the fetcher instead at some point soon. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Update extra unpack code after fetcher changesRichard Purdie2011-02-071-5/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add relocation to rpm-nativeMark Hatle2011-02-011-1/+27
| | | | | | | | | [BUGID #668] Use the create_wrapper to setup automatic run-time relocation of rpm-native. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: suggested changeQing He2011-01-282-0/+25
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* rpm: Uprev to RPM 5.4.0Mark Hatle2011-01-285-168/+555
| | | | | | Update RPM to the latest release, RPM 5.4.0. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Bump PR to force rebuild due to new beecryptSaul Wold2011-01-061-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rpm: Fix LIC_FILES_CHKSUM to use COPYING.LIBSaul Wold2010-12-141-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rpm: Add LIC_FILES_CHKSUMSaul Wold2010-12-131-0/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rpm: Change pcre to use internal library [BUGID #404]Saul Wold2010-10-181-2/+2
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* rpm_5.1.10.bb: The upstream location has changedMark Hatle2010-09-301-2/+2
| | | | | | | | | | | rpm_5.1.10.bb: bump PR [BUGID #357] The upstream distribution location for the Poky 5.1.10 version of RPM has changed. Correct it to the new location. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* rpm_5.1.10: Disable dependency loop messageMark Hatle2010-09-302-0/+39
| | | | | | | | | | | | [BUGID #332] Disable the dependency loop message that looked like an error had occured. This is really a debug message. Also remove the "remove: " debug message about which side of the dep loop it is removing to resolve the circular dependency. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Fix autoconf/libtool usageMark Hatle2010-09-032-46/+98
| | | | | | | | | | In order to resolve a host-contamination problem, we re-work the way that autoconf and friends are invoked during the compilation of RPM. This has a side effect of fixing another bug where RPM was being renamed HOST_ARCH-HOST_OS-rpm. So we remove the "fixes" for that behavior as well. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: Change the way the python version is determined so its sane and works ↵Richard Purdie2010-09-031-18/+5
| | | | | | with checksumming Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rpm: Raise the number of potential rescans before aborting with a dep loopMark Hatle2010-09-032-1/+19
| | | | | | | | Within Poky we have a large number of self-referencing packages. So we need to raise the number of rescans before triggering a dependency loop error. 100 seems like a reasonable number. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* package_rpm: Enable debian style tagsMark Hatle2010-09-021-0/+3
| | | | | | | | Enable debian style tags including suggests, enhances, recommends Note, these are not yet used by the dependency resolver. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rpm: compatiblity and header fixQing He2010-08-313-1/+70
| | | | | | | | changes: - add headerAddOrAppendEntry in lib/rpm4compat.h for compatibility - fix rpmbag.h introduced in rpm 5.1.10 Signed-off-by: Qing He <qing.he@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-273-0/+627
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>