diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-10 09:02:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-10 11:38:42 +0100 |
commit | a9d95096d9ed12c0d71cc792ab2d13b2550375c4 (patch) | |
tree | d5c03ae100fc81bd470d698f2e80b7fc6eda33bc /eclass | |
parent | dev-python/Faker: Bump to 6.6.0 (diff) | |
download | gentoo-a9d95096d9ed12c0d71cc792ab2d13b2550375c4.tar.gz gentoo-a9d95096d9ed12c0d71cc792ab2d13b2550375c4.tar.bz2 gentoo-a9d95096d9ed12c0d71cc792ab2d13b2550375c4.zip |
kernel-install.eclass: Fix updating symlink w/ localversion
Closes: https://bugs.gentoo.org/775176
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index a700c13e7874..e3357cda0fd6 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -97,6 +97,7 @@ kernel-install_update_symlink() { local symlink_target=$(readlink "${target}") local symlink_ver=${symlink_target#${target##*/}-} local updated= + symlink_ver=${symlink_ver%${KV_LOCALVERSION}} if [[ ${symlink_target} == ${target##*/}-* && \ -z ${symlink_ver//[0-9.]/} ]] then |