fix(build): fsp regex.
This commit is contained in:
parent
483c0c107d
commit
b0c661931a
2 changed files with 4 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
regFullSystemPolicy = util.ToRegexRepl([]string{
|
regFullSystemPolicy = util.ToRegexRepl([]string{
|
||||||
`r(PU|U)x,`, `rPx,`,
|
`(PU|U)x,`, `Px,`,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,9 @@ func Configure() {
|
||||||
|
|
||||||
func Prebuild() {
|
func Prebuild() {
|
||||||
logging.Step("Building apparmor.d profiles for %s on ABI%d.", prebuild.Distribution, prebuild.ABI)
|
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 {
|
if prebuild.Version != nilVer {
|
||||||
logging.Success("AppArmor version targeted: %.1f", prebuild.Version)
|
logging.Success("AppArmor version targeted: %.1f", prebuild.Version)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue