bitbake: toaster: settings Add uid to the toaster cache dir
Make the default toaster cache dir unique to the user running toaster. If we have multiple users running toaster we previously got a permission denied exception on saving a cache file. [YOCTO #8782] (Bitbake rev: 5207abdf58019271bf92bff4bcce3911b8691508) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dff7a277e3
commit
7b905caf60
|
@ -229,7 +229,7 @@ CACHES = {
|
|||
# },
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
|
||||
'LOCATION': '/tmp/django-default-cache',
|
||||
'LOCATION': '/tmp/toaster_cache_%d' % os.getuid(),
|
||||
'TIMEOUT': 1,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue