1
0

fix: add dracut on opensuse 12.3

This commit is contained in:
dump_stack() 2023-06-18 12:19:36 +00:00
parent 6ffaa3dad4
commit f44c275c9d
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -188,6 +188,8 @@ func (suse OpenSUSE) runs() (commands []string) {
case "12.1", "12.2":
cmdf("zypper -n install %s -r dracut dracut", params)
cmdf("rm /etc/zypp/repos.d/dracut.repo")
case "12.3":
cmdf("zypper -n install %s dracut", params)
}
if !strings.HasPrefix(suse.release, "12") {