| Summary: | Incremental RPM generation doesn't work with 1.3 M4 branch | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stefan Stanacar <sstncr> | ||||||
| Component: | core | Assignee: | Robert Yang <liezhi.yang> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, richard.purdie, sgw, yi.zhao, zhenfeng.zhao | ||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | 1.3 M5 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | --- | |||||||
| Attachments: |
|
||||||||
|
Description
Stefan Stanacar
2012-09-18 15:25:00 UTC
Created attachment 813 [details]
first log.do_rootfs
Created attachment 814 [details]
second log.do_rootfs
Hi Stefan, Thanks for reporting this, but I'm afraid that this is not a bug, here are the explanations: 1) We have divided the rootfs generation into 3 steps in a normal build: a) Initial install: install the base-passwd, base-files and shadow package b) Main install: Most of the packages will be installed here. c) Complementary install: Usually, the locale packages 2) In the incremental image generation (The second build): a) Initial install: skipped b) Main install: The incremental image generation happened here, it need remove the "Complementary install" packages completely since we don't know which complementary package is needed (suppose several packages have been removed). c) Complementary install: Re-generated the packages and install them, it must be generated based on the rootfs from main install, different main install will cause different complementary packages. There are similar explanations in the package_rpm.bbclass. So what in the second log.do_rootfs are the complementary packages, usually , the complementary list is not long, there are 18 packages as the log shows. I hope this help, please let me know if you have any questions. The latest change to package_rpm.bbclass broke the incremental image generation again, the error is: cat initial_solution.manifest: No such file or directory it's not the same error as this bug described, but it may change the result of the complementary installation, so I re-opened it. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=598528484c15a387e447aa0c7e232cbbbb7ffb24 Verified with 1.3 M5 RC3. gitinfo: danny/86c9aa8081f107420cd3763d0566d779daddc2b1 |