diff options
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 039b6ab69b..9fb128b82b 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -244,11 +244,8 @@ python do_package_ipk () { | |||
244 | conffiles.close() | 244 | conffiles.close() |
245 | 245 | ||
246 | os.chdir(basedir) | 246 | os.chdir(basedir) |
247 | ret = subprocess.call("PATH=\"%s\" %s %s %s" % (localdata.getVar("PATH"), | 247 | subprocess.check_output("PATH=\"%s\" %s %s %s" % (localdata.getVar("PATH"), |
248 | d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True) | 248 | d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir), shell=True) |
249 | if ret != 0: | ||
250 | bb.utils.unlockfile(lf) | ||
251 | bb.fatal("opkg-build execution failed") | ||
252 | 249 | ||
253 | if d.getVar('IPK_SIGN_PACKAGES') == '1': | 250 | if d.getVar('IPK_SIGN_PACKAGES') == '1': |
254 | ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR')) | 251 | ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR')) |