Bug 14851 - Locale archive creation breaks package feed
Summary: Locale archive creation breaks package feed
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 3.1.14
Hardware: x86 x86_64
: Medium normal
Target Milestone: 3.1.19
Assignee: Steve Sakoman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-07-01 02:34 UTC by Jate Sujjavanich
Modified: 2022-07-19 18:59 UTC (History)
1 user (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 Jate Sujjavanich 2022-07-01 02:34:27 UTC
The locale archive creation code within meta/lib/oe/package_manager.py create an archive and removes locale packages (glibc-binary-localedata-*). However, this breaks package upgrades in my distribution. I am using RPM. This is because the there is a dependency between locale-base-en-us and glibc-binary-locale-data-en-us, for example.

I have a local patch which adds a variable which disables the archive generation and locale archive. This is okay for me because I am using a low number of locales and there is not much space savings.

Another fix might include modifying glibc changing the DEPENDS to a RRECOMMENDS. There would have to be upgrades of archives outside of the package manager, however.
Comment 1 Jate Sujjavanich 2022-07-06 17:19:31 UTC
This was fixed on the master branch. lib/oe/package_manager.py was converted to a module/directory lib/oe/package_manager/__init__.py. The patch applies, so I've submitted it to the mailing list.