From 17295cad89828e6d91c449ff7230594d42f5576c Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 13 May 2023 19:51:06 +0000 Subject: [PATCH] feat: list debian kernels --- kernel/kernel.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/kernel.go b/kernel/kernel.go index 45988c5..b8d023a 100644 --- a/kernel/kernel.go +++ b/kernel/kernel.go @@ -24,6 +24,7 @@ import ( "code.dumpstack.io/tools/out-of-tree/cache" "code.dumpstack.io/tools/out-of-tree/config" "code.dumpstack.io/tools/out-of-tree/container" + "code.dumpstack.io/tools/out-of-tree/distro/debian" "code.dumpstack.io/tools/out-of-tree/fs" ) @@ -100,6 +101,8 @@ func MatchPackages(km config.KernelMask) (pkgs []string, err error) { pkgs, err = matchDebImagePkg(km.DockerName(), km.ReleaseMask) case config.OracleLinux, config.CentOS: pkgs, err = matchOracleLinuxPkg(km.DockerName(), km.ReleaseMask) + case config.Debian: + pkgs, err = debian.MatchImagePkg(km) default: err = fmt.Errorf("%s not yet supported", km.DistroType.String()) }