Bug 13028 - ENABLE_BINARY_LOCALE_GENERATION = "0" is now broken by postinst refactoring
Summary: ENABLE_BINARY_LOCALE_GENERATION = "0" is now broken by postinst refactoring
Status: RESOLVED FIXED
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.7 M1
Assignee: Alexander Kanavin
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-11-19 19:13 UTC by Denys Dmytriyenko
Modified: 2018-12-03 20:18 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

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