Skip to content

Commit

Permalink
clean dkms before building rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDuartePT committed Aug 25, 2023
1 parent 6bf047c commit e71c06d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy/build_deb_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ echo "Dkms deb located at ${BUILD_DIR}/lenovolegionlinux-dkms_1.0.0_amd64.deb"

#BUILD DKMS RPM

#Readd DKSMS
#Clean DKSM tree
sudo dkms remove -m lenovolegionlinux -v 1.0.0
sleep 5
sudo dkms add -m lenovolegionlinux -v 1.0.0

#Build rpm file
sudo dkms mkkmp -m lenovolegionlinux -v 1.0.0 --spec lenovolegionlinux-dkms-mkrpm.spec
Expand Down

0 comments on commit e71c06d

Please sign in to comment.