build: use the same technique to disable upstream profile on all distribution.
Only enabled on Ubuntu & opensuse
This commit is contained in:
parent
c40c3e1c98
commit
34973baaea
6 changed files with 45 additions and 95 deletions
|
|
@ -32,11 +32,16 @@ func init() {
|
|||
builder.Register("dev")
|
||||
|
||||
switch cfg.Distribution {
|
||||
case "opensuse":
|
||||
builder.Register("abi3")
|
||||
cfg.Overwrite = true
|
||||
|
||||
case "ubuntu":
|
||||
if cfg.Release["VERSION_CODENAME"] == "noble" {
|
||||
builder.Register("abi3")
|
||||
cfg.Overwrite.Enabled = true
|
||||
cfg.Overwrite = true
|
||||
}
|
||||
|
||||
case "whonix":
|
||||
cfg.Hide += `/etc/apparmor.d/abstractions/base.d/kicksecure
|
||||
/etc/apparmor.d/home.tor-browser.firefox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue