diff options
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index fb36bad7f3..f6d31a00f7 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -307,3 +307,15 @@ python write_image_test_data() { | |||
307 | os.remove(testdata_link) | 307 | os.remove(testdata_link) |
308 | os.symlink(os.path.basename(testdata), testdata_link) | 308 | os.symlink(os.path.basename(testdata), testdata_link) |
309 | } | 309 | } |
310 | |||
311 | # Check for unsatisfied recommendations (RRECOMMENDS) | ||
312 | python rootfs_log_check_recommends() { | ||
313 | log_path = d.expand("${T}/log.do_rootfs") | ||
314 | with open(log_path, 'r') as log: | ||
315 | for line in log: | ||
316 | if 'log_check' in line: | ||
317 | continue | ||
318 | |||
319 | if 'unsatisfied recommendation for' in line: | ||
320 | bb.warn('[log_check] %s: %s' % (d.getVar('PN', True), line)) | ||
321 | } | ||