diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2016-07-22 13:59:31 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2016-07-22 13:59:31 +0300 |
commit | a20b9d2daf91d342b50d255e4815e3a7f818b9ac (patch) | |
tree | 9f2114a09cd10bfd6fb16271b2a14a24a06704e3 /net-fs/openafs-kernel | |
parent | virtualbox host packages: Removed old. (diff) | |
download | gentoo-a20b9d2daf91d342b50d255e4815e3a7f818b9ac.tar.gz gentoo-a20b9d2daf91d342b50d255e4815e3a7f818b9ac.tar.bz2 gentoo-a20b9d2daf91d342b50d255e4815e3a7f818b9ac.zip |
net-fs/openafs-kernel: fix QA issues
Fix REPLACING_VERSIONS QA issues found by mgorny and noted on the
gentoo-dev ML:
https://archives.gentoo.org/gentoo-dev/message/52cbd5985e05a4ed949d451d66f6e8bf
Package-Manager: portage-2.3.0
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'net-fs/openafs-kernel')
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.6.18.2.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/openafs-kernel-1.6.18.2.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.6.18.2.ebuild index c2ab02f63ab3..9d1e5d134c81 100644 --- a/net-fs/openafs-kernel/openafs-kernel-1.6.18.2.ebuild +++ b/net-fs/openafs-kernel/openafs-kernel-1.6.18.2.ebuild @@ -114,7 +114,7 @@ pkg_postinst() { use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" use kernel_linux && linux-mod_pkg_postinst - if use kernel_linux && [[ ${REPLACING_VERSIONS} < "1.6.18.2" ]]; then + if use kernel_linux && ! version_is_at_least 1.6.18.2 ${REPLACING_VERSIONS}; then ewarn "As of OpenAFS 1.6.18.2, Gentoo's packaging no longer requires" ewarn "that CONFIG_DEBUG_RODATA be turned off in one's kernel config." ewarn "If you only turned this option off for OpenAFS, please re-enable" |