File tree 1 file changed +5
-16
lines changed
1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,13 @@ A database of configs for building the [Kernel](kernel.org).
3
3
specified on [ my tutorial] ( https://gist.github.com/EduApps-CDG/733e29c28dd53e91128d384c2e879397 )
4
4
5
5
## Add a device:
6
+ Implement our database by forking this repo, clone and so:
6
7
7
8
### Using Android (Termux and root)
8
9
``` sh
9
- # clone the project
10
- git clone https://github.com/EduApps-CDG/kernel-configs
11
-
12
- # move to project
13
- cd kernel-configs
14
-
15
- # turn the clone a fork
16
- hub fork --remote-name=origin
17
-
18
- # copy /proc/config.gz into ./android/[your device].gz
19
10
cp /proc/config.gz " android/$( getprop | grep -i ro.product.model | sed " s/\[ro.product.model\]: //" | sed " s/\[//" | sed " s/\]//" ) .gz"
20
-
21
- # push to [your device]
22
- git push origin " $( getprop | grep -i ro.product.model | sed " s/\[ro.product.model\]: //" | sed " s/\[//" | sed " s/\]//" ) "
23
-
24
- # create a pull request
25
- hub pull-request
26
11
```
12
+
13
+ ### Using Desktop
14
+ ``` sh
15
+ cp -v /boot/config-$( uname -r)
You can’t perform that action at this time.
0 commit comments