Closed Tourman36 closed 4 years ago
Adding this for tracking and historical purposes. Already fixed in code-cleanup.
root@pve1:/home/temp/iomemory-vsl4/root/usr/src/iomemory-vsl4-4.3.7# ./module_operations.sh -n "iomemory-vsl4" -v "5c84dd5" -d -D getopts :n:v:pdhD opt shift 6 sanity_check '[' '!' -e Makefile ']' MODULE_DIR=iomemory-vsl4-4.3.7 MODULE_VER=4.3.7 MODULE_FILE=iomemory-vsl4.ko ++ get_rel_ver 5c84dd5 ++ version=5c84dd5 +++ git tag ++ release=v5.6.0 ++ '[' 5c84dd5 == '' ']' ++ '[' 5c84dd5 == '' -a v5.6.0 == '' ']' ++ '[' v5.6.0 '!=' '' ']' ++ echo v5.6.0 RELEASE_VER=v5.6.0 '[' iomemory-vsl4 == '' ']' '[' 1 == 0 -a 0 == 0 ']' '[' 1 == 1 ']' check_root [[ 0 -ne 0 ]] DKMS_DIR=/usr/src/iomemory-vsl4-v5.6.0 ++ dkms_ver iomemory-vsl4 ++ name=iomemory-vsl4 +++ dkms status +++ grep iomemory-vsl4 +++ cut -d, -f2 +++ sed -e 's/ //' ++ ver='v5.6.0: added' ++ '[' 0 '!=' 0 ']' ++ echo v5.6.0: added DKMS_VER='v5.6.0: added' patchLicenseVersion v5.6.0-4.3.7 tag=v5.6.0-4.3.7 src=license.c echo 'Adding module version v5.6.0-4.3.7 to source license.c' Adding module version v5.6.0-4.3.7 to source license.c grep -q MODULE_VERSION license.c '[' 0 == 0 ']' ++ perl -sne 'print "s/$2/$tag/\n" if /(MODULEVERSION)(\"([\d\w.-]+)\")/' -- -tag=v5.6.0-4.3.7 license.c ++ head -1 replace=s/v5.6.0-4.3.7/v5.6.0-4.3.7/ sed -i s/v5.6.0-4.3.7/v5.6.0-4.3.7/ license.c '[' 'v5.6.0: added' '!=' '' ']' dkms_remove iomemory-vsl4 v5.6.0: added name=iomemory-vsl4 ver=v5.6.0: echo 'Removing iomemory-vsl4/v5.6.0: from DKMS' Removing iomemory-vsl4/v5.6.0: from DKMS dkms remove iomemory-vsl4/v5.6.0: --all Error! There are no instances of module: iomemory-vsl4 v5.6.0: located in the DKMS tree.
root@pve1:/home/temp/iomemory-vsl4/root/usr/src/iomemory-vsl4-4.3.7# ./module_operations.sh -n "iomemory-vsl4" -v "5c84dd5" -d -D
Fixed in branch code, compiles OK.
Adding this for tracking and historical purposes. Already fixed in code-cleanup.