How to create RedHat Driver Disk

From VVCWiki
Jump to navigationJump to search

install kernel-devel

cd $DRIVER
make -C /lib/modules/`uname -r`/build -M=`pwd` modules
mkdir -p /tmp/`uname -r`/i686
cd /tmp
cp $DRIVER/*ko `uname -r`/i686/
ls -1 */*/*.ko > modules-list
cpio -o --format=crc < modules-list | gzip -c -9 > modules.cgz