From 02767e9f2eaf7ccfc4079f83d467ad2d3faee203 Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Thu, 23 Feb 2017 14:28:49 +0000 Subject: Fixed QAT device binding and device unbinding when vpp package is removed Change-Id: I35ad6a42093cad0945df1df09a39c63c4560dce6 Signed-off-by: Radu Nicolau --- build-root/deb/debian/vpp.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-root/deb') diff --git a/build-root/deb/debian/vpp.postrm b/build-root/deb/debian/vpp.postrm index ac16a459..24b4842f 100644 --- a/build-root/deb/debian/vpp.postrm +++ b/build-root/deb/debian/vpp.postrm @@ -7,7 +7,7 @@ pci_dirs=`find /sys/bus/pci/drivers -type d -name igb_uio -o -name uio_pci_gener for d in $pci_dirs; do for f in ${d}/*; do [ -e "${f}/config" ] || continue - echo 1 > ${f}/remove + echo ${f##*/} > ${d}/unbind basename `dirname ${f}` | xargs echo -n "Removing driver"; echo " for PCI ID" `basename ${f}` removed=y done -- cgit 1.2.3-korg