| Summary: | opkg compare_versions is broken (old issue #166) | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] opkg | Reporter: | Alejandro del Castillo <alejandro.delcastillo> |
| Component: | opkg | Assignee: | Alejandro del Castillo <alejandro.delcastillo> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | michael |
| Version: | 0.3.0 | ||
| Target Milestone: | 0.3.2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alejandro del Castillo
2015-09-21 01:26:04 UTC
Testing comments on opkg bugs with an unprivileged user. opkg compare versions logic should follow dpkg's: lt le eq ne ge gt (treat empty version as earlier than any version) lt-nl le-nl ge-nl gt-nl (treat empty version as later than any version) Once the internal opkg compare version logic gets fixed, the 2 utilities for comparing versions on opkg-utils should be removed. fixed on commits by Ross Burton: 3e8521e137f662005edec1e7dd597bdd808624ea d55020a9eee90b092cc468b458882e84a42be49a 17fe7933fa68d5b208c13ae2f9353cbd5375f253 |