diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index b30bbbd..d38cce8 100755 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -1,6 +1,19 @@ +#!/bin/bash + +set -ex + +dh clean +make clean + +make +make clean + debuild -b -uc -us +dh clean + sudo dpkg -i ../system76-dkms_0.0.1_amd64.deb -cat /var/lib/dkms/system76/0.0.1/build/make.log -sudo modprobe -r system76 + +sudo modprobe -r system76 || true sudo modprobe system76 + dmesg -w | grep system76