sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
170 stars 503 forks source link

[action] [PR:3212] Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (#3212) #3215

Closed mssonicbld closed 1 month ago

mssonicbld commented 1 month ago

The current version of the script does not work at all when the host kernel is Azure's 5.15 kernel on Ubuntu 20.04. It does seem to work with the non-HWE kernel (version 5.4).

Update the script to add support for building and loading the kernel modules for the 5.15 kernel, while keeping support for the non-HWE kernel.

This is a cherry-pick of sonic-net/sonic-swss-common#720

Signed-off-by: Saikrishna Arcot saiarcot895@gmail.com

Signed-off-by: Saikrishna Arcot saiarcot895@gmail.com


Signed-off-by: Saikrishna Arcot saiarcot895@gmail.com

mssonicbld commented 1 month ago

Original PR: https://github.com/sonic-net/sonic-swss/pull/3212