diff options
| author | Sergey Lapin <slapin@ossfans.org> | 2009-11-20 04:48:57 +0300 |
|---|---|---|
| committer | Sergey Lapin <slapin@ossfans.org> | 2009-11-20 04:48:57 +0300 |
| commit | b7ca90501a633c4434904a7ce49403656edbcc22 (patch) | |
| tree | 17209a712dcf8c91bf6e69e3eaf982e3306adf3b /classes/debian.bbclass | |
| parent | c9d89f888ec69245c56358b454f37cffd8bb87ac (diff) | |
| parent | 7a880a7050b915ea498329242bf5ebc71948301b (diff) | |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/debian.bbclass')
| -rw-r--r-- | classes/debian.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/debian.bbclass b/classes/debian.bbclass index 0afe9fcc39..8f6e7d88cf 100644 --- a/classes/debian.bbclass +++ b/classes/debian.bbclass @@ -16,7 +16,7 @@ do_package_write_rpm[rdeptask] = "do_package" python debian_package_name_hook () { import glob, copy, stat, errno, re - workdir = bb.data.getVar('WORKDIR', d, 1) + pkgdest = bb.data.getVar('PKGDEST', d, 1) packages = bb.data.getVar('PACKAGES', d, 1) def socrunch(s): @@ -45,7 +45,7 @@ python debian_package_name_hook () { sonames = [] has_bins = 0 has_libs = 0 - pkg_dir = os.path.join(workdir, "install", orig_pkg) + pkg_dir = os.path.join(pkgdest, orig_pkg) for root, dirs, files in os.walk(pkg_dir): if bin_re.match(root) and files: has_bins = 1 |
