summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* package_rpm: Disable nativesdk/canadian package indexes for now as these are ↵Richard Purdie2010-10-111-2/+3
| | | | | | being incorrectly used for target rootfs generation, breaking the images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "classes: Disable setscene tasks for initial testing"Richard Purdie2010-10-051-1/+1
| | | | This reverts commit 084ec86402bba92418898a4c47667a0574a3b3ee.
* rpm: Fix autoconf/libtool usageMark Hatle2010-09-031-2/+2
| | | | | | | | | | 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>
* roots_rpm: Enable installation of recommended packagesMark Hatle2010-09-031-4/+8
| | | | | | | | | | | | | Within RPM there is a field called "Suggests". This filed behaves like "Recommends" does in ipk. So we write out the packages using the Suggests field with the Poky 'Recommends' values... and then use the arbitrary tags to capture the Poky 'Suggests' within a new "Recommends" tag. Slightly confusing, but the end result is a functioning install. Also some performance enhancements were add at the same time. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* package_rpm: Start packaging directoriesMark Hatle2010-09-031-2/+3
| | | | | | Match ipkg behavior and unconditionally include directories in the packages Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* package_rpm: Enable debian style tagsMark Hatle2010-09-021-50/+57
| | | | | | | | 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>
* rootfs_rpm: Optimize rpm database processingMark Hatle2010-09-021-0/+4
| | | | | | | Optimize the creation of the solverdb by disabling fsyncs and database caches that are not used when generating a solution. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* package_rpm: Enable per file dependenciesMark Hatle2010-09-021-18/+63
| | | | | | | | | Switch the per file dependency handing to passing the information to rpm via the standard 'external' dependency scripting. This ensures that the dependencies found by RPM exactly match the ones presented by package.bbclass. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* meta/classes: Fix whitespace mismatch and broken functionsRichard Purdie2010-08-311-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_rpm: Temporary workaround for perfile dependenciesMark Hatle2010-08-231-0/+18
| | | | | | | Until the pseudo code is fully integrated, we need to roll up the per file dependencies into package dependencies for rpm. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* rootfs_rpm: Enable multi dep solverdbsMark Hatle2010-08-231-0/+51
| | | | | | | | | | | | | Update package_rpm.bbclass to generate dep solver databases for each package arch. Following the example of the deb and ipk integration Revise the rootfs_rpm to solve the installation based on the multiple dep solvers. Note, recommends, locale and attemptonly pckages are still to be implemented. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* package_rpm: Rewrite the way the spec files are generatedMark Hatle2010-08-231-169/+377
| | | | | | | | Use a single spec file to generate all of the split packages. This allows us to ensure the RPM package source package meta data is correct, and also speeds up the package generation process. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* classes: Disable setscene tasks for initial testingRichard Purdie2010-08-191-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_*.bbclass: Always run these tasks under fakerootRichard Purdie2010-08-191-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_(deb|rpm): Update to use packaged-staging2Joshua Lock2010-08-191-7/+15
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* rpm: switch to using RPM 5Joshua Lock2010-07-241-14/+11
| | | | | | | | | | | | Switch to RPM5 as our rpm provider of choice and update the recipe to the latest stable release. Signed-off-by: Joshua Lock <josh@linux.intel.com> Modify the package_rpm.bbclass to understand the macro and command line changes present in rpm5. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Use pseudo rather than fakeroot for fake root privilegesJoshua Lock2010-07-161-1/+1
| | | | | | | Make use of the ability to configure the fake root provider and use Wind River's pseudo utility. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package_*.bbclass: Only set pkg in overrides. These are the only values ↵Richard Purdie2010-07-071-5/+1
| | | | | | we're interested in expanding and this makes sure we obtain the expected data Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when ↵Richard Purdie2010-07-071-1/+1
| | | | | | | packaging" This reverts commit 3abe7a0624e1215124799f97c872682a98659760 which was incorrect in some assumptions about OVERRIDE handling order.
* classes/package_ipk|_deb|_rpm.bbclass: Fix setting of OVERRIDES when packagingJoshua Lock2010-07-011-1/+1
| | | | | | | | | The OVERRIDES variable was being incorrectly set with the end result of the runtime dependencies of the package not being encoded in it's package metadata. This broke opkg-native in meta-toolchain. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-2/+2
| | | | | | | | | | | | | populate_staging task to populate_sysroot This change makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-7/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_rpm.bbclass: Don't use the system wide RPM macros.Rob Bradford2008-10-281-1/+1
| | | | | This fixes the build on Fedora 10 where the RPM system macros obliterate the value of BuildRoot that is set in the spec file.
* package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packagingMarcin Juszkiewicz2008-10-031-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5413 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Fix dependency rebuilding bugRichard Purdie2008-10-021-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5397 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Fix package version fixing for PKG renamed packagesRichard Purdie2008-10-021-4/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5393 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Improve handling of '-' characters in Requires and ↵Richard Purdie2008-10-021-17/+18
| | | | | | Recommends fields git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5390 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Split rpm feeds by PACKAGE_ARCHRichard Purdie2008-10-021-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5381 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Add support for postinst and preinst scriptsRichard Purdie2008-09-031-3/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5131 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Fix problems with package version with '-' in the ↵Richard Purdie2008-09-031-6/+26
| | | | | | version (replace with '+'), improve the Requires and Recommends generation code git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5129 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: files needs to start from /Marcin Juszkiewicz2008-08-281-0/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5116 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Stop autogenerated dependencies for now, its not ↵Richard Purdie2008-08-261-0/+2
| | | | | | functioning correctly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5111 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Fix empty package handling, handle package dependency ↵Richard Purdie2008-08-251-4/+8
| | | | | | renaming by adding a missing function call and expand RPMBUILD before changing the dictonary so local PV/PR changes don't break the WORKDIR variable expansion git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5100 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_rpm.bbclass: Update against recent packaging changes and start to ↵Richard Purdie2008-08-181-23/+59
| | | | | | implement dependency handling. Drop pointless rpm_core class. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5067 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package_{ipk|deb|tar|rpm): append depend-tasks instead of overwritingMarcin Juszkiewicz2007-11-281-1/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaging: Split deb and ipk creation into separate tasks so changing the ↵Richard Purdie2007-08-211-3/+15
| | | | | | packaging type means the new type of packages are automatically generated. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2526 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie2006-10-201-1/+1
| | | | | | then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_install/do_package tasks (wipe the do_xyz stamps from the stamps dir). Everything will repackage anyway due to the new task. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@807 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-191-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+133
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966