build: set default ABI to abi4.
This commit is contained in:
parent
59ac54e2fc
commit
344ccf3003
3 changed files with 6 additions and 2 deletions
|
|
@ -72,7 +72,6 @@ func Prebuild() {
|
|||
flag.Usage()
|
||||
return
|
||||
}
|
||||
logging.Step("Building apparmor.d profiles for %s.", prebuild.Distribution)
|
||||
|
||||
if full {
|
||||
prepare.Register("fsp")
|
||||
|
|
@ -111,6 +110,7 @@ func Prebuild() {
|
|||
configure.OneFile = true
|
||||
}
|
||||
|
||||
logging.Step("Building apparmor.d profiles for %s on ABI%d.", prebuild.Distribution, prebuild.ABI)
|
||||
if err := Prepare(); err != nil {
|
||||
logging.Fatal("%s", err.Error())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ type Directive interface {
|
|||
}
|
||||
|
||||
func Usage() string {
|
||||
res := fmt.Sprintf("Directive:\n")
|
||||
res := "Directive:\n"
|
||||
for _, d := range Directives {
|
||||
for _, h := range d.Usage() {
|
||||
res += fmt.Sprintf(" %s%s %s\n", Keyword, d.Name(), h)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue