diff --git a/rootfs-kernel/kernel.sh b/rootfs-kernel/kernel.sh index a3c471a..bc6ea87 100755 --- a/rootfs-kernel/kernel.sh +++ b/rootfs-kernel/kernel.sh @@ -10,6 +10,7 @@ WD=../out ## Install build tools # pacman -Syu base-devel bc pahole --ignore linux-firmware +sudo rm -rf "$WD"/linux ## Get kernel source git clone --depth 1 --branch $KERNEL_VERSION https://github.com/torvalds/linux.git "$WD"/linux