build: add support for downstream project in some prepare tasks.
This commit is contained in:
parent
627700a152
commit
b45e1f36fe
2 changed files with 7 additions and 1 deletions
|
|
@ -139,8 +139,11 @@ func Configure() {
|
|||
builder.Register("stacked-dbus")
|
||||
|
||||
} else {
|
||||
if !prebuild.DownStream {
|
||||
prepare.Register("attach")
|
||||
}
|
||||
builder.Register("attach")
|
||||
prepare.Register("attach")
|
||||
|
||||
}
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ var (
|
|||
// AppArmor version
|
||||
Version = 4.0
|
||||
|
||||
// Tells the build we are a downstream project using apparmor.d as dependency
|
||||
DownStream = false
|
||||
|
||||
// Either or not RBAC is enabled
|
||||
RBAC = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue