lxdm: start X in tty7 without systemd.
This commit is contained in:
parent
cf71568af0
commit
70e4ac787b
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lxdm'
|
||||
pkgname=lxdm
|
||||
version=0.5.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
configure_args="$(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam"
|
||||
|
@ -30,7 +30,10 @@ post_install() {
|
|||
# Use our own pam file.
|
||||
rm -f ${DESTDIR}/etc/pam.d/lxdm
|
||||
vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm
|
||||
|
||||
# use tty7 for X without systemd
|
||||
if [ -z "$build_option_systemd" ]; then
|
||||
sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf
|
||||
fi
|
||||
vmkdir var/lib/lxdm
|
||||
echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue