summaryrefslogtreecommitdiff
path: root/tools/read-dependencies
diff options
context:
space:
mode:
authorHaruki TSURUMOTO <fortune.rocket42@gmail.com>2021-12-07 23:23:45 +0900
committerGitHub <noreply@github.com>2021-12-07 08:23:45 -0600
commit0ed00ad9cdebc2d4dabd8bd6d7c901584963def5 (patch)
treedcc25a244e086eab826fd988db44a8fdfaa76bf5 /tools/read-dependencies
parentcd40789a583c38423cea76355b375aa838893292 (diff)
downloadvyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.tar.gz
vyos-cloud-init-0ed00ad9cdebc2d4dabd8bd6d7c901584963def5.zip
Add miraclelinux support (#1128)
Diffstat (limited to 'tools/read-dependencies')
-rwxr-xr-xtools/read-dependencies4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/read-dependencies b/tools/read-dependencies
index 810154e4..efa5879c 100755
--- a/tools/read-dependencies
+++ b/tools/read-dependencies
@@ -24,6 +24,7 @@ DEFAULT_REQUIREMENTS = 'requirements.txt'
DISTRO_PKG_TYPE_MAP = {
'centos': 'redhat',
'eurolinux': 'redhat',
+ 'miraclelinux': 'redhat',
'rocky': 'redhat',
'redhat': 'redhat',
'debian': 'debian',
@@ -70,12 +71,14 @@ DRY_DISTRO_INSTALL_PKG_CMD = {
'rocky': ['yum', 'install', '--assumeyes'],
'centos': ['yum', 'install', '--assumeyes'],
'eurolinux': ['yum', 'install', '--assumeyes'],
+ 'miraclelinux': ['yum', 'install', '--assumeyes'],
'redhat': ['yum', 'install', '--assumeyes'],
}
DISTRO_INSTALL_PKG_CMD = {
'rocky': MAYBE_RELIABLE_YUM_INSTALL,
'eurolinux': MAYBE_RELIABLE_YUM_INSTALL,
+ 'miraclelinux': MAYBE_RELIABLE_YUM_INSTALL,
'centos': MAYBE_RELIABLE_YUM_INSTALL,
'redhat': MAYBE_RELIABLE_YUM_INSTALL,
'debian': ['apt', 'install', '-y'],
@@ -89,6 +92,7 @@ DISTRO_INSTALL_PKG_CMD = {
CI_SYSTEM_BASE_PKGS = {
'common': ['make', 'sudo', 'tar'],
'eurolinux': ['python3-tox'],
+ 'miraclelinux': ['python3-tox'],
'redhat': ['python3-tox'],
'centos': ['python3-tox'],
'ubuntu': ['devscripts', 'python3-dev', 'libssl-dev', 'tox', 'sbuild'],