diff options
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r-- | sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/kexec-tools/kexec-tools-2.0.23.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/kexec-tools/kexec-tools-9999.ebuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild index 897b98a24b69..c92e41d36170 100644 --- a/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-2.0.22.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,7 +114,7 @@ pkg_postinst() { fi fi - if [[ ${n_root_args} > 1 && "${has_rootpart_set}" == "no" ]]; then + if [[ ${n_root_args} -gt 1 && "${has_rootpart_set}" == "no" ]]; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "This was probably caused by a previous version of ${PN}." ewarn "Please reboot system once *without* kexec to avoid boot problems" diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.23.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.23.ebuild index 0879b84e6744..b69a3c09e13d 100644 --- a/sys-apps/kexec-tools/kexec-tools-2.0.23.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-2.0.23.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,7 +114,7 @@ pkg_postinst() { fi fi - if [[ ${n_root_args} > 1 && "${has_rootpart_set}" == "no" ]]; then + if [[ ${n_root_args} -gt 1 && "${has_rootpart_set}" == "no" ]]; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "This was probably caused by a previous version of ${PN}." ewarn "Please reboot system once *without* kexec to avoid boot problems" diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild index 86b8d9fc9789..b69a3c09e13d 100644 --- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,7 +114,7 @@ pkg_postinst() { fi fi - if [[ ${n_root_args} > 1 && "${has_rootpart_set}" == "no" ]]; then + if [[ ${n_root_args} -gt 1 && "${has_rootpart_set}" == "no" ]]; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "This was probably caused by a previous version of ${PN}." ewarn "Please reboot system once *without* kexec to avoid boot problems" |