Skip to content

Commit

Permalink
build: only use .priv files for DSM7+
Browse files Browse the repository at this point in the history
Signed-off-by: Maisem Ali <[email protected]>
  • Loading branch information
Maisem Ali authored and maisem committed May 10, 2022
1 parent 11a6572 commit 2c008c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func genArchSPKs(param spkParams, dsm int, synoArchs []string) error {
}

privFile := fmt.Sprintf("privilege-dsm%d", dsm)
if param.forPackageCenter {
if param.forPackageCenter && dsm > 6 {
privFile += ".priv"
}

Expand Down

0 comments on commit 2c008c3

Please sign in to comment.