Files
SparkOS/scripts/docker-image-download-kernel.sh
2025-12-29 19:08:11 +00:00

11 lines
219 B
Bash
Executable File

#!/bin/bash
# Download a minimal Linux kernel for UEFI image
set -e
mkdir -p /kernel
apt-get update
apt-get download linux-image-generic
dpkg -x linux-image-*.deb /kernel
rm -rf /var/lib/apt/lists/* linux-image-*.deb