From 7502221cfdc7552947c09192f82c5fd668f2b52e Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 14 May 2023 10:27:16 +0000 Subject: [PATCH] feat: support adding dependencies to debian kernel packages --- .github/workflows/debian-cache.yml | 1 + distro/debian/kernel.go | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/debian-cache.yml b/.github/workflows/debian-cache.yml index 89460cd..fd21b41 100644 --- a/.github/workflows/debian-cache.yml +++ b/.github/workflows/debian-cache.yml @@ -7,6 +7,7 @@ on: push: paths: - '.github/workflows/debian-cache.yml' + - 'distro/debian/**' jobs: debian-cache: diff --git a/distro/debian/kernel.go b/distro/debian/kernel.go index 36f41d9..9f57ddd 100644 --- a/distro/debian/kernel.go +++ b/distro/debian/kernel.go @@ -23,9 +23,10 @@ type DebianKernelVersion struct { } type DebianKernel struct { - Version DebianKernelVersion - Image snapshot.Package - Headers snapshot.Package + Version DebianKernelVersion + Image snapshot.Package + Headers snapshot.Package + Dependencies []snapshot.Package // FIXME There is a better way Internal struct {