diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:52:35 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-16 10:52:35 +0000 |
| commit | 5f22458409d2e1672f5a71f0f7f51ea471a71355 (patch) | |
| tree | e63dbc5b2189a9d6dbfdc0545cdddf092301aaea /meta/classes/debian.bbclass | |
| parent | 01f75c1b48e1a087263427488245c0c79a2f87e3 (diff) | |
| download | poky-5f22458409d2e1672f5a71f0f7f51ea471a71355.tar.gz | |
debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/debian.bbclass')
| -rw-r--r-- | meta/classes/debian.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass index 0afe9fcc39..8f6e7d88cf 100644 --- a/meta/classes/debian.bbclass +++ b/meta/classes/debian.bbclass | |||
| @@ -16,7 +16,7 @@ do_package_write_rpm[rdeptask] = "do_package" | |||
| 16 | python debian_package_name_hook () { | 16 | python debian_package_name_hook () { |
| 17 | import glob, copy, stat, errno, re | 17 | import glob, copy, stat, errno, re |
| 18 | 18 | ||
| 19 | workdir = bb.data.getVar('WORKDIR', d, 1) | 19 | pkgdest = bb.data.getVar('PKGDEST', d, 1) |
| 20 | packages = bb.data.getVar('PACKAGES', d, 1) | 20 | packages = bb.data.getVar('PACKAGES', d, 1) |
| 21 | 21 | ||
| 22 | def socrunch(s): | 22 | def socrunch(s): |
| @@ -45,7 +45,7 @@ python debian_package_name_hook () { | |||
| 45 | sonames = [] | 45 | sonames = [] |
| 46 | has_bins = 0 | 46 | has_bins = 0 |
| 47 | has_libs = 0 | 47 | has_libs = 0 |
| 48 | pkg_dir = os.path.join(workdir, "install", orig_pkg) | 48 | pkg_dir = os.path.join(pkgdest, orig_pkg) |
| 49 | for root, dirs, files in os.walk(pkg_dir): | 49 | for root, dirs, files in os.walk(pkg_dir): |
| 50 | if bin_re.match(root) and files: | 50 | if bin_re.match(root) and files: |
| 51 | has_bins = 1 | 51 | has_bins = 1 |
