summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-09-02package_rpm: Enable per file dependenciesMark Hatle1
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>
2010-08-23package.bbclass: Fix per-file dependency generationMark Hatle1
The overall file list was being constructed with the wrong variable, it should have had FLIST in the name. Also it was possible to construct the system with some illegal variable names. Names that would have include "[]". So translate these away... Finally fix an issues where a filename with an _ could cause a package variable conflict. Again translate this away.. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-23package.bbclass: Fix shlibs raceRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-23package.bbclass: Fix do_shlibsMark Hatle1
The current packages shlibs processing is written to a local temporary file. This file is not consulted when evaluting the provider of the dependency, instead we need to cache the local values into the dictionary while we write the temp file. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-22package.bbclass: If files are unreadable, add read access for strippingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-20package.bbclass: Add perfile dependency identificationMark Hatle1
Using the rpmdeps commands, we enable the discovery of per-file dependencies. These dependencies are generated for all packages, and may or may not be used by any given packaging mechanism. Currently RPROVIDES and RDEPENDS are generated in this process. Signed-off-by: Mark Hatle <mhatle@windriver.com>
2010-08-19classes: Disable setscene tasks for initial testingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19package.bbclass: Implement packaged-staging2Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12package.bbclass: Document the process followed in the class from a high levelRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10package.bbclass: Use --preserve-dates option when stripping kernel modulesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-20package.bbclass: Clear package directory copy before installing new files to ↵Richard Purdie1
prevent stale data Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-19package.bbclass: Fix runtime_maping_rename so version information isn't removedRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie1
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>
2009-11-13classes: Remove and sanitise import statementsRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13package.bbclass: Add the option to declare package preprocess function hooksRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13package.bbclass: Change to operate on a copy of the install directory ↵Richard Purdie1
instead of directly. Also take the opportunity to rename the temp directories so their function is clear Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13package.bbclass: Remove hardcoded use of PKGDEST variableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-13package.bbclass: Move variable checks to one place making the code more readableRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-29package.bbclass: Cleanup getVar syntax to use True, not 1 as third argumentRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-04-28Merge ssh://gitserver@git.pokylinux.org/pokyRichard Purdie1
2009-03-11package bbclass: add an 'allow_links' param to get symlinks packaged, ↵Koen Kooi1
usefull for splitting out libraries
2009-02-05base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie1
base.bbclass version
2009-02-05base.bbclass: Move package metadata handling functions into their own class fileRichard Purdie1
2008-10-02package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg ↵Richard Purdie1
dependency chains git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-02package.bbclass: Write out extra useful data into the pkgdata filesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5388 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-09-10package.bbclass: Adjust to handle split packages already being present in ↵Richard Purdie1
PACKAGES git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5177 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-07-15package.bbclass: Skip symlinks when searching for shlib dependencies since ↵Richard Purdie1
we can cross into the build system binaries git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4838 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-06-18package.bbclass: changed library regexp to get dependencies for opensync ↵Marcin Juszkiewicz1
plugins properly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4696 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05bitbake.conf/siteinfo.bbclass/package.bbclass: Add in support for 'darwin8'Richard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4424 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11package.bbclass: unbreakMarcin Juszkiewicz1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4242 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-04-11package.bbclass: Add patch to try and handle dynamic librbary dependencies ↵Richard Purdie1
on darwin through libtool git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4237 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-19package.bbclass: Sync with OE.devRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4062 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-07package.bbclass: Avoid double suffix depchain packagesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3711 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-23package.bbclass: Abstract shlibs path to SHLIBSDIR variableRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3576 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-17package.bbclass: Fix shlibs and pkgconfig magic to use HOST_SYS, not TARGET_SYSRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3511 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-09package.bbclass: Account for DEPENDS in -dev packagesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3439 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19package.bbclass: Various cleanups and bugfixes, some form OERichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3347 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-12-19package.bbclass: Don't strip files in .debug directoriesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3346 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-27package.bbclass: Remove debug codeRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3245 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24package.bbclass: Remove PKGMAPS functionality and supersede with pkgdata. ↵Richard Purdie1
Remove duplicate unneeded PACKAGES checks. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3225 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-24classes: Use internal bitbake functions and fix packaging unlocking on error ↵Richard Purdie1
paths git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-23package.bbclass: Make populate_packages copy files, not move them during ↵Richard Purdie1
do_package git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2950 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-02package.bbclass: Remove depchains packaged() check. This broke after pkgdata ↵Richard Purdie1
was split for multimachine issues and I'm not sure we need/want it anyway, we're only dealing with Recommends, not Depends git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2824 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-27package.bbclass: Append to do_package[deptask], cleanup up PACKAGES checks, ↵Richard Purdie1
generate .packaged file for depchains benefit (fixing -dev and -dbg package dependencies). People should wipe do_install stamps and rebuild to fix package dependencies git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2815 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-03package.bbclass: Cleanup install references into a configurable variableRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2681 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-24package.bbclass: Fix typoRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2550 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21package.bbclass: Add back package_write task in a new formRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2535 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21package.bbclass: More pkgdata fixes, (install task needs to rerun on ↵Richard Purdie1
existing builds) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21packaging: Split deb and ipk creation into separate tasks so changing the ↵Richard Purdie1
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