[pbs-devel] applied-series: [PATCH proxmox-backup v4 1/2] pbs2to3: add test for kernel version compatibility

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 12 21:22:45 CET 2024


Am 18.09.24 um 15:00 schrieb Daniel Kral:
> Factors the kernel version compatibility check into its own method and
> adds test cases for a set of expected and unexpected kernel versions.
> 
> Signed-off-by: Daniel Kral <d.kral at proxmox.com>
> ---
> Changes to v1/v2/v3:
>     - Moved refactoring and test in first commit and changes afterwards
> 
>  src/bin/pbs2to3.rs | 62 ++++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 55 insertions(+), 7 deletions(-)
> 
>

applied both patches, thanks!

albeit, it might be even nicer to just parse out the major and minor parts
of the version and compare them explicitly to a simple const u16 tuple, that
way bumping the minimum kernel might be less headache than coming up with
a new regex.




More information about the pbs-devel mailing list