gdm: add the gdm system user be part of the video group, to make gdm/shell happy.
This commit is contained in:
parent
4696e5ad8c
commit
d388960df2
2 changed files with 7 additions and 0 deletions
|
@ -10,5 +10,10 @@ post)
|
||||||
[ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm
|
[ ! -d var/cache/gdm ] && mkdir -p var/cache/gdm
|
||||||
chown gdm:gdm var/lib/gdm > /dev/null
|
chown gdm:gdm var/lib/gdm > /dev/null
|
||||||
chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
|
chown -R gdm:gdm var/lib/gdm/.gconf.mandatory
|
||||||
|
# Check that gdm user also is in the video group.
|
||||||
|
if groups gdm|grep -vq video; then
|
||||||
|
usermod -a -G video gdm
|
||||||
|
echo "Added gdm user to the system video group."
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'gdm'
|
# Template file for 'gdm'
|
||||||
pkgname=gdm
|
pkgname=gdm
|
||||||
version=3.2.0
|
version=3.2.0
|
||||||
|
revision=1
|
||||||
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--disable-schemas-install --disable-scrollkeeper
|
configure_args="--disable-schemas-install --disable-scrollkeeper
|
||||||
|
@ -43,6 +44,7 @@ gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||||
# Create the 'gdm' system user/group.
|
# Create the 'gdm' system user/group.
|
||||||
system_accounts="gdm"
|
system_accounts="gdm"
|
||||||
gdm_homedir="/var/lib/gdm"
|
gdm_homedir="/var/lib/gdm"
|
||||||
|
gdm_groups="video"
|
||||||
openrc_services="gdm default true"
|
openrc_services="gdm default true"
|
||||||
|
|
||||||
Add_dependency run glibc
|
Add_dependency run glibc
|
||||||
|
|
Loading…
Reference in a new issue