#!/bin/sh exec 2>&1 # Like any other piece of software (and information generally), this # software comes with NO WARRANTY. # # This is version 20240223 of 0-build-prep.sh. # # See also # Uncomment this line to remove any DKMS packages before setting # up a kernel build environment to improve the speed of this step: # dpkg -l | grep "\-dkms" | awk '{print $2}' | while read f; do sudo dpkg -r $f; done # Uncomment this line to prevent the system from automatically # updating the kernel image and headers: # dpkg -r linux-image-amd64 linux-headers-amd64 apt update apt install -y alien autoconf automake build-essential debhelper-compat \ dh-dkms dh-python dkms fakeroot gawk git libaio-dev libattr1-dev libblkid-dev \ libcurl4-openssl-dev libelf-dev libffi-dev libpam0g-dev libssl-dev libtool \ libudev-dev linux-headers-generic parallel po-debconf python3 python3-all-dev \ python3-cffi python3-dev python3-packaging python3-setuptools python3-sphinx \ uuid-dev zlib1g-dev