From eec5cfdd7cf82f53202e42339abf37e7d174ee63 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Sat, 27 Nov 2021 21:47:16 +0000 Subject: [PATCH] note regarding trees and maintainers file --- _posts/2021-11-06-linux-contribution.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_posts/2021-11-06-linux-contribution.md b/_posts/2021-11-06-linux-contribution.md index bf29948..c759109 100644 --- a/_posts/2021-11-06-linux-contribution.md +++ b/_posts/2021-11-06-linux-contribution.md @@ -33,9 +33,11 @@ qemu-system-x86_64 -boot -drive format=raw,file=disk.img -m 8G -smp cpus=4 -net {% highlight bash %} pacman -S gcc git make {% 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 %} 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 %} 7. Install the necessary dependencies for building the kernel {% 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) - [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? 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.