pve-kernel-thunderx/autobuild.sh
2023-10-31 23:30:03 +08:00

8 lines
217 B
Bash

#!/bin/bash
sudo apt install devscripts rsync -y
yes | sudo mk-build-deps --install --remove
git submodule update --init --depth=1
rm build -rf
mkdir build && rsync -ra * build/
cd build
dpkg-buildpackage -b -us -uc