1
0

feat: disable deb package installation without meeting dependencies

This commit is contained in:
dump_stack() 2023-05-14 10:12:20 +00:00
parent f7f8a27dfa
commit 0ee813124d
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -417,7 +417,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
for _, pkg := range pkgs { for _, pkg := range pkgs {
cmd += fmt.Sprintf(" && wget --no-check-certificate %s", cmd += fmt.Sprintf(" && wget --no-check-certificate %s",
pkg.Deb.URL) pkg.Deb.URL)
cmd += fmt.Sprintf(" && dpkg --force-all -i %s", cmd += fmt.Sprintf(" && dpkg -i %s",
pkg.Deb.Name) pkg.Deb.Name)
cmd += fmt.Sprintf(" && rm %s", cmd += fmt.Sprintf(" && rm %s",
pkg.Deb.Name) pkg.Deb.Name)