pve-kernel-thunderx/autobuild.sh
2023-11-20 11:02:08 +08:00

9 lines
246 B
Bash

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