To package your Linux device drivers for uploading to the PlateSpin Migrate driver database, you can use a custom utility included in your Linux ISO boot image.
Find a Linux workstation that has the same kernel version as the source machine. Source machine itself is one of the best choices. On the Linux workstation, create a directory for your device driver files. All the drivers in the directory must be for the same kernel and architecture.
Download the boot image and mount it.
For example, assuming that the ISO has been copied under the /root directory, issue these commands:
# mkdir /mnt/ps bootofx.x2p.iso # mount -o loop /root/ /mnt/ps
From the /tools subdirectory of the mounted ISO image, copy the packageModules.tar.gz archive into a another working directory and extract it.
For example, with the .gz file is inside your current working directory, issue this command:
tar -xvzf packageModules.tar.gz
Enter the working directory and execute the following command:
./PackageModules.sh –d <path_to_driver_dir> -o <package name>
Replace <path_to_driver_dir> with the actual path to the directory where you saved you driver files, and <package name> with the actual package name, using the following format:
Drivername-driverversion-dist-kernelversion-arch .pkg
For example, bnx2x-1.48.107-RHEL7-U6-3.10.0-957.el7.x86_64-x86_64.pkg
The package is now ready for upload. See Section 20.3, Uploading Drivers to the PlateSpin Migrate Device Driver Database.