Skip to content

Add minor version-specific package dependency support and update for sles16.1 minor release! - #412

Merged
harihare merged 3 commits into
lop-devops:KVMCIfrom
Anushree-Mathur:anu_kvmci_prs
Oct 8, 2026
Merged

harihare merged 3 commits into
lop-devops:KVMCIfrom
Anushree-Mathur:anu_kvmci_prs

Conversation

@Anushree-Mathur

Copy link
Copy Markdown
Contributor

Currently, bootstrap only supports major version package definitions.
This prevents handling packages that exist only in specific minor
versions of an OS.

This patch adds minor version support by:

  • Tracking both major and full version identifiers in avocado-setup.py
  • Checking version-specific sections first (e.g., deps__)
  • Falling back to major version sections if not found
  • Applying same fallback logic to environment-type packages (kvm, NV, pHyp)
  • Defining SLES 16.1 specific packages in [deps_sles16_1] section in
    config/wrapper/env.conf. These packages are only available or required
    for SLES 16.1 and will not be installed on other SLES 16.x versions
  • Documenting the minor version lookup logic and fallback behaviour in
    README.md with a clear example config usage

Example config usage:
[deps_sles16]
packages = gcc,python311-devel,xz-devel

[deps_sles16_1]
packages = version-specific-package

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>

Anushree-Mathur added 3 commits October 8, 2026 11:25
Currently, bootstrap only supports major version package definitions.
This prevents handling packages that exist only in specific minor
versions of an OS.

This commit adds minor version support by:
- Tracking both major and full version identifiers
- Checking version-specific sections first (e.g., deps_<os><major>_<minor>)
- Falling back to major version sections if not found
- Applying same logic to environment-type packages (kvm, NV, pHyp)

Example config usage:
  [deps_rhel9_3]
  packages = version-specific-package

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Define SLES 16.1 specific packages in [deps_sles16_1] section. These packages are only available or required for SLES 16.1 and will not be installed on other SLES 16.x versions.

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Currently, bootstrap only supports major version package definitions.
This prevents handling packages that exist only in specific minor
versions of an OS.

This commit adds documentation for the minor version support by:
- Explaining how the wrapper checks minor version-specific sections
  first (e.g., [deps_sles16_1]) before falling back to the major
  version section (e.g., [deps_sles16])
- Documenting the same fallback logic for environment-type packages
  (e.g., [deps_sles16_1_kvm] -> [deps_sles16_kvm])
- Providing a clear example config usage in config/wrapper/env.conf
- Highlighting that packages in [deps_sles16_1] are pre-requisite
  packages only for SLES 16.1 and will not affect other SLES 16.x
  versions

Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
@harihare

harihare commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

LGTM

@harihare
harihare merged commit 2b18cd1 into lop-devops:KVMCI Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants