Message ID | 20170202112237.4292-1-cascardo@canonical.com |
---|---|
State | New |
Headers | show |
Wouldn't this apply to Xenial linux-meta hwe-edge as well ?
On 02.02.2017 14:14, Tim Gardner wrote: > Wouldn't this apply to Xenial linux-meta hwe-edge as well ? > Probably need to be careful with all hwe branches back to Precise.
Thanks. Cascardo.
diff --git a/update-version b/update-version index 8f9a4d9..0599968 100755 --- a/update-version +++ b/update-version @@ -16,6 +16,7 @@ else changelog="" fi master_version=`(cd "$master_dir" && LC_ALL=C dpkg-parsechangelog -S Version $changelog)` +master_version=${master_version%~*} # Work out our current version taking into account closed sections. here_series=$( LC_ALL=C dpkg-parsechangelog -S Distribution )
The versions should be stripped of ~* suffixes in order to get the proper ABI number. For example, when the master version is 4.4.0-63.84~14.04.1, the script would consider 4.4.0-63.84~14.04 as the ABI instead of 4.4.0-63. It would also end up using the incorrect version and tag for the linux-meta package. Stripping the master version from its ~14.04.1 suffix fixes it. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> --- update-version | 1 + 1 file changed, 1 insertion(+)