casper: enable abrowser apparmor profile

This commit is contained in:
Ruben Rodriguez 2025-05-13 11:36:36 -04:00
parent 37e7f0c0a7
commit fe6be0eae5

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2012-2022 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2012-2025 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2023 Luis Guzmán <ark@switnet.org> # Copyright (C) 2023 Luis Guzmán <ark@switnet.org>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=19 VERSION=20
. ./config . ./config
@ -43,6 +43,13 @@ sed "s/head -n1/sed -n 1p/" -i scripts/casper-functions
# Set trisquel isos as default suggestion. # Set trisquel isos as default suggestion.
patch --no-backup-if-mismatch -p1 < $DATA/set_trisquel_iso_suggestion.patch patch --no-backup-if-mismatch -p1 < $DATA/set_trisquel_iso_suggestion.patch
# Enable abrowser apparmor profile
cat << EOF > scripts/casper-bottom/35-apparmor-abrowser
#!/bin/sh
apparmor_parser -r /etc/apparmor.d/abrowser
EOF
chmod 755 scripts/casper-bottom/35-apparmor-abrowser
changelog "Compiled for Trisquel" changelog "Compiled for Trisquel"
package package