mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
Move it together with the other profiles used for redirecting in
`etc/profile*`.
Commands used to search and replace:
git mv etc/inc/llm-agent-common.inc etc/profile-a-l/llm-agent-common.profile
git grep -IElz llm-agent-common.inc | xargs -0 perl -pi -e '
s/llm-agent-common.inc/llm-agent-common.profile/
'
This amends commit c81777164 ("profiles: add llm-agent-common.inc
(#7158)", 2026-05-08).
31 lines
923 B
Text
31 lines
923 B
Text
# Firejail profile for opencode
|
|
# Description: The open source coding agent
|
|
# This file is overwritten after every install/update
|
|
quiet
|
|
# Persistent local customizations
|
|
include opencode.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.cache/opencode
|
|
noblacklist ${HOME}/.config/opencode
|
|
noblacklist ${HOME}/.local/share/opencode
|
|
noblacklist ${HOME}/.local/state/opencode
|
|
|
|
# Add the following lines to opencode.local to enable whitelisting in `${HOME}`.
|
|
#mkdir ${HOME}/.cache/opencode
|
|
#mkdir ${HOME}/.config/opencode
|
|
#mkdir ${HOME}/.local/share/opencode
|
|
#mkdir ${HOME}/.local/state/opencode
|
|
#whitelist ${HOME}/.cache/opencode
|
|
#whitelist ${HOME}/.config/git
|
|
#whitelist ${HOME}/.config/opencode
|
|
#whitelist ${HOME}/.gitconfig
|
|
#whitelist ${HOME}/.local/share/opencode
|
|
#whitelist ${HOME}/.local/state/opencode
|
|
#include whitelist-common.inc
|
|
|
|
apparmor
|
|
|
|
# Redirect
|
|
include llm-agent-common.profile
|