diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package_manager.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 2a07f0e39a..f7e013437c 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -604,6 +604,9 @@ class RpmPM(PackageManager): | |||
604 | if line.startswith("Non-fatal POSTIN scriptlet failure in rpm package"): | 604 | if line.startswith("Non-fatal POSTIN scriptlet failure in rpm package"): |
605 | failed_scriptlets_pkgnames[line.split()[-1]] = True | 605 | failed_scriptlets_pkgnames[line.split()[-1]] = True |
606 | 606 | ||
607 | if len(failed_scriptlets_pkgnames) > 0: | ||
608 | bb.warn("Intentionally failing postinstall scriptlets of %s to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ()." %(list(failed_scriptlets_pkgnames.keys()))) | ||
609 | bb.warn("If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.") | ||
607 | for pkg in failed_scriptlets_pkgnames.keys(): | 610 | for pkg in failed_scriptlets_pkgnames.keys(): |
608 | self.save_rpmpostinst(pkg) | 611 | self.save_rpmpostinst(pkg) |
609 | 612 | ||