summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2021-06-18 21:49:40 +0200
committerDaniil Baturin <daniil@baturin.org>2021-06-18 21:58:25 +0200
commita991f59bc4ca2a00a5f9bcf3b75d74664e714ba5 (patch)
tree90dba23653b868e282b629bc5da1a83d8c32695e /packages
parentc652d3dd17aa91c360567c29b87a655c1220df7b (diff)
downloadvyos-build-a991f59bc4ca2a00a5f9bcf3b75d74664e714ba5.tar.gz
vyos-build-a991f59bc4ca2a00a5f9bcf3b75d74664e714ba5.zip
Add kernel version debug print to build-intel-qat.sh
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/linux-kernel/build-intel-qat.sh1
-rwxr-xr-xpackages/linux-kernel/build-kernel.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh
index 2d1f7998..ed2f69ee 100755
--- a/packages/linux-kernel/build-intel-qat.sh
+++ b/packages/linux-kernel/build-intel-qat.sh
@@ -51,6 +51,7 @@ do
fi
echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver"
+ echo "I: Kernel dependency: linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX}"
mkdir -p ${DEBIAN_DIR}/lib/firmware ${DEBIAN_DIR}/usr/local/bin ${DEBIAN_DIR}/usr/lib/x86_64-linux-gnu ${DEBIAN_DIR}/etc/init.d
KERNEL_SOURCE_ROOT=${KERNEL_DIR} ./configure --enable-kapi --enable-qat-lkcf
make -j $(getconf _NPROCESSORS_ONLN) all
diff --git a/packages/linux-kernel/build-kernel.sh b/packages/linux-kernel/build-kernel.sh
index c1fec72a..00efd56a 100755
--- a/packages/linux-kernel/build-kernel.sh
+++ b/packages/linux-kernel/build-kernel.sh
@@ -38,5 +38,8 @@ export KERNEL_SUFFIX=${KERNEL_SUFFIX}
export KERNEL_DIR=${CWD}/${KERNEL_SRC}
EOF
+echo "I: Environment file contents:"
+cat ${CWD}/kernel-vars
+
echo "I: Build Debian Kernel package"
make bindeb-pkg BUILD_TOOLS=1 LOCALVERSION=${KERNEL_SUFFIX} KDEB_PKGVERSION=${KERNEL_VERSION}-1 -j $(getconf _NPROCESSORS_ONLN)