From 62963a55357d6fb30b31e5c3c1ac795eeb3e2ac7 Mon Sep 17 00:00:00 2001 From: AnneCYH Date: Thu, 20 Aug 2026 14:35:10 +0800 Subject: [PATCH] docs(how-to): reference mainline git repo for reference Replace kernel.ubuntu.com/ubuntu/linux.git with mainline Linux repo instead since there is no distinction between the versions, especially for development workflows. Also updated git clone commands to use https instead of git protocol. Signed-off-by: AnneCYH --- docs/how-to/source-code/obtain-kernel-source-git.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/how-to/source-code/obtain-kernel-source-git.md b/docs/how-to/source-code/obtain-kernel-source-git.md index e762f9d..c8cdfcf 100644 --- a/docs/how-to/source-code/obtain-kernel-source-git.md +++ b/docs/how-to/source-code/obtain-kernel-source-git.md @@ -30,7 +30,6 @@ For example, to obtain a local copy of the Jammy kernel tree, run any of the following `git clone` commands: ```{code-block} shell -git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy git clone git+ssh://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy git clone https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy ``` @@ -45,7 +44,7 @@ by first downloading the upstream kernel tree and using it as a reference for subsequent clones: ```{code-block} shell -git clone https://kernel.ubuntu.com/ubuntu/linux.git +git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git clone --reference linux https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy git clone --reference linux https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble ```