Skip to content

Make os-specific overrides for source packages #422

@chhtz

Description

@chhtz

Currently only os-packages are easy to define depending on the current OS version, but sometimes it would be convenient to also allow pinning certain source packages to a specific version on some OS versions (e.g., if the main branch gets incompatible with old OS versions).

We have a mechanism for that in our RIC package set (here it is mostly used to activate qt5-branches for some packages when building with Ubuntu after 20.04):
https://github.com/dfki-ric/dfki-ric-package_set/blob/master/lib/os_management.rb

This still needs to be actively activated using Rock::OSManagement.activate_distribution_overrides (e.g. in a package set's init.rb) and then one can create an overrides folder with OS-specific (sub-) sub-folders:
https://github.com/dfki-ric/dfki-ric-package_set/tree/master/overrides/ubuntu

@rock-core/core Any opinions on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions