]> code.ossystems Code Review - openembedded-core.git/commit
Start sstate
authorRichard Purdie <rpurdie@linux.intel.com>
Wed, 4 Aug 2010 10:34:18 +0000 (11:34 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 19 Aug 2010 19:06:25 +0000 (20:06 +0100)
commitc7a80295702a65c4bd528accbb4bb6f9998505f5
treee6afb04f1cb850460e10b47fb15ce007a1ba5d5b
parent787c1cf81195e97dda5fdab3a0a5d8bda97f6770
Start sstate
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>
meta/classes/packaged-staging2.bbclass [new file with mode: 0644]
meta/conf/distro/poky.conf