Bug 12393 - opkg-utils doesn't seem to support Enhances
Summary: opkg-utils doesn't seem to support Enhances
Status: RESOLVED NOTABUG
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.4.4
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-12-04 20:57 UTC by Chris Tsai
Modified: 2020-07-19 14:33 UTC (History)
0 users

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 Chris Tsai 2017-12-04 20:57:30 UTC
Looking through opkg-utils I noticed there wasn't a property for Enhances in opkg.py instead you see listed in the __init__:

        self.depends = None
        self.provides = None
        self.replaces = None
        self.conflicts = None
        self.recommends = None
        self.suggests = None

This led down to a discussion whether or not Enhances was actually supported in opkg at all? Probably worth looking into if there is a gap here.

From the Debian policy, Enhances is a option (https://www.debian.org/doc/debian-policy/#s-binarydeps).
Comment 1 Alejandro del Castillo 2020-07-19 14:33:07 UTC
AFAIK, Enhances is a field that is used as a hint to higher level tools, like UIs. Is not an input to the solver. Opkg doesn't have code to handle Enhances, which is correct as the field is a noop for all opkg operations.