Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "FIX dkms built issues for rhel kernel update ,change prerm sc… #77

Merged
merged 1 commit into from
Apr 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions dkms
Original file line number Diff line number Diff line change
Expand Up @@ -1782,9 +1782,7 @@ do_uninstall()
fi
fi
done
rm -rf "$dkms_tree/$module/kernel-$1-$2"
#Remove modules from dkms built tree
rm -rf "$dkms_tree/$module/$module_version/$1"
rm -f "$dkms_tree/$module/kernel-$1-$2"
else
echo $""
echo $"Status: This module version was INACTIVE for this kernel."
Expand Down
2 changes: 1 addition & 1 deletion kernel_prerm.d_dkms
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ while read line; do
vers=`echo "$line" | awk '{print $2}' | sed 's/,$//'`
arch=`echo "$line" | awk '{print $4}' | sed 's/:$//'`
echo "dkms: removing: $name $vers ($inst_kern) ($arch)" >&2
dkms uninstall -m $name -v $vers -k $inst_kern -a $arch
dkms remove -m $name -v $vers -k $inst_kern -a $arch
done < <(dkms status -k $inst_kern 2>/dev/null | grep ": installed")
fi

Expand Down