sstate.bbclass: skip packaging if SSTATE_SKIP_CREATION is set
SSTATE_SKIP_CREATION variable will be used to skip creation of sstate .tgz files. It makes sense for image creation tasks as tarring images and keeping them in sstate would consume a lot of disk space. (From OE-Core rev: 7e821ccd221916ae8482b9113df2de704f4a99a4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ea1d3ff7b5
commit
180eebf976
|
@ -566,6 +566,8 @@ def sstate_package(ss, d):
|
|||
for state in ss['dirs']:
|
||||
if not os.path.exists(state[1]):
|
||||
continue
|
||||
if d.getVar('SSTATE_SKIP_CREATION', True) == '1':
|
||||
continue
|
||||
srcbase = state[0].rstrip("/").rsplit('/', 1)[0]
|
||||
for walkroot, dirs, files in os.walk(state[1]):
|
||||
for file in files:
|
||||
|
|
Loading…
Reference in New Issue