summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
Commit message (Collapse)AuthorAgeFilesLines
* rpmresolve: fix reporting of multiple matches errorPaul Eggleton2012-10-032-4/+4
| | | | | | | | | | | | | | | We were mistakenly writing what was meant to go to stderr into the output file, so when the "Multiple matches" error showed we weren't actually seeing the matches printed. Also change the wording of the "Unable to find package..." to "Unable to resolve package..." instead so that it makes more sense if it is printed after the "Multiple matches" error. (From OE-Core rev: c26542eb4e8707b9639ec309a44809a728839db8) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Implement workaround for DB_BUFFER_SMALL errorMark Hatle2012-10-022-1/+79
| | | | | | | | | | | | | | | | | | | | | | | In certain cases with BerkleyDB 5.3.x we are getting the error: db3.c:1443: dbcursor->pget(-30999): BDB0063 DB_BUFFER_SMALL: User memory too small fo See https://bugs.launchpad.net/rpm/+bug/934420 for more information. It appears to be some type of a bug in the BerkleyDB 5.3.x. In an attempt to workaround the problem, when we encounter this situation we attempt to adjust the size of the mmap buffer until the call works, or we end up trying 10 times. The new size is either the updated vp->size from the failed pget call, or the previous size + 1024. If DBI debugging is enabled, additional diagnostics are printed, otherwise a basic retry and success message is added to show that the failure was resolved. (From OE-Core rev: bfb2906206158748d0be33baf7984cf885756da1) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add rpm patch to fix git_strerror issuesMark Hatle2012-10-022-1/+62
| | | | | | | | | | | | | | | Remove the optimzation append from recipe and add the patch that is in the rpm cvs repo, http://www.mail-archive.com/rpm-cvs@rpm5.org/msg08907.html. The -O2 optimzation append is removed since it can limit debugging options that are provided when -O0 is used. This was tested by setting: SELECTED_OPTIMIZATION = "-O0" (From OE-Core rev: d109c6bd163469d6281d20174e4b79cb63483cd4) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix file contention issueMark Hatle2012-10-022-1/+33
| | | | | | | | | | | | | | | | | | | | | | There is an issue that is caused when doing the install step of rpm on systems with high parallelization where two jobs of make will fight for the same file while installing the sub-directory lua. This is caused by the same makefile rule being called twice in a way that both could be trying to install at the same time. This fix renames the linking rule so it will always be run after the needed files are added and removed it's dependency so the required rule would only run once. This was tested heavily using ppss to run mutliple installs in parallel. This wouldn't happen in practise but it was tested will all the individual rules as well. (From OE-Core rev: d05c5da6b972db97d3eb66b659f5641368c9ebe4) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-native: Fix 'uuid_rc_t' undeclared error when compilingMark Hatle2012-10-022-1/+37
| | | | | | | | | | | | | | | When attempting to build with uuid and all tests compiling will error because uuid.h doesn't exist in the rpm tarball. Fix this by changing the include to use the one in ossp which solves the issue. The recipe already depends on ossp so ossp/uuid.h will be there when rpm-native is built. (From OE-Core rev: 52ae2c2439bcb78323f61a3666e9b630b3a40b15) Signed-off-by: Morgan Little <morgan.little@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add base-files as RDEPENDSSaul Wold2012-09-251-1/+3
| | | | | | | | | | | This solves a problem when installing rpm using the ipk pkg-management system where /var/cache was conflicting with the existing /var/cache from base-files. (From OE-Core rev: 917f57cbb0906996661eebc6656c2c083ef979e9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm 5.4.9: DEPENDS on bison-nativeRobert Yang2012-09-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The rpm should depend on bison-native, otherwise errors when "bitbake rpm-native" in a fresh build: | make[4]: Entering directory `/path/to/rpm-native-5.4.9-r46/rpm-5.4.9/syck/lib' | bison -d -t -v -p syck -o gram.c gram.y | make[4]: bison: Command not found Basically, both the rpm-native and rpm should depend on bison-native, but don't need depend on bison, but it seems that it isn't necessary to add another depend line: DEPENDS_virtclass-native = "libpcre-native ... bison-native" So just add it to the DEPENDS. [YOCTO #3123] (From OE-Core rev: 839faed2e7ef554668f647732c7ee1c8d339c123) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpmresolve: improve debug outputPaul Eggleton2012-08-151-14/+55
| | | | | | | | | | | | | Rename rpmresolve's -d option to -t and make -d enable debug output; add a -o option to specify the output file (so rpm debug output doesn't go to the output file) and also add a little more detail to some of the error messages. (From OE-Core rev: 163dd734d79fd7040b48b10bca6fde28460ac20c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpmresolve: Ensure we call the rpm relocation code at initRichard Purdie2012-08-141-1/+2
| | | | | | | | | | | We need to call rpmcliInit to ensure the rpm relocation code is called and it correctly honours the relocation environmental variables. We can drop the ReadConfigFiles call since the cliInit does this for us. (From OE-Core rev: eb17fdc1461953382360635480f12357eac4dc43) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpmresolve: add wrapper script to fix pathsPaul Eggleton2012-08-131-1/+8
| | | | | | | | | | | | | | | Fixes sstate relocation due to the path to /etc/rpm being baked into the libraries - this manifested in the form of the following assertion at runtime: rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed. Fixes [YOCTO #2936]. (From OE-Core rev: 44c2fb7ea0228dd749129d334c76a1bd2983e585) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: improve performance of image info collectionPaul Eggleton2012-07-291-7/+110
| | | | | | | | | | | Reduce the number of calls to the packaging tool, especially in the case of rpm, using helper utilities to gather the required information more efficiently where possible. (From OE-Core rev: d0b8a98c5b46c305afd389fc862b3bf0c6f1eaab) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/rootfs_rpm: improve speed of RPM rootfs constructionPaul Eggleton2012-07-292-0/+295
| | | | | | | | | | | | | Improve the performance of the RPM backend during do_rootfs by performing most of the package name to file resolution in a separate utility written in C, processing the entire list of packages at once rather than running rpm on the command line which loads the RPM database for every package. (From OE-Core rev: 9135d351ba7cb21e50239d2b310565680bd4fdca) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing Upstream-Status to various patches.Mark Hatle2012-07-267-0/+14
| | | | | | | (From OE-Core rev: 951e9caac62a4de576e4003319101e8ff59d72d9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.9.bb: fix builds on systems with older libcMatthew McClintock2012-07-172-1/+29
| | | | | | | | | | | | | | | | dbconvert.o: In function `rpmdb_convert': | /local/jenkins/jobs/yocto-upstream/workspace/label/master/machine/p4080ds/poky/master/tmp/work/x86_64-linux/rpm-native-5.4.9-r45/rpm-5.4.9/tools/dbconvert.c:126: warning: the use of `tempnam' is dangerous, better use `mkstemp' | dbconvert.o: In function `main': | dbconvert.c:(.text+0x923): undefined reference to `htobe32' | dbconvert.c:(.text+0xaa4): undefined reference to `htole32' | dbconvert.c:(.text+0xac9): undefined reference to `htole32' (From OE-Core rev: add2c772cd404e8bea4828959fcb5ee33c35c048) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix PACKAGECONFIG dependenciesMark Hatle2012-07-091-4/+4
| | | | | | | | | | | | | neon requires expat to be built first lua similarly requires expat if enabled selinux package name should be "libselinux" (from meta-selinux). (From OE-Core rev: 6b3c9802b659ca1d3b7638ff80e6492cc0e16d6f) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: pass lrt and lpthread to link step explicitly for uclibcKhem Raj2012-06-181-0/+2
| | | | | | | | | | | These need to appear in DT_NEEDED for librpmio.so for uclibc somehow it does not get added to link cmdline so we do it explicitly. (From OE-Core rev: e5d141fff4a96fbdac63586638fb286f263af216) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Use link time check for libsspKhem Raj2012-06-182-0/+22
| | | | | | | | | | | | -fstack-protector needs libssp to link with so when checking for this option support we need to find if libssp is staged in root file system (From OE-Core rev: 492297fce0b80547d3dac9f611f463c6cc95160b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix compilation on uclibcKhem Raj2012-06-183-1/+108
| | | | | | | | | | | | rpmatch is not there in uclibc therefore add logic to configure to detect it. x* wrappers need to be defined for uclibc as well. (From OE-Core rev: 0cd3a4f3cfd0eb70915e3b59be8d04ee2d92749e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Ensure pkgconfig deps don't stray from the package being builtMark Hatle2012-06-122-1/+36
| | | | | | | | | | Force pkg-config to only look in the install directory, and not be able to fall back to system pkg-config directories for resolution. (From OE-Core rev: 7afcfeb1db00c800485b2f3a89dad1ed84083979) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: Add capability to directly query packageoriginMark Hatle2012-06-122-1/+25
| | | | | | | | | | | | Add functionality to RPM to directly query the packageorigin (path) from the resolver database, instead of having to do this via an indirect method. This results in a minor performance improvement. (From OE-Core rev: a8ff3141fd78442bf328c9d3a489db88ad27486b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ossp-uuid: Add oss-uuid package and RPM 5.4.9 integrationMark Hatle2012-06-122-3/+28
| | | | | | | | | | | RPM 5.4.9 now strongly encourages you to have the ossp-uuid library available. Add this recipe, and change RPM to use the uuid functionality. (From OE-Core rev: 8a2b55c5b7c544ec15113bc21e5c62276449c9c3) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Upgrade RPM to 5.4.9Mark Hatle2012-06-124-99/+111
| | | | | | | | | | | | | Beside upreving RPM, add necessary integration patches to libzypp. Also change the configuration of RPM to support PACKAGECONFIG flags. RPM is highly configurable, the default configuration is good for minimal OE-Core use. (From OE-Core rev: bf94103d4c532ffdfdcdcc6d27c9f65f7824f8f8) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Upgrade RPM to 5.4.8 (db to 5.3.15)Mark Hatle2012-06-1211-656/+152
| | | | | | | | | RPM 5.4.8 requires db 5.3.x, so both are upgraded together. (From OE-Core rev: c5898ef3fc3820ff9c44bc5b1b16e5def64aa877) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix build with automake 1.12Nitin A Kamble2012-05-252-1/+23
| | | | | | | (From OE-Core rev: 8e78a88b664ffe32f182987eb0f5e5ea6345d416) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2012-05-242-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug if we: 1) bitbake diffutils with MACHINE=crownbay 2) bitbake diffutils with MACHINE=qemux86 3) bitbake core-image-sato with MACHINE=crownbay Then the diffutils.i586 would be installed to the crownbay's image, this is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't respect to the arch priorities: We have put the archs in order in _solve_dbpath: crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb Fix rpm to respect to the order, for example, if it finds a pkg in both core2/ and i586/, and the core2/ comes first, it should not use the one in i586/ even if it's build time is newer. Note: Don't worry about the _free(*ptr), it can check whether ptr is NULL or not. This is for the denzil branch, and the master branch also needs it. [YOCTO #2360] (From OE-Core rev: d76067ae100623dd6dd4858568b98522d1daf474) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm-native: Compile python rpm module (with-python)Andrei Gherzan2012-04-131-3/+1
| | | | | | | | | | | | This module is needed by python scripts from createrepo native package. [YOCTO #2134] RP: Add missing DEPENDS on python-native (From OE-Core rev: 17f3cc1be0e8648cb4579793a9eb5a701deac85f) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Ensure that we check both providename and filepathsMark Hatle2012-04-132-1/+38
| | | | | | | | | | | | | In lib/rpmts.c we need to make sure to look for missing dependencies, such as /bin/sh, in both the providename and filepaths DB. Previously the system would key off an initial '/' and only look in the filepaths DB. This causes problems when a package such as "bash", has a Provides: /bin/sh. (From OE-Core rev: 08fb526c42e85c89135960344745e878c5fb633a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Ensure we depend on fileRichard Purdie2012-03-281-1/+1
| | | | | | | | | | rpm links to libmagic from file so it needs to be listed in DEPENDS else we can have race conditions causing build failures such as those seen on the autobuilder recently. (From OE-Core rev: 432e36300d7231c9b01cd2c6c4b39b84cf4fddca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix FILE_ -> FILES_ packagingSaul Wold2012-03-161-2/+2
| | | | | | | (From OE-Core rev: 1f591ae09a860ae8471c3f9c8f40a4e34f596baf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Package python-rpm static archive correctlySaul Wold2012-03-141-2/+3
| | | | | | | | WARNING: QA Issue: non -staticdev package contains static .a library: python-rpm path '/work/i586-poky-linux/rpm-5.4.0-r34/packages-split/python-rpm/usr/lib/python2.7/rpm/_rpmmodule.a' (From OE-Core rev: 1374c7a8ea7c583d428a9546999a4ec3bee06128) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Add rpmdeps-oecore to appropriate packageRichard Purdie2012-03-131-1/+2
| | | | | | (From OE-Core rev: a964e22804705b64202d2852a13ff2be34dc7923) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm 5.4.0: Add rpmdeps-oecore to replace rpmdeps for package.bbclassRichard Purdie2012-03-092-1/+200
| | | | | | | | | | | This is a performance enhancement by adding a binary allowing batch processing of individual file dependencies. The second patch in this series uses the binary this patch creates. (From OE-Core rev: 50dc8bfbac42b9a9b52a2f7d0568740c41790c13) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: split into binary and library packagesAndreas Oberritter2012-03-081-1/+1
| | | | | | | | | | * Create libbz2 (and -dev, -staticdev), which can be installed without the bzip2 executables. (From OE-Core rev: e27af1f273e9a7348dd8f5542df9206acd9210f3) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix LICENSE fieldRichard Purdie2012-02-241-2/+2
| | | | | | | | | | | This addresses the warning: WARNING: rpm: No generic license file exists for: LGPL in any provider WARNING: rpm: No generic license file exists for: 2.1 in any provider (From OE-Core rev: 2345f788c9206b87804292c0afdd73f565784d45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: bump PR to rebuild .la files without libz.laMartin Jansa2012-02-211-1/+1
| | | | | | | (From OE-Core rev: 1da6a2dbd5e7aeea6cd45ca05590bdd50b67bf89) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix magic file name magic -> magic.mgcSaul Wold2012-01-111-2/+2
| | | | | | | (From OE-Core rev: aee38df69073fe5b3c1e8ee180912d1f0360f651) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix build with automake-1.11.2Nitin A Kamble2012-01-032-0/+55
| | | | | | | | | | | | | | automake version 1.11.2 has made use of dir variables more strict. the use of pkglibdir with SCRIPTS & DATA vars results in automake errors. This commits uses pkgdatadir & pkgbindir vars instead of pkglibdir to avoid the strict check errors. This change also works with automake-1.11.1 (From OE-Core rev: ca76443522a6bb38d239b9aa0c7932cd44446ff8) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Upstream-Status to patchesSaul Wold2012-01-0314-1/+29
| | | | | | | (From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix rpm database files capacity issue.Mei Lei2012-01-032-1/+21
| | | | | | | | | | | | Tune the __db* size in DB_CONFIG. This will reduce the __db* size from 62MB to 26MB in qemu. [YOCTO #1769] (From OE-Core rev: 32d308bb38612cef2a98a4c40f058b4db50787aa) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.0: Fix configuration issue with native/nativesdkMark Hatle2011-12-241-1/+2
| | | | | | | | | | | RPM's configuration assumes if the prefix isn't /usr or /usr/local that you really want the DB in $prefix/var -- we want it in $localstatedir. (From OE-Core rev: 528a2ec8ab53d652d74c51334a40905f009dfd91) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PR Bump for OpenSSL 1.0Saul Wold2011-11-301-1/+1
| | | | | | | (From OE-Core rev: 59923e66e85471acdb70d72082a8906c69b17720) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm_5.4.0.bb: Build rpm without xzMatthew McClintock2011-11-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following issue: Log data follows: | NOTE: Creating RPM package for perf-dbg | NOTE: Creating RPM package for perf | NOTE: Creating EMPTY RPM Package for kernel | NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357 | NOTE: Creating RPM package for kernel-dev | NOTE: Creating RPM package for kernel-vmlinux | NOTE: Not creating empty RPM package for kernel-misc | NOTE: Creating RPM package for kernel-devicetree | NOTE: Creating RPM package for kernel-module-libcrc32c | NOTE: Creating RPM package for kernel-module-crc-itu-t | NOTE: Creating RPM package for kernel-module-sctp | NOTE: Creating RPM package for kernel-module-pcbc | NOTE: Creating RPM package for kernel-module-crc32c | NOTE: Creating RPM package for kernel-module-binfmt-misc | NOTE: Creating RPM package for kernel-module-nfsd | NOTE: Creating RPM package for kernel-module-exportfs | NOTE: Creating RPM package for kernel-module-msdos | NOTE: Creating RPM package for kernel-module-nls-utf8 | NOTE: Creating RPM package for kernel-module-udf | NOTE: Creating RPM package for kernel-module-isofs | NOTE: Creating RPM package for kernel-module-usbhid | NOTE: Creating RPM package for kernel-module-scsi-wait-scan | NOTE: Creating EMPTY RPM Package for kernel-modules | /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory | ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information) (From OE-Core rev: 1f55b31bdc8cf1da04ef29f4e44c1be6c0286ee2) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Flush old logs by change the DB_CONFIGMei Lei2011-11-242-2/+15
| | | | | | | | | | | Fixes [YOCTO #1174] Rpm logs will grow indefinitely, so change the config to flush those old logs. (From OE-Core rev: e2c4dff079722f256ddcab9630b5b3f8f6421cc9) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Enable pre and post install scriptsMark Hatle2011-11-112-1/+161
| | | | | | | | | | | | | | | | | | | | | [YOCTO #1755] We change the want the RPM rootfs install works to install pre and post install scripts. The new method uses a script helper that is invoked by RPM outside of the normal chroot. The wrapper is dynamically generated prior to the install starting. It will check the return code of the script. If the script fails, it will store a copy to be executed on the first system boot. This is similar to the previous mechanism. In addition, a line of debug was added to the scripts as written by package_rpm to list which package and which script for later debugging, if necessary. (From OE-Core rev: 3e7120d6a9fd5e46214673d0a6e1085a7314ff42) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix QA Warning on installed but not shipped staticdev fileswSaul Wold2011-09-281-7/+10
| | | | | | | (From OE-Core rev: 62ce8f96626e061e03ca49896716bbb133721ee0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: ensure that magic file is relocatableSaul Wold2011-09-281-3/+11
| | | | | | | | | | | | | | rpm-native was reading from /usr/share/misc/magic which is wrong it needs to be set to read from the sysroot. This also adds wrappers to the rpm-build tools to ensure they know were to find the macros that point to the right directories. Fixes [YOCTO #1532] (From OE-Core rev: e94d1e7ac1b7952690c37554e618f84b84e561a0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update python dependencies to be simply to "python"Mark Hatle2011-09-212-1/+19
| | | | | | | | | | | | | | | | Previously python dependencies were of the format "python(abi) = ..." This format is not yet supportable within OE, so revert to a form we know we can handle. Introduce a change to package.bbclass that ensures it will causes the sstate-cache's "package" to invalidate. Since pythondeps changed, the output of rpmdeps changes, which causes the per-file dependency information to change.... thus we need to invalidate the cache! (From OE-Core rev: 30064a98dc9049db4a37f119d15fbb59aa3c8377) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: be certain we don't prefix our binariesChris Larson2011-08-231-1/+2
| | | | | | | | | | In certain combinations of build/host/target, they can end up inadvertently prefixed, breaking the assumptions in the recipe. (From OE-Core rev: a00600b853570b6090e68d20f22bb5ef5435e0ea) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix the canonical arch --target processing and cleanupMark Hatle2011-08-127-127/+153
| | | | | | | | | | | | | | | [YOCTO #1352] Fix the canonical arch --target processor to work with the way OE handles the GNU canonical arch. Also cleanup a number of files that are no longer used, and refactor the no-loop patch into the "no-loopmsg" patch. (From OE-Core rev: 25904ad2bdeadda9189805bb7a210eafe5795024) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RPM: multilib file class/colorMark Hatle2011-07-272-0/+35
| | | | | | | | | | | | We need to include file class and file color in order to do the conflict resolution required with a multilib design. This is normally disabled when we don't use the internal dependency generator, patch enables it in all cases. (From OE-Core rev: 4c43ea3440ecca02d2945b02017f56a8de9ff808) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud