mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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:
committed by
Richard Purdie
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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user