We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bf4958 commit 7676858Copy full SHA for 7676858
1 file changed
gim.sh
@@ -32,22 +32,9 @@ if [ $UID -ne 0 ]; then
32
else
33
Path=$(readlink /lib/modules/$(uname -r)/build)
34
echo "check: $Path"
35
-
36
- #A work around for relative Path link for CentOS kernel 4.9
37
- if [ $Path == "../../../usr/src/kernels/4.9.13-22.el7.x86_64" ]; then
38
- cd /lib/modules/$(uname -r)/
39
- rm ./build
40
- ln -s /usr/src/kernels/4.9.13-22.el7.x86_64 build
41
- ls -l
42
- fi
43
44
- #su $(ORIGIN_USER)
45
46
cd $SRC_ROOT/drv
47
48
make
49
make install
50
51
fi
52
53
exit
0 commit comments