fix(build): fsp regex.

This commit is contained in:
Alexandre Pujol 2025-08-15 18:23:05 +02:00
parent 483c0c107d
commit b0c661931a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,7 @@ import (
var (
regFullSystemPolicy = util.ToRegexRepl([]string{
`r(PU|U)x,`, `rPx,`,
`(PU|U)x,`, `Px,`,
})
)

View file

@ -139,6 +139,9 @@ func Configure() {
func Prebuild() {
logging.Step("Building apparmor.d profiles for %s on ABI%d.", prebuild.Distribution, prebuild.ABI)
if full {
logging.Success("Full system policy enabled")
}
if prebuild.Version != nilVer {
logging.Success("AppArmor version targeted: %.1f", prebuild.Version)
}