File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # AppArmor Flatpak profile
2+ install_data (
3+ ' bwrap-userns-restrict' ,
4+ install_dir : datadir / ' apparmor' / ' extra-profiles' ,
5+ rename : ' bwrap-userns-restrict-patched' ,
6+ )
Original file line number Diff line number Diff line change @@ -38,12 +38,10 @@ install_data(
3838 install_dir : datadir / ' xdg-desktop-portal'
3939)
4040
41- # AppArmor Flatpak profile
42- install_data (
43- ' apparmor/bwrap-userns-restrict' ,
44- install_dir : datadir / ' apparmor' / ' extra-profiles' ,
45- rename : ' bwrap-userns-restrict-patched' ,
46- )
41+ # AppArmor profiles for bwrap etc
42+ if get_option (' apparmor-profiles' )
43+ subdir (' apparmor' )
44+ endif
4745
4846# Default gsettings overrides
4947subdir (' overrides' )
Original file line number Diff line number Diff line change 1+ option (' apparmor-profiles' ,
2+ type : ' boolean' ,
3+ value : true ,
4+ description : ' Install AppArmor profiles for bwrap etc' )
5+
16option (' appcenter-flatpak' ,
27 type : ' boolean' ,
38 value : true ,
You can’t perform that action at this time.
0 commit comments