From 4a846696fedaf937e6046b4ad8aff5ea82ed83c6 Mon Sep 17 00:00:00 2001 From: Mikhail Sandakov Date: Wed, 31 Jul 2024 13:53:49 +0300 Subject: [PATCH] Added an assertion to ensure only one kernel-devel package is installed Leapp cannot handle conversion if multiple kernel-devel packages are present, so we need to verify this on our end --- cloudlinux7to8/upgrader.py | 1 + dist-upgrader | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudlinux7to8/upgrader.py b/cloudlinux7to8/upgrader.py index cef70a1..ac396a0 100644 --- a/cloudlinux7to8/upgrader.py +++ b/cloudlinux7to8/upgrader.py @@ -227,6 +227,7 @@ def get_check_actions( custom_actions.AssertPleskRepositoriesNotNoneLink(), custom_actions.AssertMinGovernorMariadbVersion(custom_actions.FIRST_SUPPORTED_GOVERNOR_MARIADB_VERSION), custom_actions.AssertGovernorMysqlNotInstalled(custom_actions.FIRST_SUPPORTED_GOVERNOR_MARIADB_VERSION), + common_actions.AssertNoMoreThenOneKernelDevelInstalled(), ] if not self.upgrade_postgres_allowed: diff --git a/dist-upgrader b/dist-upgrader index e59c050..f22926f 160000 --- a/dist-upgrader +++ b/dist-upgrader @@ -1 +1 @@ -Subproject commit e59c05070657369af7719b82d0104c14b8e15365 +Subproject commit f22926f7dcb230639a91d51d5dbe6a3bed14adc5