diff options
author | Christopher Larson <kergoth@gmail.com> | 2012-01-04 22:30:37 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:24:47 +0000 |
commit | 28b6f1f36ef07a82aa078589ecb98a8c3c52793b (patch) | |
tree | eabb2a4e582e631cb9949ae35c050f110dc2b892 /meta/recipes-devtools | |
parent | 6126f96a1dc4ec0dc9045232b87ed2276436cf63 (diff) | |
download | poky-28b6f1f36ef07a82aa078589ecb98a8c3c52793b.tar.gz |
opkg-utils: use /usr/bin/env python
(From OE-Core rev: 118cb063b08fc1aeb99c248fde6ef2069496c347)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch | 46 | ||||
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb | 3 |
2 files changed, 48 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch new file mode 100644 index 0000000000..f6a2ef9bdf --- /dev/null +++ b/meta/recipes-devtools/opkg-utils/opkg-utils/shebang.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Use python via the PATH, rather than hardcoding /usr/bin/python | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Christopher Larson <kergoth@gmail.com> | ||
6 | |||
7 | --- opkg-utils.orig/opkg-list-fields | ||
8 | +++ opkg-utils/opkg-list-fields | ||
9 | @@ -1,4 +1,4 @@ | ||
10 | -#!/usr/bin/python | ||
11 | +#!/usr/bin/env python | ||
12 | |||
13 | import sys, opkg | ||
14 | |||
15 | --- opkg-utils.orig/opkg-make-index | ||
16 | +++ opkg-utils/opkg-make-index | ||
17 | @@ -1,4 +1,4 @@ | ||
18 | -#!/usr/bin/python | ||
19 | +#!/usr/bin/env python | ||
20 | |||
21 | import sys, os, posixpath | ||
22 | from glob import glob | ||
23 | --- opkg-utils.orig/opkg-show-deps | ||
24 | +++ opkg-utils/opkg-show-deps | ||
25 | @@ -1,4 +1,4 @@ | ||
26 | -#!/usr/bin/python | ||
27 | +#!/usr/bin/env python | ||
28 | |||
29 | import sys, os, posixpath | ||
30 | from glob import glob | ||
31 | --- opkg-utils.orig/opkg-unbuild | ||
32 | +++ opkg-utils/opkg-unbuild | ||
33 | @@ -1,4 +1,4 @@ | ||
34 | -#!/usr/bin/python | ||
35 | +#!/usr/bin/env python | ||
36 | |||
37 | import sys, os, re | ||
38 | |||
39 | --- opkg-utils.orig/opkg-update-index | ||
40 | +++ opkg-utils/opkg-update-index | ||
41 | @@ -1,4 +1,4 @@ | ||
42 | -#!/usr/bin/env python2.1 | ||
43 | +#!/usr/bin/env python | ||
44 | |||
45 | import sys, os | ||
46 | from glob import glob | ||
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb index 9b94aff023..97021313dc 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb | |||
@@ -8,13 +8,14 @@ RDEPENDS_${PN} = "python" | |||
8 | RDEPENDS_${PN}_virtclass-native = "" | 8 | RDEPENDS_${PN}_virtclass-native = "" |
9 | SRCREV = "4747" | 9 | SRCREV = "4747" |
10 | PV = "0.1.8+svnr${SRCPV}" | 10 | PV = "0.1.8+svnr${SRCPV}" |
11 | PR = "r6" | 11 | PR = "r7" |
12 | 12 | ||
13 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \ | 13 | SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \ |
14 | file://index-ignore-filenotfound.patch \ | 14 | file://index-ignore-filenotfound.patch \ |
15 | file://mtime-int.patch \ | 15 | file://mtime-int.patch \ |
16 | file://add-license-field.patch \ | 16 | file://add-license-field.patch \ |
17 | file://arfile_header_split.patch \ | 17 | file://arfile_header_split.patch \ |
18 | file://shebang.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | S = "${WORKDIR}/opkg-utils" | 21 | S = "${WORKDIR}/opkg-utils" |