summaryrefslogtreecommitdiff
path: root/recipes-devtools/opkg/files/0003-opkg_conf-create-opkg.lock-in-run-lock-instead-of-run.patch
blob: 794f82d7c54b6267a1d9d4130ca89092e3f84ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naru old/libopkg/opkg_conf.h new/libopkg/opkg_conf.h
--- old/libopkg/opkg_conf.h	2017-08-03 17:47:57.375435517 -0500
+++ new/libopkg/opkg_conf.h	2017-08-03 17:48:55.499433796 -0500
@@ -40,7 +40,7 @@
 #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     "/run/opkg.lock"
+#define OPKG_CONF_DEFAULT_LOCK_FILE     "/run/lock/opkg.lock"
 
 /* In case the config file defines no dest */
 #define OPKG_CONF_DEFAULT_DEST_NAME "root"