| Summary: | rpm is broken on 1.5 M2 RC1 lsb images | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stoicescu Cornel <corneliux.stoicescu> |
| Component: | devtools / tool chain | Assignee: | Chen Qi <Qi.Chen> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.c.georgescu, mark.hatle, meta.mr.watcher, meta.watcher, Qi.Chen, sgw |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 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
Stoicescu Cornel
2013-07-04 11:50:55 UTC
I think this should be assigned to another person since Bogdan is no longer working on the Yocto project. I attempted to reproduce this issue with core-image-basic. The package manager and related files were there as expected in my configuration. Looking at the code, if the system is configured without 'package-management' enabled in IMAGES_FEATURES, then the RPM database and related smart database will be erased. Previously, only core-image-minimal will remove he packaging data files. Now the logic has changed, if package-management is not in 'IMAGE_FEATURES', the packaging data files will be deleted. commit 1ce182e79e6c588de4ca372587c0797bc0cb7e80 Author: Laurentiu Palcu <laurentiu.palcu@intel.com> Date: Tue May 21 14:27:49 2013 +0300 image.bbclass: remove unneeded files from the image This patch creates a new function, rootfs_remove_unneeded(), that will be called after rootfs_*_do_rootfs is called and which will handle delayed postinstalls in a generic fashion, for all backends in the same way. Adding 'package-management' to core-image-lsb will do the fix. LSB does require a package manager available. //Chen Qi merged into poky/master: a8cd0fcf05e8eaf2af3d2346b5b46ac9f2d8dadc http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c66228663177896458488eb058af4cd17a272424 This issue is not present in latest 1.5 M5 RC5 build. Setting to VERIFIED for: poky master:4d8ab87d25ea6e59dc88375813ef88ee0ac813d0 |