diff --git a/0036-Perform-system-requirements-check-to-ensure-migratio.patch b/0036-Perform-system-requirements-check-to-ensure-migratio.patch index 3d56682af2e2be6f72eace092f76707e4819cafa..96e81ab37e2c231bfb9d52b3241d32e37eb979e6 100644 --- a/0036-Perform-system-requirements-check-to-ensure-migratio.patch +++ b/0036-Perform-system-requirements-check-to-ensure-migratio.patch @@ -37,7 +37,7 @@ index 0000000..59af805 + vm_info = sc.virtual_memory() + partition = sc.partition_size_from_directory("/var/lib/leapp/") + -+ assert partition['free'] >= 4 * 1024 * 1024 * 1024 and vm_info['free'] >= 2 * 1024 * 1024 * 1024, "To ensure the migration, this machine must have 4G free space on disk and 2G RAM available." ++ assert partition['free'] >= 4 * 1024 * 1024 * 1024 and vm_info['free'] >= 600 * 1024 * 1024, "To ensure the migration, this machine must have 4G free space on disk and 600M RAM available." + assert sc.initd_is_symlink(), "It is crucial that /etc/init.d be a symlink to rc.d/init.d by default." diff --git a/repos/system_upgrade/el7toel8/actors/systemrequirementschecker/libraries/systemchecker.py b/repos/system_upgrade/el7toel8/actors/systemrequirementschecker/libraries/systemchecker.py new file mode 100644 diff --git a/leapp-repository.spec b/leapp-repository.spec index 46fed184f65b19704aa265f57ddf80953c7d4156..6d7a49f5009f04d761842ba8345441020e285ab0 100644 --- a/leapp-repository.spec +++ b/leapp-repository.spec @@ -11,7 +11,7 @@ }\ py2_byte_compile "%1" "%2"} -%define anolis_release 14 +%define anolis_release 15 Name: leapp-repository Version: 0.13.0 @@ -187,6 +187,9 @@ done; # no files here %changelog +* Sat Feb 18 2023 Weitao Zhou - 0.13.0-2.15 +- set a reasonable 600M mem in system requirements check + * Thu Feb 16 2023 Weisson - 0.13.0-2.14 - Add RPMDownloadOrInstallError and its exit code. - comment patch 0031-Deal-with-EPEL-repositories-create-by-user-mannally.patch