summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-01-08 11:26:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-11 23:26:33 +0000
commit7b905caf60b1d47e6ff1548ce134a5b678418534 (patch)
tree3eb999718974255f5e999e3e56f552ca8afb5b4a
parentdff7a277e31d62d32938cc676db3d8cc0242924d (diff)
downloadpoky-7b905caf60b1d47e6ff1548ce134a5b678418534.tar.gz
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>
-rw-r--r--bitbake/lib/toaster/toastermain/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastermain/settings.py b/bitbake/lib/toaster/toastermain/settings.py
index b6bdcd8e3e..74103f3063 100644
--- a/bitbake/lib/toaster/toastermain/settings.py
+++ b/bitbake/lib/toaster/toastermain/settings.py
@@ -229,7 +229,7 @@ CACHES = {
229 # }, 229 # },
230 'default': { 230 'default': {
231 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', 231 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
232 'LOCATION': '/tmp/django-default-cache', 232 'LOCATION': '/tmp/toaster_cache_%d' % os.getuid(),
233 'TIMEOUT': 1, 233 'TIMEOUT': 1,
234 } 234 }
235 } 235 }