build: new structure for internal config files.

This commit is contained in:
Alexandre Pujol 2024-03-26 18:05:55 +00:00
parent e67a66ff94
commit f8d970faf0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 350 additions and 58 deletions

View file

@ -19,9 +19,18 @@ var (
// FlagDir is the directory where the flags are stored
FlagDir *paths.Path = DistDir.Join("flags")
// IgnoreDir is the directory where the ignore files are stored
IgnoreDir *paths.Path = DistDir.Join("ignore")
// SystemdDir is the directory where the systemd drop-in files are stored
SystemdDir *paths.Path = paths.New("systemd")
// DebianDir is the directory where the debian specific files are stored
DebianDir *paths.Path = DistDir.Join("debian")
// Either or not overwrite some upstreamed profile
Overwrite bool = false
Overwrite = Overwriter{Enabled: false}
Ignore = Ignorer{}
Flags = Flagger{}
)