| Summary: | Package dependency is not quite right | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Hob | Reporter: | Jessica <jessica.zhang> |
| Component: | hob | Assignee: | Joshua Lock - Disabled <josh> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | jessica.zhang, jiajun.xu, lianhao.lu, liping.ke, poky.bs.watcher, poky.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Jessica
2011-08-08 17:26:07 UTC
Synced with Josh regarding the algorithm and it should be if package is removed all its dependents (Brought in by) will be removed. All the dependents packages removal will trigger all the packages that they're depends on be removed as well. For example, for core-image-minimal, udev depends on acl. So remove acl will trigger udev be removed as well. Removing udev will trigger removing glib-2.0, linux-libc-headers, pciutils, usbutils, udev-extraconf which it depends on as well. And removing glib-2.0 will trigger further removing dbus which it depends on, and so forth... Based on this algorithm, and Josh WIP progress patch, I can see all the packages' removing chain reaction is working correctly for the core-image-minimal acl case, origin image contains 48 packages, after removing acl 30 packages left. Except for package attr, which acl depends on. With acl being removed, attr should also be removed since no other package depends on it. The other issue observed is if I select removing attr, I'd expect 29 packages left since from the information provided by hob, I can only see single relationship between acl and attr. But the reality is if I select remove attr, I'll be left with 12 packages. Seems there're some hidden dependencies for attr that is not show in hob but is taking effect once we select to remove attr. I'd expect those hidden dependencies to be shown in hob otherwise user will be confused and surprised. Jessica and I agree that this issue is resolved based on recent changes including the fix for bug 1365. verified against latest master |