lightdm
This commit is contained in:
parent
4ff9d53ca0
commit
404b1dae1c
|
@ -5,7 +5,7 @@
|
||||||
# Grup: sistem
|
# Grup: sistem
|
||||||
|
|
||||||
isim=lightdm-gtk-greeter
|
isim=lightdm-gtk-greeter
|
||||||
surum=2.0.3
|
surum=2.0.5
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(https://launchpad.net/lightdm-gtk-greeter/${surum%.*}/$surum/+download/lightdm-gtk-greeter-$surum.tar.gz
|
kaynak=(https://launchpad.net/lightdm-gtk-greeter/${surum%.*}/$surum/+download/lightdm-gtk-greeter-$surum.tar.gz
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
grub_ekle() {
|
userdel lightdm
|
||||||
groupadd -g 800 lightdm"
|
groupdel lightdm
|
||||||
useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm"
|
groupadd -g 800 lightdm
|
||||||
}
|
useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm
|
||||||
|
[ -d /var/lib/lightdm ] && chown lightdm:lightdm /var/lib/lightdm
|
||||||
if ! getent group lightdm 1>/dev/null 2>/dev/null ; then
|
[ -d /var/lib/lightdm-data ] && chown lightdm:lightdm /var/lib/lightdm-data
|
||||||
grub_ekle
|
|
||||||
elif ! getent passwd lightdm 1>/dev/null 2>/dev/null ; then
|
|
||||||
grub_ekle
|
|
||||||
fi
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
# URL: https://launchpad.net/lightdm
|
# URL: https://launchpad.net/lightdm
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler: glib gobject-introspection intltool itstool libgcrypt xorg-libxi xorg-libx11 libxcb xorg-libxdmcp xorg-libxklavier pam polkit vala
|
# Gerekler: glib gobject-introspection intltool itstool libgcrypt xorg-libxi xorg-libx11 libxcb xorg-libxdmcp xorg-libxklavier pam polkit vala
|
||||||
# GRup: sistem
|
# Grup: sistem
|
||||||
|
|
||||||
isim=lightdm
|
isim=lightdm
|
||||||
surum=1.24.0
|
surum=1.26.0
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(https://launchpad.net/lightdm/1.24/1.24.0/+download/lightdm-1.24.0.tar.xz
|
kaynak=(https://github.com/CanonicalLtd/lightdm/releases/download/${surum}/lightdm-${surum}.tar.xz
|
||||||
Xsession)
|
Xsession)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
|
@ -41,26 +41,25 @@ derle() {
|
||||||
rm -rf $PKG/etc/apparmor.d
|
rm -rf $PKG/etc/apparmor.d
|
||||||
rm -rf $PKG/etc/init
|
rm -rf $PKG/etc/init
|
||||||
|
|
||||||
mv $PKG/etc/lightdm/lightdm.conf $PKG/etc/lightdm/lightdm.conf.new
|
#mv $PKG/etc/lightdm/lightdm.conf $PKG/etc/lightdm/lightdm.conf.new
|
||||||
mv $PKG/etc/lightdm/users.conf $PKG/etc/lightdm/users.conf.new
|
#mv $PKG/etc/lightdm/users.conf $PKG/etc/lightdm/users.conf.new
|
||||||
mv $PKG/etc/lightdm/keys.conf $PKG/etc/lightdm/keys.conf.new
|
#mv $PKG/etc/lightdm/keys.conf $PKG/etc/lightdm/keys.conf.new
|
||||||
|
|
||||||
mv $PKG/etc/pam.d/lightdm $PKG/etc/pam.d/lightdm.new
|
#mv $PKG/etc/pam.d/lightdm $PKG/etc/pam.d/lightdm.new
|
||||||
mv $PKG/etc/pam.d/lightdm-autologin $PKG/etc/pam.d/lightdm-autologin.new
|
#mv $PKG/etc/pam.d/lightdm-autologin $PKG/etc/pam.d/lightdm-autologin.new
|
||||||
mv $PKG/etc/pam.d/lightdm-greeter $PKG/etc/pam.d/lightdm-greeter.new
|
#mv $PKG/etc/pam.d/lightdm-greeter $PKG/etc/pam.d/lightdm-greeter.new
|
||||||
|
|
||||||
# Remove systemd entries from pam files
|
# Remove systemd entries from pam files
|
||||||
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm.new
|
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm
|
||||||
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-autologin.new
|
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-autologin
|
||||||
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-greeter.new
|
sed -i 's@^.*pam_systemd.so.*$@@' $PKG/etc/pam.d/lightdm-greeter
|
||||||
|
|
||||||
# Fix session-wrapper in config
|
# Fix session-wrapper in config
|
||||||
sed -i 's@^.*session-wrapper.*$@session-wrapper=/etc/lightdm/Xsession@' $PKG/etc/lightdm/lightdm.conf.new
|
sed -i 's@^.*session-wrapper.*$@session-wrapper=/etc/lightdm/Xsession@' $PKG/etc/lightdm/lightdm.conf
|
||||||
|
|
||||||
mkdir -p $PKG/var/lib/lightdm
|
mkdir -p $PKG/var/lib/lightdm
|
||||||
chown lightdm:lightdm $PKG/var/lib/lightdm
|
|
||||||
mkdir -p $PKG/var/lib/lightdm-data
|
mkdir -p $PKG/var/lib/lightdm-data
|
||||||
chown lightdm:lightdm $PKG/var/lib/lightdm-data
|
|
||||||
|
|
||||||
# servis kurulması
|
# servis kurulması
|
||||||
cd /sources/milis.git/ayarlar/servisler
|
cd /sources/milis.git/ayarlar/servisler
|
||||||
|
|
Loading…
Reference in New Issue