linux-pikaos-template/scripts-v3/source.sh

9 lines
248 B
Bash
Raw Normal View History

2023-02-22 16:23:11 +01:00
#!/bin/bash
echo "Pika Kernel - Getting source"
2023-11-04 19:34:55 +01:00
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
2023-02-22 16:23:11 +01:00
2023-11-04 19:34:55 +01:00
cd linux-"$(cat ./VERSION)"