diff options
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index e048b41739..014e4094be 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -48,8 +48,7 @@ python package_ipk_install () { | |||
48 | f.close() | 48 | f.close() |
49 | 49 | ||
50 | 50 | ||
51 | if (not os.access(os.path.join(ipkdir,"Packages"), os.R_OK) or | 51 | if not os.access(os.path.join(ipkdir,"Packages"), os.R_OK) or not os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),os.R_OK): |
52 | not os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),os.R_OK): | ||
53 | ret = os.system('opkg-make-index -p %s %s ' % (os.path.join(ipkdir, "Packages"), ipkdir)) | 52 | ret = os.system('opkg-make-index -p %s %s ' % (os.path.join(ipkdir, "Packages"), ipkdir)) |
54 | if (ret != 0 ): | 53 | if (ret != 0 ): |
55 | raise bb.build.FuncFailed | 54 | raise bb.build.FuncFailed |