diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/prexport.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/primport.bbclass | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/prexport.bbclass b/meta/classes/prexport.bbclass index 5b5b707a88..2b16a66942 100644 --- a/meta/classes/prexport.bbclass +++ b/meta/classes/prexport.bbclass | |||
@@ -21,11 +21,13 @@ python prexport_handler () { | |||
21 | bb.fatal("prexport_handler: export failed!") | 21 | bb.fatal("prexport_handler: export failed!") |
22 | (metainfo, datainfo) = retval | 22 | (metainfo, datainfo) = retval |
23 | if not datainfo: | 23 | if not datainfo: |
24 | bb.error("prexport_handler: No AUROPR values found for %s" % ver) | 24 | bb.warn("prexport_handler: No AUROPR values found for %s" % ver) |
25 | return | 25 | return |
26 | oe.prservice.prserv_export_tofile(e.data, None, datainfo, False) | 26 | oe.prservice.prserv_export_tofile(e.data, None, datainfo, False) |
27 | elif isinstance(e, bb.event.ParseStarted): | 27 | elif isinstance(e, bb.event.ParseStarted): |
28 | import bb.utils | 28 | import bb.utils |
29 | import oe.prservice | ||
30 | oe.prservice.prserv_check_avail(e.data) | ||
29 | #remove dumpfile | 31 | #remove dumpfile |
30 | bb.utils.remove(e.data.getVar('PRSERV_DUMPFILE', True)) | 32 | bb.utils.remove(e.data.getVar('PRSERV_DUMPFILE', True)) |
31 | elif isinstance(e, bb.event.ParseCompleted): | 33 | elif isinstance(e, bb.event.ParseCompleted): |
diff --git a/meta/classes/primport.bbclass b/meta/classes/primport.bbclass index 08e5a8f426..37b0d6b1b7 100644 --- a/meta/classes/primport.bbclass +++ b/meta/classes/primport.bbclass | |||
@@ -12,6 +12,9 @@ python primport_handler () { | |||
12 | 12 | ||
13 | for (version, pkgarch, checksum, value) in imported: | 13 | for (version, pkgarch, checksum, value) in imported: |
14 | bb.note("imported (%s,%s,%s,%d)" % (version, pkgarch, checksum, value)) | 14 | bb.note("imported (%s,%s,%s,%d)" % (version, pkgarch, checksum, value)) |
15 | elif isinstance(e, bb.event.ParseStarted): | ||
16 | import oe.prservice | ||
17 | oe.prservice.prserv_check_avail(e.data) | ||
15 | } | 18 | } |
16 | 19 | ||
17 | addhandler primport_handler | 20 | addhandler primport_handler |