feat: support for debian 12, drop support for debian 11.
This commit is contained in:
parent
a78f6c7757
commit
a1946aa171
7 changed files with 2 additions and 97 deletions
|
|
@ -11,7 +11,6 @@ import (
|
|||
|
||||
"github.com/roddhjav/apparmor.d/pkg/logging"
|
||||
"github.com/roddhjav/apparmor.d/pkg/prebuild"
|
||||
"golang.org/x/exp/slices"
|
||||
)
|
||||
|
||||
const usage = `prebuild [-h] [--full] [--complain]
|
||||
|
|
@ -48,9 +47,6 @@ func aaPrebuild() error {
|
|||
if complain {
|
||||
prebuild.Builds = append(prebuild.Builds, prebuild.BuildComplain)
|
||||
}
|
||||
if slices.Contains([]string{"debian", "whonix"}, prebuild.Distribution) {
|
||||
prebuild.Builds = append(prebuild.Builds, prebuild.BuildABI)
|
||||
}
|
||||
|
||||
if err := prebuild.Prepare(); err != nil {
|
||||
return err
|
||||
|
|
@ -65,9 +61,6 @@ func aaPrebuild() error {
|
|||
if complain {
|
||||
logging.Bullet("Set complain flag on all profiles")
|
||||
}
|
||||
if slices.Contains([]string{"debian", "whonix"}, prebuild.Distribution) {
|
||||
logging.Bullet("%s does not support abi 3.0 yet", prebuild.Distribution)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue