1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# For DEV9 netplay support post_install() { setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt } post_upgrade() { setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/pcsx2-qt } pre_remove() { setcap -r usr/bin/pcsx2-qt }