linux-pikaos-6.10.10/scripts/source.sh

9 lines
248 B
Bash
Raw Permalink Normal View History

2024-08-15 20:05:02 +02:00
#!/bin/bash
echo "Pika Kernel - Getting source"
wget -nv https://cdn.kernel.org/pub/linux/kernel/v"$(echo $(cat ./VERSION) | cut -f1 -d".")".x/linux-"$(cat ./VERSION)".tar.gz
tar -xf ./linux-"$(cat ./VERSION)".tar.gz
cd linux-"$(cat ./VERSION)"