From 90a92f9492af08a656cf7df73026f6f93483ae7a Mon Sep 17 00:00:00 2001 From: Puranjay Mohan Date: Thu, 30 May 2024 10:16:08 +0000 Subject: [PATCH] Recognize Amazon Linux ID in kpatch-build Make kpatch-build aware about the ID of Amazon Linux distributions. No other special changes are needed. Signed-off-by: Puranjay Mohan --- kpatch-build/kpatch-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index f1a11bd..ce54279 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -78,7 +78,8 @@ declare -rA SUPPORTED_RPM_DISTROS=( ["openEuler"]="OpenEuler" ["ol"]="Oracle" ["photon"]="Photon OS" - ["rhel"]="RHEL") + ["rhel"]="RHEL" + ["amzn"]="Amazon Linux") warn() {