summaryrefslogtreecommitdiff
path: root/meta/classes/sstate.bbclass
AgeCommit message (Collapse)AuthorFiles
2010-11-14sstate.bbclass: Remove the temp sstate-build-* directories in WORKDIRDongxiao Xu1
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>
2010-11-13bitbake/fetch: Allow checking of a single url at a time (massive sstate ↵Richard Purdie1
speed improvement) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-13sstate.bbclass: Only create symlinks to different localpath urls if the ↵Richard Purdie1
fetch succeeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02sstate: Provide a temporary mechanism to stop collisions between toolchain ↵Richard Purdie1
components in builds from scratch using sstate Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22sstate: Fix mirror handling for file:// urlsRichard Purdie1
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>
2010-10-22sstate: Fix broken plaindirs supportRichard Purdie1
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>
2010-10-22base/sstate: Add cleanall task to remove downloads and sstate cached filesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-07sstate: Fix SSTAGE_MIRRORS handling and improve example in local.conf.sampleRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-05bitbake/sstate: Implement a lookup function to speed up setscene processingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-01sstate: Deal with a potential race when cleaning packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29sstate: list directories in child first order in the manifest fileJoshua Lock1
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>
2010-09-29sstate.bbclass: Add signature hash to sstate package namesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie1
unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29sstate.bbclass: pstage -> sstate name changes (no global implications)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29sstate.bbclass: Rename PSTAGE2 -> SSTATERichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-13sstate: Trigger generation of siggen info when building sstate packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-10sstate: Add sstate-interceptfuncs called between install and packageJeff Polk1
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>
2010-09-07sstate: Make sure the sstate function is the last to run, not the firstRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-03sstate: Handle symlink directory entries correctlyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-31sstate: fix dir name in manifestKevin Tian1
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>
2010-08-31sstate: make do_cleanup really workingKevin Tian1
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>
2010-08-27sstate/utility-tasks: Ensure do_clean functions correctly and removes shared ↵Richard Purdie1
state Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27sstate: Run sstate_cleanall() as part of do_setscene()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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-19Rename packaged-staging2 -> sstate and remove the old empty classRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>