diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2011-06-21 00:25:22 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2011-06-21 00:25:22 +0200 |
commit | a5a031d997ef8ce30b43d61b8734fd386b477a99 (patch) | |
tree | a0ed90e85cc6485d3360830367a02edc7cbf8c20 /rules/opkg.make | |
parent | d4bd82bf3c70629cfca6fd3b761f438a5b4be161 (diff) | |
download | ptxdist-a5a031d997ef8ce30b43d61b8734fd386b477a99.tar.gz ptxdist-a5a031d997ef8ce30b43d61b8734fd386b477a99.tar.xz |
opkg: fix lockfile and cmdline name
* The lockfile must be on a writable filesystem, we put it into /var/lock
* Let's name the commandline tool opkg, not opkg-cl
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/opkg.make')
-rw-r--r-- | rules/opkg.make | 5 |
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) |