There are common files in the igb-uio packages for std and rt kernel.
They are files with the same paths and names in different packages
for std/rt, which include all the files except *.ko
(ko files have different paths 5.10.0-6 vs. 5.10.0-6-rt).
They are mainly conf/doc/script files and aren't related with std/rt.
Because the multi kernel feature wants to install the oot kernel
drivers' packages for std and rt kernel into one rootfs, error will
be reported such as:
dpkg: error processing archive .../[KENREL MOUDLE FOR RT].deb
trying to overwrite '.../[COMMON FILE NAME]',
which is also in package [KERNEL MODULE FOR STD].
So move the common files into a new package named as igb-uio-common.
The dependency will install the common package together with the driver
package.
Test plan:
- PASS: Check that there aren't common files in the driver packages
for kernel-std and kernel-rt.
[Test together with all the patches about supporting multi-kernel
feature (kernel part).]
- PASS: Build std kernel and its kernel modules OK.
Build std image OK.
Boot on qemu OK.
Boot on target ProLiant ML350 Gen10 OK.
- PASS: Do above tests for kernel-rt too.
Depends-On: https://review.opendev.org/c/starlingx/tools/+/842030
Story: 2009221
Task: 45380
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: Ib4ffc13ba6d12ff422544c9e7250697e05ce046b