Bug 13028

Summary: ENABLE_BINARY_LOCALE_GENERATION = "0" is now broken by postinst refactoring
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Denys Dmytriyenko <denis>
Component: coreAssignee: Alexander Kanavin <alex.kanavin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie
Version: 2.6   
Target Milestone: 2.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Denys Dmytriyenko 2018-11-19 19:13:42 UTC
ENABLE_BINARY_LOCALE_GENERATION = "0" in local.conf results in this:

WARNING: core-image-base-1.0-r0 do_rootfs: locale-base-en-gb.postinst returned 1, marking as unpacked only, configuration required on target.
WARNING: core-image-base-1.0-r0 do_rootfs: locale-base-en-us.postinst returned 1, marking as unpacked only, configuration required on target.
ERROR: core-image-base-1.0-r0 do_rootfs: Postinstall scriptlets of ['locale-base-en-gb', 'locale-base-en-us'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.