fix(build): ensure fsp mode set the systemd profile name correctly.

This commit is contained in:
Alexandre Pujol 2025-03-08 14:23:08 +01:00
parent 9e1cc72cc4
commit 106921df23
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC

View file

@ -34,7 +34,7 @@ func (p FullSystemPolicy) Apply() ([]string, error) {
}
// Set systemd profile name
path := prebuild.RootApparmord.Join("tunables/multiarch.d/system")
path := prebuild.RootApparmord.Join("tunables/multiarch.d/profiles")
out, err := path.ReadFileAsString()
if err != nil {
return res, err