Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver installation on stateless image #7471

Open
rajatKokane opened this issue Sep 26, 2024 · 0 comments
Open

Driver installation on stateless image #7471

rajatKokane opened this issue Sep 26, 2024 · 0 comments

Comments

@rajatKokane
Copy link

rajatKokane commented Sep 26, 2024

I'm trying to learn how to compile a driver and make them part of a stateless netboot image. So far, I've created a directory where I'm storing the driver and its Makefile. I wrote some script in the .postinstall file, which will copy those drivers in the installroot and run the make command. I also wrote a bash script which will run the insmod command which will insert those drivers in the kernel, and kept that script in /xcat/postscripts/. I ran the chdef command to make the postscript a part of the image. Running lsdef confirms it. But when I ran genimage, packimage, and booted up the image, it seemed that the postscript never ran. I checked that it is present in the /xcatpost directory. I was expecting that the booted up image will have the drivers up and running. I ran the scripts I wrote manually and they seem to work. Where am I going wrong? Can someone assist me?

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

No branches or pull requests

1 participant