summaryrefslogtreecommitdiff
path: root/elements/gnome/gnome/gdm.bst
blob: e47aeebf12da1a5771c62aaa0e0d3e22013474e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
kind: autotools
depends:
- bluetooth.bst
- icu-common.bst
- input-common.bst
- data-indexing-management.bst
- vala-common.bst
- geolocation.bst
- gtk2.bst
- gtk3.bst
- libsoup-common.bst
- NetworkManager-common.bst
- multimedia-gstreamer.bst
- network-security.bst
- privileges-management.bst
- python3-gobject.bst
- wayland-generic.bst
- ruby.bst
- samba.bst
- secret-service.bst
- sound-server-pulseaudio.bst
- spell-checking.bst
- cups.bst
- gnome/gnome/accountsservice.bst
- gnome/gnome/libcanberra.bst
- gnome/gnome/dconf.bst
sources:
- kind: git
  url: upstream:gdm
  track: 3.18.0
  ref: 494ec8cee5727c37118994d3864c44f36aa454fc
config:
  configure-commands:
  - |
    # GDM includes a few stock PAM configurations, we choose the LFS flavor
    # because of it's simplicity over the others, also it does not require
    # selinux modules, however we neet to tweak the config a little after install.
    ./autogen.sh --prefix="%{prefix}" --sysconfdir=/etc --localstatedir=/var \
                 --with-selinux=no --with-plymouth=no \
                 --enable-gdm-xsession --with-x --with-default-pam-config=lfs
  install-commands:
    (>):
    - sed -i 's/system-account/system-auth/g'  "%{install-root}"/etc/pam.d/gdm*
    - sed -i 's/system-password/system-auth/g' "%{install-root}"/etc/pam.d/gdm*
    - sed -i 's/system-session/system-auth/g'  "%{install-root}"/etc/pam.d/gdm*
public:
  bst:
    integration-commands:
    - groupadd -g 21 gdm
    - useradd -rM -c "GDM Daemon Owner" -d /var/lib/gdm -u 21  -g gdm -s /bin/false
      gdm
    - systemctl enable gdm