xcat-core
xcat-core copied to clipboard
Driver installation on stateless image
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?