mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
update.py: ensure TMPDIR gets created before starting parse
We don't go through the normal code path where this directory would be created, and if it doesn't exist an error will be thrown in insane.bbclass when any QA issue is logged; so create it manually. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
65d3f55925
commit
98eed250bc
|
@ -293,6 +293,10 @@ def main():
|
|||
# why won't they just fix that?!)
|
||||
tinfoil.config_data.setVar('LICENSE', '')
|
||||
|
||||
# Ensure TMPDIR exists (or insane.bbclass will blow up trying to write to the QA log)
|
||||
oe_tmpdir = tinfoil.config_data.getVar('TMPDIR', True)
|
||||
os.makedirs(oe_tmpdir)
|
||||
|
||||
# Process and extract data from each layer
|
||||
for layer in layerquery:
|
||||
transaction.enter_transaction_management()
|
||||
|
|
Loading…
Reference in New Issue
Block a user