@@ -29,7 +29,7 @@ def _derive_package_type(os_profile: str) -> str:
2929 """Derive package type from OS profile.
3030
3131 Args:
32- os_profile: OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, azl3)
32+ os_profile: OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, almalinux9, centos7, azl3)
3333
3434 Returns:
3535 Package type ('deb' or 'rpm')
@@ -68,7 +68,7 @@ def __init__(
6868
6969 Args:
7070 repo_url: Full repository URL (constructed in YAML)
71- os_profile: OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, azl3)
71+ os_profile: OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, almalinux9, centos7, azl3)
7272 release_type: Type of release ('nightly' or 'prerelease')
7373 install_prefix: Installation prefix (default: /opt/rocm/core)
7474 gfx_arch: GPU architecture (default: gfx94x)
@@ -642,7 +642,7 @@ def verify_rocm_installation(self) -> bool:
642642 cmd = ["zypper" , "--non-interactive" , "search" , "-i" , "rocm" ]
643643 grep_pattern = "rocm"
644644 else :
645- # Use rpm for other RPM-based systems (RHEL, AlmaLinux, CentOS)
645+ # Use rpm for other RPM-based systems (RHEL, AlmaLinux, CentOS, AZL )
646646 cmd = ["rpm" , "-qa" ]
647647 grep_pattern = "rocm"
648648
@@ -928,7 +928,7 @@ def main():
928928 "--os-profile" ,
929929 type = str ,
930930 required = True ,
931- help = "OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, azl3). Package type is derived from this." ,
931+ help = "OS profile (e.g., ubuntu2404, rhel8, debian12, sles16, almalinux9, centos7, azl3). Package type is derived from this." ,
932932 )
933933
934934 parser .add_argument (
0 commit comments