feature/build-my-own-kernel-rootfs #2

Merged
antoine merged 15 commits from feature/build-my-own-kernel-rootfs into main 2024-01-06 20:25:13 +00:00
Showing only changes of commit cf45badc74 - Show all commits

View File

@ -11,8 +11,7 @@ WD=../out
# pacman -Syu base-devel bc pahole --ignore linux-firmware # pacman -Syu base-devel bc pahole --ignore linux-firmware
## Get kernel source ## Get kernel source
git clone https://github.com/torvalds/linux.git "$WD"/linux git clone --depth 1 --branch $KERNEL_VERSION https://github.com/torvalds/linux.git "$WD"/linux
git checkout $KERNEL_VERSION
## Get Archlinux kernel config ## Get Archlinux kernel config
curl -o "$WD"/linux/.config https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux curl -o "$WD"/linux/.config https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux