Permalink
Browse files

opkg: change default tmpdir=/opt/tmp

  • Loading branch information...
zyxmon committed Jun 1, 2018
1 parent 35992b2 commit 83a3b0254da234cd8da9a2014eefdb497d27e818
Showing with 12 additions and 1 deletion.
  1. +1 −1 package/system/opkg/Makefile
  2. +11 −0 package/system/opkg/patches/999-change-default-tmpdir.patch
@@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=opkg
PKG_RELEASE:=17b
PKG_RELEASE:=17c
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=http://git.yoctoproject.org/git/opkg
@@ -0,0 +1,11 @@
--- a/libopkg/opkg_conf.h
+++ b/libopkg/opkg_conf.h
@@ -31,7 +31,7 @@
#include "pkg_dest_list.h"
#include "nv_pair_list.h"
-#define OPKG_CONF_DEFAULT_TMP_DIR_BASE "/tmp"
+#define OPKG_CONF_DEFAULT_TMP_DIR_BASE "/opt/tmp"
#define OPKG_CONF_TMP_DIR_SUFFIX "opkg-XXXXXX"
#define OPKG_CONF_LISTS_DIR OPKG_STATE_DIR_PREFIX "/lists"

0 comments on commit 83a3b02

Please sign in to comment.