From f1446eef0107a2087d40a172cb5ac91d8ac990e0 Mon Sep 17 00:00:00 2001
From: Li Zhou
Date: Wed, 12 Jan 2022 09:33:42 +0000
Subject: [PATCH] debian: kernel: Add debian_pkg_dirs file
Add debian_pkg_dirs file to allow kernel-std/kernel-modules/
kernel-userspace packages to be built.
PASS: built image & installed & boot up on qemu;
PASS: manually checked about the packages' versions involved.
After this commit is merged, please pay attention:
(1) Below "Depends-On" commit can improve the build time of kernel-std
to about 0.5 hour on our Dell Precision server, or else several
hours are needed.
If want the build quicker, you can:
Set proper MINIKUBECPUS/MINIKUBEMEMORY before running stx-init-env
to start the dockers.
e.g.:
export MINIKUBECPUS=15;
export MINIKUBEMEMORY=32896;
source import-stx;
./stx-init-env
(2) Start from a clean build in case the debian kernel we used
(which has a higher version number than the one we are using now)
will affect the build-image process.
Depends-On: https://review.opendev.org/c/starlingx/tools/+/825993
Story: 2009221
Task: 44269
Signed-off-by: Li Zhou
Change-Id: I85753c9792e2141bd8f34cb726ceca1cf87c7a57
---
debian_pkg_dirs | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 debian_pkg_dirs
diff --git a/debian_pkg_dirs b/debian_pkg_dirs
new file mode 100644
index 00000000..52483a6a
--- /dev/null
+++ b/debian_pkg_dirs
@@ -0,0 +1,9 @@
+kernel-std
+kernel-modules/intel-i40e
+kernel-modules/intel-iavf
+kernel-modules/intel-ice
+kernel-modules/intel-igb_uio
+kernel-modules/intel-opae-fpga
+kernel-modules/mlnx-ofa_kernel
+kernel-modules/qat17
+userspace/mellanox/rdma-core