diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch b/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch index 255021b4b7..e94a4123dd 100644 --- a/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch +++ b/meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch @@ -21,10 +21,10 @@ index 7bca948..5a1bc44 100644 --- a/libopkg/opkg_conf.h +++ b/libopkg/opkg_conf.h @@ -40,7 +40,7 @@ extern "C" { - #define OPKG_CONF_DEFAULT_STATUS_FILE "/var/lib/opkg/status" - #define OPKG_CONF_DEFAULT_CACHE_DIR "/var/cache/opkg" - #define OPKG_CONF_DEFAULT_CONF_FILE_DIR "/etc/opkg" --#define OPKG_CONF_DEFAULT_LOCK_FILE "/var/run/opkg.lock" + #define OPKG_CONF_DEFAULT_STATUS_FILE VARDIR "/lib/opkg/status" + #define OPKG_CONF_DEFAULT_CACHE_DIR VARDIR "/cache/opkg" + #define OPKG_CONF_DEFAULT_CONF_FILE_DIR SYSCONFDIR "/opkg" +-#define OPKG_CONF_DEFAULT_LOCK_FILE VARDIR "/run/opkg.lock" +#define OPKG_CONF_DEFAULT_LOCK_FILE "/run/opkg.lock" /* In case the config file defines no dest */ |