diff --git a/distro/debian/debian.go b/distro/debian/debian.go index 052c7fc..19bc535 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -279,6 +279,10 @@ func (d Debian) runs() (commands []string) { "initramfs-tools", d.release.Name()) } + if d.release >= 9 { + pkglist = append(pkglist, "apparmor") + } + if d.release < 9 { pkglist = append(pkglist, "module-init-tools") }