diff --git a/content/chapters/part1/chapter-04.md b/content/chapters/part1/chapter-04.md index cec072e..a1ebf43 100644 --- a/content/chapters/part1/chapter-04.md +++ b/content/chapters/part1/chapter-04.md @@ -237,7 +237,7 @@ As we move forward, we'll look at examples from the actual FreeBSD kernel source To store a complete local copy of the FreeBSD source code, you will need approximately 3.6 GB of free disk space. You can install it using Git by running the following command: - # git clone https://git.freebsd.org/src.git /usr/src + # git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src This will give you access to all source code, which we'll reference frequently throughout this book. diff --git a/content/chapters/part1/chapter-06.md b/content/chapters/part1/chapter-06.md index a97a4f4..dd136b2 100644 --- a/content/chapters/part1/chapter-06.md +++ b/content/chapters/part1/chapter-06.md @@ -13117,10 +13117,9 @@ Before starting, ensure you have: ```bash # If /usr/src is missing, install it: % sudo pkg install git - % cd /usr && sudo git clone -b releng/14.3 --depth 1 \ - https://git.freebsd.org/src.git + % sudo git clone --branch releng/14.3 --depth 1 https://git.FreeBSD.org/src.git src /usr/src ``` - + 3. **Build tools installed**: ```bash