redpitaya-puzzlefw/os/03_get_kernel.sh

12 lines
206 B
Bash
Executable File

#!/bin/bash
set -e
. script_env
mkdir -p "$DOWNLOAD_DIR"
wget -P "$DOWNLOAD_DIR" "https://cdn.kernel.org/pub/linux/kernel/v6.x/${LINUX_VERSION}.tar.xz"
tar xf "${DOWNLOAD_DIR}/${LINUX_VERSION}.tar.xz"