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")
|
builder.Register("stacked-dbus")
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
if !prebuild.DownStream {
|
||||||
|
prepare.Register("attach")
|
||||||
|
}
|
||||||
builder.Register("attach")
|
builder.Register("attach")
|
||||||
prepare.Register("attach")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@ var (
|
||||||
// AppArmor version
|
// AppArmor version
|
||||||
Version = 4.0
|
Version = 4.0
|
||||||
|
|
||||||
|
// Tells the build we are a downstream project using apparmor.d as dependency
|
||||||
|
DownStream = false
|
||||||
|
|
||||||
// Either or not RBAC is enabled
|
// Either or not RBAC is enabled
|
||||||
RBAC = false
|
RBAC = false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue