summaryrefslogtreecommitdiffstats
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 ↵Saul Wold2010-08-201-1/+13
| | | | | | | | | Native tools [tweaks from Richard Purdie] Signed-off-by: Saul Wold <Saul.Wold@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie2010-08-192-2/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "base.bbclass: Temporarily disable fakeroot for install/package until ↵Richard Purdie2010-08-191-4/+1
| | | | | | | other fixes get merged" This reverts commit 2225e1214285f0e9a3c0ee2962b3d678c5c05292 and reenables the functionality now its safe to do so.
* classes: Disable setscene tasks for initial testingRichard Purdie2010-08-196-6/+6
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: Don't run the handler in worker contextRichard Purdie2010-08-191-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_*.bbclass: Always run these tasks under fakerootRichard Purdie2010-08-194-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove packaged-staging.bbclassRichard Purdie2010-08-192-474/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* deploy.bbclass: use new style staging for deploy tasksJoshua Lock2010-08-192-12/+18
| | | | | | | | | | All tasks which implement a do_deploy should inherit this class to have the changes in the deploy task staged. Update recipes which include a do_deploy function to inherit this class and to use DEPLOYDIR rather than DEPLOY_DIR_IMAGE. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package.bbclass: Implement packaged-staging2Richard Purdie2010-08-191-40/+31
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* staging.bbclass: Convert to packaged-stagingRichard Purdie2010-08-191-5/+10
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_(deb|rpm): Update to use packaged-staging2Joshua Lock2010-08-192-10/+30
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package_ipk.bbclass: Convert to new task based stagingRichard Purdie2010-08-191-2/+15
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Start sstateRichard Purdie2010-08-191-0/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add pre clean hook Add sstate_installpkg sstate: Tie all pieces together with a setscene function Use pythonic functions rather than os.system() Implement sstate_clean function package_ipk: clean shared state in prestate packaged-staging2: implement fetching packages from mirror Copy add staging_fetch() from packaged-staging.bbclass packaged-staging2: make the output slightly friendlier packaged-staging2: handle directories in the shared state Add directories to the manifest when installing and remove them if empty when cleaning. Move most of the sstate code into the class itself removing the need for heavy boilderplate packaged-staging2: Programatically ensure directories are last in the manifest packaged-staging2: add cleanall packaged-staging2.bbclass: Connect in cleanall function to do_clean We want to ensure that directories appear at the end of the manifest so that when we test to see if they should be deleted any contents added by the task will have been removed first. pstage2: Use oe.path.copytree packaged-staging2: support lockfiles and plaindirs Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
* autotools.bbclass: Drop a number of legacy functions that shouldn't be (and ↵Richard Purdie2010-08-191-33/+1
| | | | | | aren't) used in poky now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* native.bbclass: Ensure EXTRA_NATIVE_PKGCONFIG_PATH has a default valueRichard Purdie2010-08-181-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* DistroData: Cleanup Version numbers and add DistroData ParserSaul Wold2010-08-171-0/+158
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* update-rc.d.bbclass: adjust order on tweaking postinstKevin Tian2010-08-171-5/+10
| | | | | | | | | | | So far unlike prerm/postrm, update-rc.d has its own postinst method prepended to pkg_postinst, which may result "System startup links for xxx already exist" warning in the 1st boot of target image. Some pkg_postinst requires to run on the target, and thus prepend here makes update-rc.d method executed twice: one in rootfs creation and the other in the 1st target boot. So adjust the order to append. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* kernel.bbclass: Fix adding module dependencies to RDEPENDSJoshua Lock2010-08-171-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* cross-canadian.bbclass: Set TOOLCHAIN_OPTIONS to point at the correct sysrootRichard Purdie2010-08-171-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Temporarily disable fakeroot for install/package until other ↵Richard Purdie2010-08-171-1/+4
| | | | | | fixes get merged Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* eglibc: import eglibc_2.12 recipe from OENitin A Kamble2010-08-131-0/+15
| | | | | | | use http proto for svn checkout cosmetic cleanups to metadata Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* kernel-arch: x86-64 is no longer a valid architecture, map it to x86Joshua Lock2010-08-131-8/+8
| | | | | | | Also use the exported (and re-mapped) ARCH rather than TARGET_ARCH in the linux-wrs recipe. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* staging.bbclass: mangle *.la for ${base_libdir} tooKevin Tian2010-08-131-0/+1
| | | | | | | | | currently staging.bbclass mangle *.la to ensure sysroot prefix attached to dependency_libs if other *.la is referenced, however it only happens on ${libdir}. libpam is special with its libraries under ${base_libdir}. So this extends mangle to ${base_libdir} too Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* base: Allow unpack to handle localpath=NoneRichard Purdie2010-08-131-0/+2
| | | | 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>
* prelink: Enable image wide prelinkingMark Hatle2010-08-121-0/+38
| | | | | | | | | Add the ability to specify user level classes via the local.conf. Use this new capability to add an image-prelink class that does an image wide cross-prelink activity. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* pseudo: Upgrade pseudo and correct problemsMark Hatle2010-08-121-0/+5
| | | | | | | | | | | Fix an issue where pseudo could try to compile incorrectly on an x86_64 host system. Now it verifies that it should be trying to build a 32-bit library, and if so the necessary prereqs are available. Also uprev to the latest version of pseudo changes to enable wrapping of execl, local variable storage and misc fixes. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* utility-tasks.bbclass: Use python functions for do_clean instead of ↵Richard Purdie2010-08-121-6/+4
| | | | | | os.system, remove pointless [dirs] flag Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* relocatable.bbclass: Cover libexecdirRichard Purdie2010-08-121-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-ide-support: A dummy recipe to install everthing for target developmentJoshua Lock2010-08-111-0/+51
| | | | | | | | | | | Move the environment-setup script generation into a separate class and adapt meta-toolchain to use it. Add a new dummy target, meta-ide-support, to install an appropriately configured script to TMPDIR and ensure all of the required packages for target development are available. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie2010-08-111-1/+1
| | | | | | defaults to) 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.bbclass: Exclude scripts/dtc object filesRichard Purdie2010-08-101-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie2010-08-103-25/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Clean up kernel packaging outputRichard Purdie2010-08-101-1/+9
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo: Change pseudo integration to better support local DBsMark Hatle2010-08-041-1/+1
| | | | | | | | | Change the pseudo integration: * Uprev to latest open source version * Restructure the patches to allow for many local DBs, as well as pseudo specific lib dirs. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* base.bbclass: Enable fakeroot (pseudo) usage during install and packagingMark Hatle2010-08-041-0/+11
| | | | | | | | Use the virtual fakeroot program when installing a package and also during packaging. This is important as it allows us to track full permissions, owners, groups and special files generated by packages. Signed-off-by: Mark Hatle <mhatle@windriver.com>
* package_ipk.bbclass: Fix variable nameRichard Purdie2010-08-041-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_ipk: Clean up initial variablesRichard Purdie2010-08-041-22/+14
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel.bbclass: Simplify shell syntax so pysh can cope with itRichard Purdie2010-08-041-7/+7
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging: Fix architecture of nativesdk and cross-canadian packages. ↵Richard Purdie2010-08-041-7/+8
| | | | | | Also remove now unneeded path from native packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian: Move binaries into a subdirectory of bin to allow ↵Richard Purdie2010-08-031-0/+6
| | | | | | multimachine installs and update users accordingly Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staing.bbclass: Make sure python function is marked as suchRichard Purdie2010-08-031-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_ipk.bbclass: add keyword "Collected errors" for log error checkYu Ke2010-07-301-1/+1
| | | | | | | Once ipk meet errors, the log will show "Collected errors:\n xxxx ". so keyword "Collected errors" is more general to catch errors. Signed-off-by: Yu Ke <ke.yu@intel.com>
* staging: Remove now unused legacy staging codeRichard Purdie2010-07-302-55/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utility-tasks.bbclass: miscellaneous fixKevin Tian2010-07-271-0/+3
| | | | | | | | Fix parse error with packages such as spectrum-fw whose name has no version string. Later we may have per-recipe option to disable automatic check for those known with troubles, to reduce complexity in this part. Signed-off-by Kevin Tian <kevin.tian@intel.com>
* cmake: only search root directory for FIND_***Kevin Tian2010-07-271-1/+4
| | | | | | | | | | | default cmake behavior for FIND_***, is to first search listed directories prefixed with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This is not desired as build system may be referenced. this commit refine the search path only on prefixed directories, and thus fix libmusicbrains build failure on some systems Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* cross-canadian.bbclass: Tweak secondary toolchain path component to account ↵Richard Purdie2010-07-251-1/+1
| | | | | | for multimachine Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rm_work.bbclasS: Don't remove the pseudo database as it causes problems with ↵Richard Purdie2010-07-251-1/+1
| | | | | | meta-toolchin Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>