summaryrefslogtreecommitdiff
path: root/mapping
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2007-01-11 01:42:01 +0200
committerLauri Leukkunen <lleukkun@leka.rahina.org>2007-01-11 01:42:01 +0200
commit1ff33003e8915627d605a90490bed2f9c7524adc (patch)
tree1a3f9d197ede968ff17e0155c5e71c067c82123c /mapping
parent657b20c1bb0cffdfea36c8d83cf3f9ca57fd9d60 (diff)
* make sb2 --verbose output debug log to $buildroot/sb2_mapping.log
Diffstat (limited to 'mapping')
-rw-r--r--mapping/mapping.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mapping/mapping.c b/mapping/mapping.c
index f74b819..4a2fbdc 100644
--- a/mapping/mapping.c
+++ b/mapping/mapping.c
@@ -188,6 +188,9 @@ static char *read_sb2cache(const char *binary_name, const char *func_name, const
{
char *link_path = NULL;
struct stat64 s;
+
+ if (getenv("SBOX_DISABLE_MAPPING_CACHE")) return NULL;
+
char *cache_path = create_sb2cache_path(binary_name, func_name, path);
if (lstat64(cache_path, &s) < 0 ||