diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2019-02-17 13:04:40 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2019-02-17 16:55:24 +0100 |
commit | c8a30172f88f3df6d58dd3f67c5c12ef9472e979 (patch) | |
tree | 69484ba9fb5a83cadfc834629204316f3dc4eef4 /package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch | |
parent | 5b6997dcb39e46f2f2b43bbb694884c286bf193d (diff) | |
download | upstream-c8a30172f88f3df6d58dd3f67c5c12ef9472e979.tar.gz upstream-c8a30172f88f3df6d58dd3f67c5c12ef9472e979.tar.bz2 upstream-c8a30172f88f3df6d58dd3f67c5c12ef9472e979.zip |
dnsmasq: ensure test and rc order as older than final releases
Opkg treats text after a version number as higher than without:
~# opkg compare-versions "2.80rc1" "<<" "2.80"; echo $?
1
~# opkg compare-versions "2.80rc1" ">>" "2.80"; echo $?
0
This causes opkg not offering final release as upgradable version, and
even refusing to update, since it thinks the installed version is
higher.
This can be mitigated by adding ~ between the version and the text, as ~
will order as less than everything except itself. Since 'r' < 't', to
make sure that test will be treated as lower than rc we add a second ~
before the test tag. That way, the ordering becomes
2.80~~test < 2.80~rc < 2.80
which then makes opkg properly treat prerelease versions as lower.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/kernel/mac80211/patches/ath/381-ath9k-fix-tx99-with-monitor-mode-interface.patch')
0 files changed, 0 insertions, 0 deletions