build: allow to run prebuild outside of this project.
This commit is contained in:
parent
e17b682e51
commit
68127c3859
3 changed files with 4 additions and 4 deletions
|
|
@ -73,10 +73,10 @@ func Prebuild() {
|
|||
return
|
||||
}
|
||||
|
||||
if full {
|
||||
if full && paths.New("apparmor.d/groups/_full").Exist() {
|
||||
prepare.Register("fsp")
|
||||
builder.Register("fsp")
|
||||
} else {
|
||||
} else if prebuild.SystemdDir.Exist() {
|
||||
prepare.Register("systemd-early")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue