diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-19 10:44:48 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-19 10:44:48 +0200 |
commit | ec71b29a15dc7729e265735ceb2ff807187e3d75 (patch) | |
tree | 88081b7e7e4037ccbcbb1c97b27a79cbbecd9c76 /packages | |
parent | 7f386cb47d054e2248e62d67c98d4fa61e14c659 (diff) | |
download | vyos-build-ec71b29a15dc7729e265735ceb2ff807187e3d75.tar.gz vyos-build-ec71b29a15dc7729e265735ceb2ff807187e3d75.zip |
QAT: fix package build (extraction of driver version)
Sometimes the Intel QAT driver source is delivered with uppercase letters,
sometimes lowercase - that confused the build script. The code now always
translates the package name to lower case to handle this issue.
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/linux-kernel/build-intel-qat.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/linux-kernel/build-intel-qat.sh b/packages/linux-kernel/build-intel-qat.sh index ed2f69ee..ae894251 100755 --- a/packages/linux-kernel/build-intel-qat.sh +++ b/packages/linux-kernel/build-intel-qat.sh @@ -20,7 +20,7 @@ do DRIVER_FILE=$(basename ${url} | sed -e s/tar_0/tar/) DRIVER_DIR="${DRIVER_FILE%.tar.gz}" DRIVER_NAME="qat" - DRIVER_VERSION=$(echo ${DRIVER_DIR} | awk -F${DRIVER_NAME} '{print $2}') + DRIVER_VERSION=$(echo ${DRIVER_DIR} | tr A-Z a-z | awk -F${DRIVER_NAME} '{print $2}') DRIVER_VERSION_EXTRA="-0" # Build up Debian related variables required for packaging |