note regarding trees and maintainers file

This commit is contained in:
Mahdi Dibaiee 2021-11-27 21:47:16 +00:00
parent 5a5c6be7c3
commit eec5cfdd7c

View File

@ -33,9 +33,11 @@ qemu-system-x86_64 -boot -drive format=raw,file=disk.img -m 8G -smp cpus=4 -net
{% highlight bash %} {% highlight bash %}
pacman -S gcc git make pacman -S gcc git make
{% endhighlight %} {% endhighlight %}
6. Clone linux 6. Clone linux (note that you may want to clone another repository other than the stable if you are working on a specific part. For example I had to clone the `netdev` group's tree). [List of different trees](https://git.kernel.org/).
{% highlight bash %} {% highlight bash %}
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
# netdev group
git clone git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
{% endhighlight %} {% endhighlight %}
7. Install the necessary dependencies for building the kernel 7. Install the necessary dependencies for building the kernel
{% highlight bash %} {% highlight bash %}
@ -185,6 +187,8 @@ Here are some good guidelines on how to prepare and send your patch:
- [The perfect patch](https://www.ozlabs.org/~akpm/stuff/tpp.txt) - [The perfect patch](https://www.ozlabs.org/~akpm/stuff/tpp.txt)
- [Linux kernel patch submission checklist](https://www.kernel.org/doc/html/v4.10/process/submit-checklist.html) - [Linux kernel patch submission checklist](https://www.kernel.org/doc/html/v4.10/process/submit-checklist.html)
There might be a file called `MAINTAINERS` in the root of the repository you cloned, it may include some notes and tips on how to make the life of maintainers easier by following some guidelines, read it!
# What did I work on? # What did I work on?
The first issue I was interested in turned out to be an invalid bug: I found that out by investigating the script the user was testing and measuring how much time each part of the script took to find out the main culprit: [bug-214851](https://bugzilla.kernel.org/show_bug.cgi?id=214851). But I learned a lot during this alone, mostly about how to build things quickly, where to look for modules, how to enable debugging for them, etc. The first issue I was interested in turned out to be an invalid bug: I found that out by investigating the script the user was testing and measuring how much time each part of the script took to find out the main culprit: [bug-214851](https://bugzilla.kernel.org/show_bug.cgi?id=214851). But I learned a lot during this alone, mostly about how to build things quickly, where to look for modules, how to enable debugging for them, etc.