Porting to RHEL/Rocky/Alma Linux
I have created a fork to test porting the greenboost_setup.sh to work with RHEL/Rocky/Alma Linux. After replacing the apt-get commands with equivalent dnf ones and changing the package names accordingly, I can almost get the build step to run but encounter the following issues at the make step. Apparently the modpost actions are incomplete. Advice or input would be welcome. ``` ]# ./greenboost_setup_rocky.sh build [GreenBoost] Building GreenBoost v2.3 (3-tier: VRAM + DDR4 + NVMe)... make: Entering directory '/root/nvidia_greenboost' make -C /lib/modules/5.14.0-570.60.1+3.1.el9_6_ciq.x86_64/build M=/root/nvidia_greenboost modules make[1]: Entering directory '/usr/src/kernels/5.14.0-570.60.1+3.1.el9_6_ciq.x86_64' MODPOST /root/nvidia_greenboost/Module.symvers ERROR: modpost: module greenboost uses symbol dma_buf_export from namespace DMA_BUF, but does not import it. ERROR: modpost: module greenboost uses symbol dma_buf_fd from namespace DMA_BUF, but does not import it. ERROR: modpost: module greenboost uses symbol dma_buf_put from namespace DMA_BUF, but does not import it. make[2]: *** [scripts/Makefile.modpost:128: /root/nvidia_greenboost/Module.symvers] Error 1 make[1]: *** [Makefile:1861: modules] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.14.0-570.60.1+3.1.el9_6_ciq.x86_64' make: *** [Makefile:25: module] Error 2 make: Leaving directory '/root/nvidia_greenboost' [GreenBoost] ERROR: Build failed — check output above ```
issue