Bug 12874

Summary: manpages postinst doesn't work in nativesdk
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: 2.6   
Target Milestone: 2.6 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2018-08-08 20:58:36 UTC
If I enable api-documentation and build a sdk:

WARNING: core-image-sato-1.0-r0 do_populate_sdk: Intentionally failing postinstall scriptlets of ['kmod-doc'] to defer them to first boot is deprecated.
Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.

This isn't an intentionally failing postinst as it doesn't 'exit 1' anywhere, so the postinst doesn't work properly in the context of a SDK.
Comment 1 Richard Purdie 2018-09-13 16:34:09 UTC
I tested this locally with current master and it seems the issues were resolved with the various recent postinst changes and other fixes.