change method for configs
This commit is contained in:
parent
62f8f97613
commit
9b218f9245
|
@ -92,10 +92,9 @@ If you don't want to use the pre-built kernel and headers, you can compile the k
|
||||||
```
|
```
|
||||||
for i in ~/linux-surface/patches/[VERSION]/*.patch; do patch -p1 < $i; done
|
for i in ~/linux-surface/patches/[VERSION]/*.patch; do patch -p1 < $i; done
|
||||||
```
|
```
|
||||||
5. Get current config file and patch it:
|
5. Use config for kernel series (may need to manually change for your distro):
|
||||||
```
|
```
|
||||||
cat /boot/config-$(uname -r) > .config
|
cp ~/linux-surface/configs/[VERSION]/config .config
|
||||||
patch -p1 < ~/linux-surface/patches/config.patch
|
|
||||||
```
|
```
|
||||||
6. Compile the kernel and headers (for ubuntu, refer to the build guide for your distro):
|
6. Compile the kernel and headers (for ubuntu, refer to the build guide for your distro):
|
||||||
```
|
```
|
||||||
|
|
9467
configs/4.18/config
Normal file
9467
configs/4.18/config
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue