This commit supports switch drivers in installer. It will
load drivers based on multi-drivers-switch=versioni[cvl-2.54,
cvl-4.10, cvl-4.0.1], the drivers will be loaded by "insmod"
command before udevd is started, and that ensures the correct
drivers will be loaded.
Legacy drivers:
ls /lib/modules/$(uname -r)/extra/
i40e-cvl-2.54 iavf-cvl-2.54 ice-cvl-2.54
i40e-cvl-4.10 iavf-cvl-4.10 ice-cvl-4.10
Latest drivers:
/lib/modules/$(uname -r)/updates/
i40e-cvl-4.0.1 iavf-cvl-4.0.1 ice-cvl-4.0.1
Testing:
- An ISO image can be built successfully.
- Create prestage ISO and install this ISO image with qemu.
Create prestage ISO including the multi-drivers-switch=cvl-2.54
parameter.
- kernel dmesg show that the cvl-2.54 NIC drivers loaded during
the install stage.
Closes-Bug: 2024429
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Change-Id: I928f70c3abda709322c3a71a9a695df53905f486