From cf45badc748c1c83902f6ec65f8cc3cb7bcb73c8 Mon Sep 17 00:00:00 2001 From: RouxAntoine Date: Sat, 6 Jan 2024 15:50:11 +0100 Subject: [PATCH] more stuff Signed-off-by: RouxAntoine --- rootfs-kernel/kernel.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rootfs-kernel/kernel.sh b/rootfs-kernel/kernel.sh index 494a1c8..d464cd9 100755 --- a/rootfs-kernel/kernel.sh +++ b/rootfs-kernel/kernel.sh @@ -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