summaryrefslogtreecommitdiffstats
path: root/rules/opkg.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/opkg.make')
-rw-r--r--rules/opkg.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/opkg.make b/rules/opkg.make
index 982215697..29719e45f 100644
--- a/rules/opkg.make
+++ b/rules/opkg.make
@@ -37,7 +37,8 @@ OPKG_ENV := $(CROSS_ENV)
OPKG_CONF_TOOL := autoconf
OPKG_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
- --enable-shave
+ --enable-shave \
+ --with-opkglockfile=/var/lock/opkg.lock
ifdef PTXCONF_OPKG_PATHFINDER
OPKG_CONF_OPT += --enable-pathfinder
@@ -88,7 +89,7 @@ ifdef PTXCONF_OPKG_GPG
@$(call install_copy, opkg, 0, 0, 0755, -, /usr/bin/opkg-key)
endif
# @$(call install_copy, opkg, 0, 0, 0755, -, /usr/bin/update-alternatives)
- @$(call install_copy, opkg, 0, 0, 0755, -, /usr/bin/opkg-cl)
+ @$(call install_copy, opkg, 0, 0, 0755, $(OPKG_DIR)/src/opkg-cl, /usr/bin/opkg)
@$(call install_copy, opkg, 0, 0, 0755, -, /usr/share/opkg/intercept/ldconfig)
@$(call install_copy, opkg, 0, 0, 0755, -, /usr/share/opkg/intercept/depmod)