summaryrefslogtreecommitdiffstats
path: root/meta/classes/packaged-staging.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Disable packaged-staging for cross-linkage/staging-linkage and ↵Richard Purdie2009-11-191-0/+3
| | | | | | external-poky-toolchain Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Fix staging reference -> sysrootsRichard Purdie2009-11-161-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging: Fix libdir references to use libdir_nativeRichard Purdie2009-11-161-8/+7
| | | | 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-14/+14
| | | | | | | | | | | | | 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-12/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Various staging improvement fixupsRichard Purdie2009-11-131-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Rework staging function to use a DESTDIR style configuration ↵Richard Purdie2009-11-131-42/+11
| | | | | | based on the data from the do_install step. This falls back to any standard do_stage function if defined, see the mailing list for more info. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Use a variable for the location of the staging ↵Richard Purdie2009-11-131-5/+4
| | | | | | lock file Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging: Whitelist the empty base_do_stage function as it does ↵Richard Purdie2009-10-281-1/+4
| | | | | | nothing and locks need not be held Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass Use libdir_native for opkg paths in directory creationRichard Purdie2009-09-171-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-171-8/+8
| | | | | | | | | | | | Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Fix for packages which don't stage anythingRichard Purdie2009-06-121-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbckass: Add option of setting PSTAGE_BROKEN_DESTDIR to ↵Richard Purdie2009-06-111-2/+5
| | | | | | disable packaged staging acceleration for packages with broken DESTDIR handling Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Turn off debugRichard Purdie2009-06-111-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Detect when we're using autotools_stage_all and ↵Richard Purdie2009-06-111-3/+37
| | | | | | don't hold the lock for as long when that is the case giving a significant performance boost with less lock contention and staging area file timestamp checking required Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Fix accidental debug additionRichard Purdie2009-06-081-8/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* packaged-staging.bbclass: Add support for mangling .la files so the staging ↵Richard Purdie2009-06-041-5/+29
| | | | | | directory path can change. Someday libtool will support sysroot but until then... Signed-off-by: Richard Purdie <richard@ted.(none)>
* packaged-staging.bbclass: Ignore errors resulting from parallel threads clashingRichard Purdie2008-11-041-2/+1
|
* packaged-staging.bbclass: Make sure target directory exists, fixing build ↵Richard Purdie2008-11-031-0/+1
| | | | failures
* packaged-staging.bbclass: Avoid removing the staging.lock lock file.Robert Bradford2008-10-201-0/+3
| | | | | | | | The pstage_manualclean function can be called on a directory containing an actively held lock on staging. Removing the lock file whilst the lock is held results in a failure when the lock is released. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5553 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Add rpm package coverageRichard Purdie2008-10-021-0/+14
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5382 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Add OELAYOUT_ABI to the package paths so staging ↵Richard Purdie2008-07-241-1/+1
| | | | | | packages become abi specific git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4939 311d38ba-8fff-0310-9ca6-ca027cbcb966
* cross.bbclass: Preserve BASE_PACKAGE_ARCH variable when chaging HOST_ARCHRichard Purdie2008-07-191-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4894 311d38ba-8fff-0310-9ca6-ca027cbcb966
* bitbake.conf: Set MULTIMACH_ARCH to a default valueRichard Purdie2008-07-171-3/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4861 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: force symlinking as ipkg->opkg link can be presentMarcin Juszkiewicz2008-07-021-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4758 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging: allow to set DEPLOY_DIR_PSTAGE in local.confMarcin Juszkiewicz2008-07-011-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4754 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Fix indentationRichard Purdie2008-06-131-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4647 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: create the opkg directories as required (from Richard)Ross Burton2008-06-131-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4646 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Tweak package install commandRichard Purdie2008-06-061-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4598 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: The staging_packager function should not be ↵Richard Purdie2008-05-211-1/+0
| | | | | | installing the package, that is the job of the staging_package_installer() function which is called with the correct locks held git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4531 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Make the class compatible with opkg, ipkg and ↵Richard Purdie2008-05-181-37/+43
| | | | | | ipkg-sh and allow auto switching between whichever is available. Fix task dependencies in BB_STAMP_POLICY == whitelist case. Remove now unneeded basic dependencies. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4492 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Execute staging_helper earlier to make sure the ↵Richard Purdie2008-05-181-5/+15
| | | | | | configuration file exists when needed. When installing the package after building make sure the control and list files are created. Use stage-manager-ipkg-build instead of needing ipkg-utils-native git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4488 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Improve postamble exit code handlingRichard Purdie2008-05-161-0/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4484 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Add code to handle checking the stamp dependency ↵Richard Purdie2008-05-141-12/+56
| | | | | | tree properly git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4472 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Set BB_STAMP_WHITELIST with packaged-staging ↵Richard Purdie2008-05-041-11/+11
| | | | | | tasks, update package location code to deal with packaged which don't exist, preserve stamp timestamps when copying them git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4410 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Fixup do_prepackaged_stage referencesRichard Purdie2008-05-011-3/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4402 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Fix variable name typoRichard Purdie2008-04-301-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4375 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging.bbclass: Fix install race, improve staging cleaning functions.Richard Purdie2008-04-281-16/+48
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4358 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add setscene task to handle preparing the work area at the ↵Richard Purdie2008-04-271-9/+4
| | | | | | start of a given task, fixing the handling of the rebuild task. This task removes the need for do_prepackaged_stage in packaged-staging.bbclass. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4351 311d38ba-8fff-0310-9ca6-ca027cbcb966
* packaged-staging: Make sure the task is part of the default tasks chainRichard Purdie2008-04-231-1/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4314 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Add packaged-staging.bbclass (from OE.dev)Richard Purdie2008-04-221-0/+322
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4308 311d38ba-8fff-0310-9ca6-ca027cbcb966