29 lines
964 B
Diff
29 lines
964 B
Diff
From 246586f31209b70667b494db30c847c5b87fe7a3 Mon Sep 17 00:00:00 2001
|
|
From: Darren Archibald <darren.archibald@oracle.com>
|
|
Date: Wed, 21 Sep 2022 05:40:34 -0700
|
|
Subject: [PATCH] Add Oracle support
|
|
|
|
Add oracle support to fix waagent.service build issue
|
|
|
|
Signed-off-by: Darren Archibald <darren.archibald@oracle.com>
|
|
---
|
|
setup.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index e4d7cf7..82ec9fe 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -96,7 +96,7 @@
|
|
systemd_dir_path = osutil.get_systemd_unit_file_install_path()
|
|
agent_bin_path = osutil.get_agent_bin_path()
|
|
|
|
- if name in ('redhat', 'rhel', 'centos', 'almalinux', 'cloudlinux', 'rocky'):
|
|
+ if name in ('redhat', 'rhel', 'centos', 'almalinux', 'cloudlinux', 'rocky', 'oracle'):
|
|
if version.startswith("8") or version.startswith("9"):
|
|
# redhat8+ default to py3
|
|
set_bin_files(data_files, dest=agent_bin_path,
|
|
--
|
|
2.27.0
|
|
|