From d14eac1897baf5038567173604af61d536c02631 Mon Sep 17 00:00:00 2001 From: Lin Liu Date: Thu, 9 Nov 2023 07:13:17 +0000 Subject: [PATCH] CP-45921: Make yum commands nonessential During xapi startup, it will check availability of the essential executables, and fail if not found. yum commands should not be essential, the repo managers will be - yum: for xs8 - dnf: for xs9 Signed-off-by: Lin Liu --- ocaml/xapi/xapi_globs.ml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ocaml/xapi/xapi_globs.ml b/ocaml/xapi/xapi_globs.ml index 1e45670ca75..eeac3aaee5f 100644 --- a/ocaml/xapi/xapi_globs.ml +++ b/ocaml/xapi/xapi_globs.ml @@ -1588,15 +1588,9 @@ module Resources = struct , set_iSCSI_initiator_script , "Path to set-iscsi-initiator script" ) - ; ("yum-cmd", yum_cmd, "Path to yum command") - ; ("reposync-cmd", reposync_cmd, "Path to reposync command") ; ("createrepo-cmd", createrepo_cmd, "Path to createrepo command") ; ("modifyrepo-cmd", modifyrepo_cmd, "Path to modifyrepo command") ; ("rpm-cmd", rpm_cmd, "Path to rpm command") - ; ( "yum-config-manager-cmd" - , yum_config_manager_cmd - , "Path to yum-config-manager command" - ) ; ("c_rehash", c_rehash, "Path to Regenerate CA store") ] @@ -1666,6 +1660,12 @@ module Resources = struct , sqlite3 , "Executed to manage SQlite Database, like PBIS database" ) + ; ("yum-cmd", yum_cmd, "Path to yum command") + ; ("reposync-cmd", reposync_cmd, "Path to reposync command") + ; ( "yum-config-manager-cmd" + , yum_config_manager_cmd + , "Path to yum-config-manager command" + ) ] let essential_files =