feat: add package name, use for debian check if already installed
This commit is contained in:
@@ -379,6 +379,8 @@ func (d Debian) Kernels() (kernels []distro.KernelInfo, err error) {
|
||||
ModulesPath: modules,
|
||||
|
||||
RootFS: rootfs,
|
||||
|
||||
Package: pkgname,
|
||||
}
|
||||
|
||||
kernels = append(kernels, ki)
|
||||
|
@@ -29,4 +29,7 @@ type KernelInfo struct {
|
||||
|
||||
// Debug symbols
|
||||
VmlinuxPath string
|
||||
|
||||
// Package name, not mandatory (yet)
|
||||
Package string
|
||||
}
|
||||
|
Reference in New Issue
Block a user