diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch b/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch new file mode 100644 index 0000000000..a67f389bac --- /dev/null +++ b/meta/recipes-devtools/opkg/opkg/offlineroot_varname.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | OE uses D as the offline install directory in its scripts, not PKG_ROOT. | ||
2 | |||
3 | Upstream-Status: Inappropriate [OE specific usage] | ||
4 | |||
5 | RP 2011/12/15 | ||
6 | |||
7 | Index: trunk/libopkg/pkg.c | ||
8 | =================================================================== | ||
9 | --- trunk.orig/libopkg/pkg.c 2011-12-15 15:58:39.000000000 +0000 | ||
10 | +++ trunk/libopkg/pkg.c 2011-12-15 20:04:50.109992736 +0000 | ||
11 | @@ -1280,7 +1280,7 @@ | ||
12 | |||
13 | opkg_msg(INFO, "Running script %s.\n", path); | ||
14 | |||
15 | - setenv("PKG_ROOT", | ||
16 | + setenv("D", | ||
17 | pkg->dest ? pkg->dest->root_dir : conf->default_dest->root_dir, 1); | ||
18 | |||
19 | if (! file_exists(path)) { | ||
20 | |||