summaryrefslogtreecommitdiffstats
path: root/recipes/opkg/opkg.inc
diff options
context:
space:
mode:
authorChris Larson <clarson@mvista.com>2009-10-05 18:22:03 -0700
committerChris Larson <clarson@mvista.com>2009-11-03 13:56:13 -0700
commitf1d0fab3acc99d329deb0338fc51921e32fbe6f4 (patch)
treeb18dfe8a31dff3edccb91ef54974507306e91b2a /recipes/opkg/opkg.inc
parent1632c44d94d986f4933ae04e034f3fda11fb7e0b (diff)
downloadopenembedded-f1d0fab3acc99d329deb0338fc51921e32fbe6f4.tar.gz
opkg: Don't prompt for user input from stdin if it's not a tty.
Also fixes a minor memory leak while we're at it, as the code was strdup'ing the malloc'd string read from stdin without ever freeing the original. Signed-off-by: Chris Larson <clarson@mvista.com>
Diffstat (limited to 'recipes/opkg/opkg.inc')
-rw-r--r--recipes/opkg/opkg.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/opkg/opkg.inc b/recipes/opkg/opkg.inc
index c146c75b79..aa91955c3a 100644
--- a/recipes/opkg/opkg.inc
+++ b/recipes/opkg/opkg.inc
@@ -4,13 +4,14 @@ SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme"
PV = "0.1.6+svnr${SRCREV}"
-INC_PR = "r15"
+INC_PR = "r16"
FILESPATHPKG =. "opkg:"
SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
file://opkg_unarchive.patch;patch=1;maxrev=201 \
- file://opkg-intercept-cleanup.patch;patch=1"
+ file://opkg-intercept-cleanup.patch;patch=1 \
+ file://isatty.patch;patch=1"
SRC_URI += "file://configure"