mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-build/steve: Autoload cuse module to workaround permissions
Add the cuse module to autoloading list to ensure that /dev/cuse is properly processed by udev before steve is started. devtmpfs creates the device node that is only root-accessible, and without root permissions steve can't access it and trigger loading the module, so that udev fixes permissions. Bug: https://bugs.gentoo.org/967033 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -81,6 +81,12 @@ src_install() {
|
||||
insinto /etc/sandbox.d
|
||||
newins data/sandbox.conf 90steve
|
||||
udev_newrules data/steve.udev 90-steve.rules
|
||||
|
||||
# TODO: can we manage to get the correct cuse permissions otherwise?
|
||||
insinto /usr/lib/modules-load.d
|
||||
newins - steve.conf <<-EOF
|
||||
cuse
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user