feature/build-my-own-kernel-rootfs #2
@ -11,8 +11,7 @@ WD=../out
|
||||
# pacman -Syu base-devel bc pahole --ignore linux-firmware
|
||||
|
||||
## Get kernel source
|
||||
git clone https://github.com/torvalds/linux.git "$WD"/linux
|
||||
git checkout $KERNEL_VERSION
|
||||
git clone --depth 1 --branch $KERNEL_VERSION https://github.com/torvalds/linux.git "$WD"/linux
|
||||
|
||||
## Get Archlinux kernel config
|
||||
curl -o "$WD"/linux/.config https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux
|
||||
|
Loading…
x
Reference in New Issue
Block a user