summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-08 22:36:19 +0200
committerChristian Breunig <christian@breunig.cc>2026-05-08 22:42:35 +0200
commit2a26e18a7cb2673ee56d1183426ae02752ff4f95 (patch)
treecd214587cd5f5413e20dcd0e29b6c339a76ad41a /scripts
parentfbd704281e46668387d2201ba696091b97343a3a (diff)
downloadvyos-build-2a26e18a7cb2673ee56d1183426ae02752ff4f95.tar.gz
vyos-build-2a26e18a7cb2673ee56d1183426ae02752ff4f95.zip
Kernel: T6847: cleanup Intel QAT driver source after build
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/package-build/linux-kernel/build-intel-qat.sh28
1 files changed, 14 insertions, 14 deletions
diff --git a/scripts/package-build/linux-kernel/build-intel-qat.sh b/scripts/package-build/linux-kernel/build-intel-qat.sh
index e393a4bc..ba4dcefb 100755
--- a/scripts/package-build/linux-kernel/build-intel-qat.sh
+++ b/scripts/package-build/linux-kernel/build-intel-qat.sh
@@ -110,17 +110,17 @@ fpm --input-type dir --output-type deb --name vyos-intel-${DRIVER_NAME} \
--depends linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX} \
--license "GPL2" -C ${DEBIAN_DIR} --after-install ${DEBIAN_POSTINST}
-# echo "I: Cleanup ${DRIVER_NAME} source"
-# cd ${CWD}
-# if [ -e ${DRIVER_FILE} ]; then
-# rm -f ${DRIVER_FILE}
-# fi
-# if [ -d ${DRIVER_DIR} ]; then
-# rm -rf ${DRIVER_DIR}
-# fi
-# if [ -d ${DEBIAN_DIR} ]; then
-# rm -rf ${DEBIAN_DIR}
-# fi
-# if [ -f ${DEBIAN_POSTINST} ]; then
-# rm -f ${DEBIAN_POSTINST}
-# fi
+echo "I: Cleanup ${DRIVER_NAME} source"
+cd ${CWD}
+if [ -e ${DRIVER_FILE} ]; then
+ rm -f ${DRIVER_FILE}
+fi
+if [ -d ${DRIVER_DIR} ]; then
+ rm -rf ${DRIVER_DIR}
+fi
+if [ -d ${DEBIAN_DIR} ]; then
+ rm -rf ${DEBIAN_DIR}
+fi
+if [ -f ${DEBIAN_POSTINST} ]; then
+ rm -f ${DEBIAN_POSTINST}
+fi