Update build.sh
This commit is contained in:
4
build.sh
4
build.sh
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "$(dirname "$0")"
|
dir=$(dirname "$0")
|
||||||
|
echo $dir
|
||||||
|
cd $dir
|
||||||
mkdir -p ./linux
|
mkdir -p ./linux
|
||||||
git clone --depth 1 https://github.com/torvalds/linux.git ./linux
|
git clone --depth 1 https://github.com/torvalds/linux.git ./linux
|
||||||
cat /boot/config-$(uname -r) > ./linux/.config
|
cat /boot/config-$(uname -r) > ./linux/.config
|
||||||
|
|||||||
Reference in New Issue
Block a user