build: enforce the use on the default profile on full mode.

This commit is contained in:
Alexandre Pujol 2023-11-22 20:52:25 +00:00
parent 07acb8043b
commit 0d124065b9
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 15 additions and 4 deletions

View file

@ -47,6 +47,7 @@ func aaPrebuild() error {
if full {
prebuild.Prepares = append(prebuild.Prepares, prebuild.SetFullSystemPolicy)
prebuild.Builds = append(prebuild.Builds, prebuild.BuildFullSystemPolicy)
} else {
prebuild.Prepares = append(prebuild.Prepares, prebuild.SetDefaultSystemd)
}