Skip to content

Commit 7676858

Browse files
committed
drop centos workaround
1 parent 6bf4958 commit 7676858

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

gim.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,9 @@ if [ $UID -ne 0 ]; then
3232
else
3333
Path=$(readlink /lib/modules/$(uname -r)/build)
3434
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-
4635
cd $SRC_ROOT/drv
47-
4836
make
4937
make install
50-
5138
fi
5239

5340
exit

0 commit comments

Comments
 (0)