1
0

feat: add package name, use for debian check if already installed

This commit is contained in:
2023-05-25 23:00:42 +00:00
parent 1a9fdf0917
commit d7cf88e34f
3 changed files with 13 additions and 1 deletions

View File

@@ -379,6 +379,8 @@ func (d Debian) Kernels() (kernels []distro.KernelInfo, err error) {
ModulesPath: modules,
RootFS: rootfs,
Package: pkgname,
}
kernels = append(kernels, ki)

View File

@@ -29,4 +29,7 @@ type KernelInfo struct {
// Debug symbols
VmlinuxPath string
// Package name, not mandatory (yet)
Package string
}