Bug 12874 - manpages postinst doesn't work in nativesdk
Summary: manpages postinst doesn't work in nativesdk
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.6
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.6 M3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-08-08 20:58 UTC by Ross Burton
Modified: 2018-09-13 16:34 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.