lightdm: create dirs on install.
This commit is contained in:
parent
98e53ef629
commit
5a1d9e7f74
|
@ -1,8 +1,3 @@
|
|||
#!/bin/sh
|
||||
sv check dbus >/dev/null || exit 1
|
||||
[ ! -d /run/lightdm ] && mkdir -p /run/lightdm
|
||||
chmod 0711 /run/lightdm
|
||||
chown lightdm:lightdm /run/lightdm
|
||||
mkdir -p /var/lib/lightdm /var/lib/lightdm-data
|
||||
chown -R lightdm:lightdm /var/lib/lightdm /var/lib/lightdm-data
|
||||
exec lightdm
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lightdm'
|
||||
pkgname=lightdm
|
||||
version=1.14.2
|
||||
revision=2
|
||||
revision=3
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin --with-greeter-session=lightdm-gtk-greeter
|
||||
|
@ -30,6 +30,10 @@ conf_files="
|
|||
system_accounts="lightdm"
|
||||
lightdm_homedir="/var/lib/lightdm"
|
||||
subpackages="liblightdm-gobject lightdm-devel"
|
||||
make_dirs="
|
||||
/run/lightdm 0711 lightdm lightdm
|
||||
/var/lib/lightdm 0755 lightdm lightdm
|
||||
/var/lib/lightdm-data 0755 lightdm lightdm"
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
|
|
Loading…
Reference in New Issue