summaryrefslogtreecommitdiff
path: root/meta/classes
AgeCommit message (Collapse)AuthorFiles
2010-08-25sstate: fix architecture of sstate archivesJoshua Lock1
Using TARGET_ARCH as the pacakge architecture for sstate archives lead to some issues when using two machines with different BASE_PACKAGE_ARCH's but the same TARGET_ARCH such as netbook and qemux86 machines. Probable fix for [BUGID #223] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-23package_rpm: Temporary workaround for perfile dependenciesMark Hatle1
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>
2010-08-23rootfs_rpm: Enable multi dep solverdbsMark Hatle2
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>
2010-08-23package_rpm: Rewrite the way the spec files are generatedMark Hatle1
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>
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-23insane.bbclass: Update to match the packaging classes when handling OVERRIDESRichard 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-23devshell.bbclass: export the FAKEROOTENV so it can be accessed within the ↵Richard Purdie1
devshell task Signed-off-by: Richard Purdie <rpurdie@linux.intel.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-20base.bbclass: Initial work to add GPLv2 Only Build with Whitelist for GPLv3 ↵Saul Wold1
Native tools [tweaks from Richard Purdie] Signed-off-by: Saul Wold <Saul.Wold@intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Revert "base.bbclass: Temporarily disable fakeroot for install/package until ↵Richard Purdie1
other fixes get merged" This reverts commit 2225e1214285f0e9a3c0ee2962b3d678c5c05292 and reenables the functionality now its safe to do so.
2010-08-19classes: Disable setscene tasks for initial testingRichard Purdie6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19sanity.bbclass: Don't run the handler in worker contextRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19package_*.bbclass: Always run these tasks under fakerootRichard Purdie4
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Remove packaged-staging.bbclassRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19deploy.bbclass: use new style staging for deploy tasksJoshua Lock2
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>
2010-08-19package.bbclass: Implement packaged-staging2Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19staging.bbclass: Convert to packaged-stagingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19package_(deb|rpm): Update to use packaged-staging2Joshua Lock2
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-19package_ipk.bbclass: Convert to new task based stagingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-19Start sstateRichard Purdie1
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>
2010-08-19autotools.bbclass: Drop a number of legacy functions that shouldn't be (and ↵Richard Purdie1
aren't) used in poky now Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-18native.bbclass: Ensure EXTRA_NATIVE_PKGCONFIG_PATH has a default valueRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-17DistroData: Cleanup Version numbers and add DistroData ParserSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-08-17update-rc.d.bbclass: adjust order on tweaking postinstKevin Tian1
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>
2010-08-17kernel.bbclass: Fix adding module dependencies to RDEPENDSJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-08-17cross-canadian.bbclass: Set TOOLCHAIN_OPTIONS to point at the correct sysrootRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-17base.bbclass: Temporarily disable fakeroot for install/package until other ↵Richard Purdie1
fixes get merged Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-13eglibc: import eglibc_2.12 recipe from OENitin A Kamble1
use http proto for svn checkout cosmetic cleanups to metadata Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-08-13kernel-arch: x86-64 is no longer a valid architecture, map it to x86Joshua Lock1
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>
2010-08-13staging.bbclass: mangle *.la for ${base_libdir} tooKevin Tian1
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>
2010-08-13base: Allow unpack to handle localpath=NoneRichard 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-12prelink: Enable image wide prelinkingMark Hatle1
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>
2010-08-12pseudo: Upgrade pseudo and correct problemsMark Hatle1
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>
2010-08-12utility-tasks.bbclass: Use python functions for do_clean instead of ↵Richard Purdie1
os.system, remove pointless [dirs] flag Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-12relocatable.bbclass: Cover libexecdirRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-11meta-ide-support: A dummy recipe to install everthing for target developmentJoshua Lock1
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>
2010-08-11kernel.bbclass: do_deploy should use ${B}, not ${S} (which is what ${B} ↵Richard Purdie1
defaults to) 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.bbclass: Exclude scripts/dtc object filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel/package.bbclass: Handle kernel module stripping centrallyRichard Purdie3
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-10kernel.bbclass: Clean up kernel packaging outputRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04pseudo: Change pseudo integration to better support local DBsMark Hatle1
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>
2010-08-04base.bbclass: Enable fakeroot (pseudo) usage during install and packagingMark Hatle1
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>
2010-08-04package_ipk.bbclass: Fix variable nameRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-04package_ipk: Clean up initial variablesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>