build: generalise the use of apparmor version during the build.
This commit is contained in:
parent
d3e9a7ec70
commit
baa3f8f639
5 changed files with 39 additions and 15 deletions
|
|
@ -43,7 +43,7 @@ func filterRuleForUs(opt *Option) bool {
|
|||
if slices.Contains(opt.ArgList, abiStr) {
|
||||
return true
|
||||
}
|
||||
versionStr := fmt.Sprintf("apparmor%s", prebuild.Version)
|
||||
versionStr := fmt.Sprintf("apparmor%.1f", prebuild.Version)
|
||||
if slices.Contains(opt.ArgList, versionStr) {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue