| Summary: | warn when ALTERNATIVE_PRIORITY are the same | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | core | Assignee: | Chen Qi <Qi.Chen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, richard.purdie, ross.burton |
| Version: | 2.1 | ||
| Target Milestone: | 2.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Robert Yang
2015-09-17 06:44:48 UTC
Not sure if we can actualy easily check for this since there is no central location of this data and recipes can't inspect each other's state. I think the only way we could do this is in the update-alternative script itself. When the script runs to change the database, it could do this extra checking and warn users if it finds the same priority. commit 2a64701acf9ba86a4e0a5c89a77f984ce1cfc427 Author: Chen Qi <Qi.Chen@windriver.com> Date: Fri Dec 23 10:59:21 2016 +0800 package_manager: default to have scriptlet output captured in log We need to have scriptlet output captured in log. If we don't do so, some useful information from scriptlets (especially postinstall script) would be missing. In case a script has a warning message but it does not necessarily have to fail, the message should be captured. Opkg has already done that. Change for rpm and dpkg so that scriptlet output is captured and no warning message is missing. (From OE-Core rev: 0e52e0c619e02327602d83999a61d978d3a9240e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> The rest part is to bump opkg-utils' rev to "1a708fd73d10c2b7677dd4cc4e017746ebbb9166" which could check priority conflicts. Merged in oe-core d6b04e12127dd65b96ac7f4509b829510ef21071. |