summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* sstate.bbclass: Remove the temp sstate-build-* directories in WORKDIRDongxiao Xu2010-11-141-0/+3
| | | | | | | | Remove the temp sstate-build-* directoies. Take poky-image-minimal as an example, this saves about 17% disk space. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake/fetch: Allow checking of a single url at a time (massive sstate ↵Richard Purdie2010-11-131-1/+1
| | | | | | speed improvement) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Only create symlinks to different localpath urls if the ↵Richard Purdie2010-11-131-2/+3
| | | | | | fetch succeeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Provide a temporary mechanism to stop collisions between toolchain ↵Richard Purdie2010-11-021-1/+27
| | | | | | components in builds from scratch using sstate Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix mirror handling for file:// urlsRichard Purdie2010-10-221-4/+11
| | | | | | | | | | The fetcher has special handling for file:// mirror urls, being efficient and just providing an updated path. Unfortunately the sstate fetching code wasn't able to handle this. This patch detects this and injects a symlink to ensure everything works. It also fixes some datastore references to be correct and ensures the sstate download directory exists if it doesn't already. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix broken plaindirs supportRichard Purdie2010-10-221-2/+6
| | | | | | | | | | | When installing a sstate package, directories tracked by plaindirs were being installed to the incorrect location. With the current implementation this was limited to the do_package task. This patch ensures plaindirs tracked files are created in the correct location, fixing the bug where these files would go missing. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base/sstate: Add cleanall task to remove downloads and sstate cached filesRichard Purdie2010-10-221-5/+16
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix SSTAGE_MIRRORS handling and improve example in local.conf.sampleRichard Purdie2010-10-071-9/+43
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/sstate: Implement a lookup function to speed up setscene processingRichard Purdie2010-10-051-0/+26
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Deal with a potential race when cleaning packagesRichard Purdie2010-10-011-7/+12
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: list directories in child first order in the manifest fileJoshua Lock2010-09-291-2/+4
| | | | | | | | | | The directory list in the manifest file needs to be sorted such that child directories are deleted first. Fortunately as the list is generated by walking the directory tree achieving this is as simple as reversing the directory list. Fixes [BUGID #269] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* sstate.bbclass: Add signature hash to sstate package namesRichard Purdie2010-09-291-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie2010-09-291-12/+8
| | | | | | unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: pstage -> sstate name changes (no global implications)Richard Purdie2010-09-291-29/+29
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Rename PSTAGE2 -> SSTATERichard Purdie2010-09-291-35/+35
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Trigger generation of siggen info when building sstate packagesRichard Purdie2010-09-131-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Add sstate-interceptfuncs called between install and packageJeff Polk2010-09-101-0/+4
| | | | | | | Adds the ability to impose intercept function call(s) after sstate_install and before sstate_package in sstate_task_postfunc. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* sstate: Make sure the sstate function is the last to run, not the firstRichard Purdie2010-09-071-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Handle symlink directory entries correctlyRichard Purdie2010-09-031-2/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: fix dir name in manifestKevin Tian2010-08-311-4/+7
| | | | | | | | | | | | dir name in manifest is incorrect: /media/disk/builds/master-arm/tmp/sysroots/usr/ /media/disk/builds/master-arm/tmp/sysroots/lib/ /media/disk/builds/master-arm/tmp/sysroots/include/ Also add one debug note when removing manifest entries Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* sstate: make do_cleanup really workingKevin Tian2010-08-311-1/+2
| | | | | | | | | there's a bug in creating manifest_pattern, which means actually with new sstate do_cleanup hasn't worked yet We can use PSTAGE2_MANFILEPREFIX easily for this purpose. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* sstate/utility-tasks: Ensure do_clean functions correctly and removes shared ↵Richard Purdie2010-08-271-4/+5
| | | | | | state Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Run sstate_cleanall() as part of do_setscene()Richard Purdie2010-08-271-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: fix architecture of sstate archivesJoshua Lock2010-08-251-3/+3
| | | | | | | | | | 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>
* Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie2010-08-191-0/+297
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>