build: move upstream overwrite to its own build tasks.
It allow us to controll when we want to do it and either or not it should be enabled.
This commit is contained in:
parent
896254c2ec
commit
de21ff07a6
5 changed files with 76 additions and 43 deletions
|
|
@ -106,8 +106,8 @@ func Prebuild() {
|
|||
if file != "" {
|
||||
sync, _ := prepare.Tasks["synchronise"].(*prepare.Synchronise)
|
||||
sync.Path = file
|
||||
configure, _ := prepare.Tasks["configure"].(*prepare.Configure)
|
||||
configure.OneFile = true
|
||||
overwrite, _ := prepare.Tasks["overwrite"].(*prepare.Overwrite)
|
||||
overwrite.OneFile = true
|
||||
}
|
||||
|
||||
logging.Step("Building apparmor.d profiles for %s on ABI%d.", prebuild.Distribution, prebuild.ABI)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue