diff options
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index e69745665f..6dceb284bc 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -115,7 +115,7 @@ package_generate_ipkg_conf () { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | python do_package_ipk () { | 117 | python do_package_ipk () { |
118 | import sys, re, fcntl, copy | 118 | import sys, re, copy |
119 | 119 | ||
120 | workdir = bb.data.getVar('WORKDIR', d, 1) | 120 | workdir = bb.data.getVar('WORKDIR', d, 1) |
121 | if not workdir: | 121 | if not workdir: |
@@ -154,7 +154,8 @@ python do_package_ipk () { | |||
154 | 154 | ||
155 | for pkg in packages.split(): | 155 | for pkg in packages.split(): |
156 | localdata = bb.data.createCopy(d) | 156 | localdata = bb.data.createCopy(d) |
157 | root = "%s/install/%s" % (workdir, pkg) | 157 | pkgdest = bb.data.getVar('PKGDEST', d, 1) |
158 | root = "%s/%s" % (pkgdest, pkg) | ||
158 | 159 | ||
159 | lf = bb.utils.lockfile(root + ".lock") | 160 | lf = bb.utils.lockfile(root + ".lock") |
160 | 161 | ||