1
0

fix: cleanup boot and modules dirs

This commit is contained in:
dump_stack() 2023-06-18 12:25:37 +00:00
parent f44c275c9d
commit 3a1fc86251
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

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
}