X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=blobdiff_plain;f=conf%2Funit%2Fmacros.inc;h=30322cbca8514ed1eb2e07907be03bdf5de9acb8;hp=ca72b95f6f48bdb1bb8a8551767dd7a56725493f;hb=1289070816089908e9974b0b2495fab093d325ed;hpb=a6fb7793f766a258350f23a9180228ce31320fc3 diff --git a/conf/unit/macros.inc b/conf/unit/macros.inc index ca72b95..30322cb 100644 --- a/conf/unit/macros.inc +++ b/conf/unit/macros.inc @@ -59,8 +59,8 @@ define( `USER_RUN_DIR', `@afm_users_rundir@/%i') define( `DEBUGGING_DIR', `@afm_platform_rundir@/debug') define( `PLATFORM_RUN_DIR', `@afm_platform_rundir@') -define( `APP_DATA_DIR', `ON_PERM(`:partner:scope-platform', `/tmp', `/home/%i/app-data')') -define( `APP_WORK_DIR', `ON_PERM(`:partner:scope-platform', `/tmp', `APP_DATA_DIR/{{:id}}')') +define( `APP_DATA_DIR', `ON_PERM(`:partner:scope-platform', `@afm_scope_platform_dir@', `/home/%i/app-data')') +define( `APP_WORK_DIR', `APP_DATA_DIR/{{:id}}') define( `RUN_DIR', `ON_PERM(`:partner:scope-platform', `PLATFORM_RUN_DIR', `USER_RUN_DIR')') define( `API_PATH', `RUN_DIR/apis')