summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* package.bbclass: make sure 'sysroots' created before lockfileKevin Tian2010-11-071-0/+1
| | | | | | | | package sstate requires a lock under sysroots/, which however may not be created when sstate_setscene functions are executed and then causes failures. here we make sure 'sysroots' created before do_package_setscene is executed. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* meta/classes: Mark do_package_write and do_build as noexec tasksRichard Purdie2010-11-061-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Only enable fakeroot on setscene tasks with packagingRichard Purdie2010-10-221-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie2010-10-221-0/+2
| | | | | | | | | | | | | | If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. 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.
* package.bbclass: Ensure all packages package when running a buildRichard Purdie2010-09-081-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rpm: Fix autoconf/libtool usageMark Hatle2010-09-031-1/+1
| | | | | | | | | | 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>
* package_rpm: Enable per file dependenciesMark Hatle2010-09-021-0/+2
| | | | | | | | | 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>
* package.bbclass: Fix per-file dependency generationMark Hatle2010-08-231-4/+9
| | | | | | | | | | | | | 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>
* package.bbclass: Fix shlibs raceRichard Purdie2010-08-231-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Fix do_shlibsMark Hatle2010-08-231-4/+5
| | | | | | | | | 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>
* package.bbclass: If files are unreadable, add read access for strippingRichard Purdie2010-08-221-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Add perfile dependency identificationMark Hatle2010-08-201-5/+77
| | | | | | | | | 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>
* classes: Disable setscene tasks for initial testingRichard Purdie2010-08-191-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Implement packaged-staging2Richard Purdie2010-08-191-40/+31
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Document the process followed in the class from a high levelRichard Purdie2010-08-121-1/+26
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Use --preserve-dates option when stripping kernel modulesRichard Purdie2010-08-101-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie2010-08-101-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Clear package directory copy before installing new files to ↵Richard Purdie2009-11-201-0/+1
| | | | | | prevent stale data Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Fix runtime_maping_rename so version information isn't removedRichard Purdie2009-11-191-5/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Richard Purdie2009-11-131-1/+1
| | | | | | | | | | | | | 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-14/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Add the option to declare package preprocess function hooksRichard Purdie2009-11-131-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Change to operate on a copy of the install directory ↵Richard Purdie2009-11-131-12/+25
| | | | | | 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>
* package.bbclass: Remove hardcoded use of PKGDEST variableRichard Purdie2009-11-131-1/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Move variable checks to one place making the code more readableRichard Purdie2009-11-131-38/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package.bbclass: Cleanup getVar syntax to use True, not 1 as third argumentRichard Purdie2009-10-291-61/+61
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Merge ssh://gitserver@git.pokylinux.org/pokyRichard Purdie2009-04-281-2/+2
|\
| * package bbclass: add an 'allow_links' param to get symlinks packaged, ↵Koen Kooi2009-03-111-2/+2
| | | | | | | | usefull for splitting out libraries
* | base.bbclass: Use explode_deps from bb.utils and remove the obsolete ↵Richard Purdie2009-02-051-9/+9
| | | | | | | | base.bbclass version
* | base.bbclass: Move package metadata handling functions into their own class fileRichard Purdie2009-02-051-0/+2
|/
* package.bbclass: Ignore virtual-locale- packages when building -dev and -dbg ↵Richard Purdie2008-10-021-0/+4
| | | | | | dependency chains git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5399 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Write out extra useful data into the pkgdata filesRichard Purdie2008-10-021-0/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5388 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Adjust to handle split packages already being present in ↵Richard Purdie2008-09-101-3/+2
| | | | | | PACKAGES git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5177 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Skip symlinks when searching for shlib dependencies since ↵Richard Purdie2008-07-151-0/+2
| | | | | | 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
* package.bbclass: changed library regexp to get dependencies for opensync ↵Marcin Juszkiewicz2008-06-181-1/+1
| | | | | | plugins properly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4696 311d38ba-8fff-0310-9ca6-ca027cbcb966
* bitbake.conf/siteinfo.bbclass/package.bbclass: Add in support for 'darwin8'Richard Purdie2008-05-051-20/+21
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4424 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: unbreakMarcin Juszkiewicz2008-04-111-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4242 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Add patch to try and handle dynamic librbary dependencies ↵Richard Purdie2008-04-111-18/+82
| | | | | | on darwin through libtool git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4237 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Sync with OE.devRichard Purdie2008-03-191-8/+49
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4062 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Avoid double suffix depchain packagesRichard Purdie2008-02-071-0/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3711 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Abstract shlibs path to SHLIBSDIR variableRichard Purdie2008-01-231-22/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3576 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Fix shlibs and pkgconfig magic to use HOST_SYS, not TARGET_SYSRichard Purdie2008-01-171-12/+10
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3511 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Account for DEPENDS in -dev packagesRichard Purdie2008-01-091-1/+25
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3439 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Various cleanups and bugfixes, some form OERichard Purdie2007-12-191-22/+21
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3347 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Don't strip files in .debug directoriesRichard Purdie2007-12-191-0/+6
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3346 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Remove debug codeRichard Purdie2007-11-271-1/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3245 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Remove PKGMAPS functionality and supersede with pkgdata. ↵Richard Purdie2007-11-241-42/+5
| | | | | | Remove duplicate unneeded PACKAGES checks. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3225 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Use internal bitbake functions and fix packaging unlocking on error ↵Richard Purdie2007-11-241-71/+1
| | | | | | paths git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3222 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Make populate_packages copy files, not move them during ↵Richard Purdie2007-10-231-3/+82
| | | | | | do_package git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2950 311d38ba-8fff-0310-9ca6-ca027cbcb966