1
0
Fork 0

fix: cleanup boot and modules dirs

timestamps
dump_stack() 2023-06-18 12:25:37 +00:00
parent f44c275c9d
commit 3a1fc86251
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,9 @@ func (suse OpenSUSE) runs() (commands []string) {
if strings.HasPrefix(suse.release, "13") {
cmdf("zypper --no-refresh -n install %s kernel-firmware", params)
}
cmdf("rm -rf /boot/*")
cmdf("rm -rf /lib/modules/*")
return
}