Skip to content

Commit

Permalink
epm play: add workaround for bwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Boria138 committed Jun 2, 2024
1 parent ca89846 commit e53d8f7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion prescription.d/flatpak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assure_root

[ "$(epm print info -s)" = "alt" ] || fatal "Only ALTLinux is supported"

# Мсправляет ошибку "enabling unprivileged user namespaces" без перезагрузки
# Исправляет ошибку "enabling unprivileged user namespaces" без перезагрузки
a= sysctl -w kernel.unprivileged_userns_clone=1

install_portals=""
Expand Down Expand Up @@ -41,4 +41,8 @@ fi
# Без перезагрузки dbus, порталы не заработают
a= systemctl try-reload-or-restart dbus

a= chmod 755 /usr/bin/bwrap

a= systemctl --user restart flatpak-portal.service

echo "Flatpak successfully installed, but epm play is the preferred way to install the software."

0 comments on commit e53d8f7

Please sign in to comment.