diff options
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch | 48 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gdm/gdm_41.0.bb (renamed from meta-gnome/recipes-gnome/gdm/gdm_3.36.3.bb) | 21 |
2 files changed, 13 insertions, 56 deletions
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch b/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch deleted file mode 100644 index 6362d5ee6a..0000000000 --- a/meta-gnome/recipes-gnome/gdm/gdm/0001-Ensure-pam-file-installation.patch +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | From f7bba53adf8a26f900442a05bb98326747c392b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Tue, 3 Dec 2019 00:24:27 +0100 | ||
4 | Subject: [PATCH] Ensure pam-file installation | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | All the detection magic does not work for us | ||
10 | |||
11 | Upstream-Status: Inappropriate [OE-specific] | ||
12 | |||
13 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
14 | --- | ||
15 | data/Makefile.am | 12 +----------- | ||
16 | 1 file changed, 1 insertion(+), 11 deletions(-) | ||
17 | |||
18 | diff --git a/data/Makefile.am b/data/Makefile.am | ||
19 | index bda9160..dbc3ea3 100644 | ||
20 | --- a/data/Makefile.am | ||
21 | +++ b/data/Makefile.am | ||
22 | @@ -296,22 +296,12 @@ endif | ||
23 | chown root:root $(DESTDIR)$(logdir) || : ; \ | ||
24 | fi | ||
25 | |||
26 | - system=`uname`; \ | ||
27 | - if test -f /usr/include/security/pam_appl.h; then \ | ||
28 | - if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ | ||
29 | $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ | ||
30 | chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ | ||
31 | - fi; \ | ||
32 | - if test $$system = Linux; then \ | ||
33 | for pamfile in $(pam_files); do \ | ||
34 | bn=$$(basename $$pamfile .pam); \ | ||
35 | $(INSTALL_DATA) $(srcdir)/$$pamfile $(DESTDIR)$(PAM_PREFIX)/pam.d/$$bn; \ | ||
36 | - done; \ | ||
37 | - fi; \ | ||
38 | - if test $$system = SunOS; then \ | ||
39 | - echo "Please add PAM authentication for gdm, gdm-autologin and gdm-welcome in $(PAM_PREFIX)/pam.conf!"; \ | ||
40 | - fi; \ | ||
41 | - fi | ||
42 | + done; | ||
43 | |||
44 | if test '!' -d $(DESTDIR)$(xauthdir); then \ | ||
45 | $(mkinstalldirs) $(DESTDIR)$(xauthdir); \ | ||
46 | -- | ||
47 | 2.21.0 | ||
48 | |||
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_3.36.3.bb b/meta-gnome/recipes-gnome/gdm/gdm_41.0.bb index e4c590e482..681d02ba58 100644 --- a/meta-gnome/recipes-gnome/gdm/gdm_3.36.3.bb +++ b/meta-gnome/recipes-gnome/gdm/gdm_41.0.bb | |||
@@ -12,15 +12,20 @@ DEPENDS = " \ | |||
12 | 12 | ||
13 | REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit" | 13 | REQUIRED_DISTRO_FEATURES = "x11 systemd pam polkit" |
14 | 14 | ||
15 | inherit gnomebase gsettings gobject-introspection gettext systemd useradd upstream-version-is-even features_check | 15 | GNOMEBASEBUILDCLASS = "meson" |
16 | 16 | ||
17 | SRC_URI[archive.sha256sum] = "3bfbb620cbc0d1cbd70b4c4376cf4b705db4dc36a37124e5be386ccc25fa7e81" | 17 | inherit gnomebase gsettings gobject-introspection gettext systemd useradd itstool gnome-help features_check |
18 | SRC_URI += "file://0001-Ensure-pam-file-installation.patch" | ||
19 | 18 | ||
20 | EXTRA_OECONF = " \ | 19 | SRC_URI[archive.sha256sum] = "5738c4293a9f5a80d4a6e9e06f4d0df3e9f313ca7b61bfb4d8afaba983e200dc" |
21 | --without-plymouth \ | 20 | |
22 | --with-default-pam-config=openembedded \ | 21 | # gobject-introspection is mandatory and cannot be configured |
23 | --with-pam-mod-dir=${base_libdir}/security \ | 22 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
23 | UNKNOWN_CONFIGURE_WHITELIST:append = " introspection" | ||
24 | |||
25 | EXTRA_OEMESON = " \ | ||
26 | -Dplymouth=disabled \ | ||
27 | -Ddefault-pam-config=openembedded \ | ||
28 | -Dpam-mod-dir=${base_libdir}/security \ | ||
24 | " | 29 | " |
25 | 30 | ||
26 | do_install:append() { | 31 | do_install:append() { |
@@ -48,7 +53,7 @@ FILES:${PN} += " \ | |||
48 | ${datadir}/dconf \ | 53 | ${datadir}/dconf \ |
49 | ${base_libdir}/security/pam_gdm.so \ | 54 | ${base_libdir}/security/pam_gdm.so \ |
50 | ${localstatedir} \ | 55 | ${localstatedir} \ |
51 | ${systemd_unitdir} \ | 56 | ${systemd_unitdir} ${systemd_user_unitdir} \ |
52 | " | 57 | " |
53 | 58 | ||
54 | RDEPENDS:${PN} += "${PN}-base" | 59 | RDEPENDS:${PN} += "${PN}-base" |