diff --git a/meta-citadel/recipes-desktop/gdm/files/0001-replace-absolute-path-with-staging-path.patch b/meta-citadel/recipes-desktop/gdm/files/0001-replace-absolute-path-with-staging-path.patch new file mode 100644 index 0000000..f789709 --- /dev/null +++ b/meta-citadel/recipes-desktop/gdm/files/0001-replace-absolute-path-with-staging-path.patch @@ -0,0 +1,25 @@ +From 5a39825877c98495de2d9ae91544b25053fe5687 Mon Sep 17 00:00:00 2001 +From: Bruce Leidl +Date: Fri, 2 Feb 2018 19:17:41 -0500 +Subject: [PATCH] replace absolute path with staging path + +--- + data/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/Makefile.am b/data/Makefile.am +index c10c915..3a94592 100644 +--- a/data/Makefile.am ++++ b/data/Makefile.am +@@ -298,7 +298,7 @@ endif + fi + + system=`uname`; \ +- if test -f /usr/include/security/pam_appl.h; then \ ++ if test -f $(STAGING_INCDIR)/security/pam_appl.h; then \ + if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ + $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ + chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ +-- +2.15.1 + diff --git a/meta-citadel/recipes-desktop/gdm/gdm.inc b/meta-citadel/recipes-desktop/gdm/gdm.inc index 7491005..244f877 100644 --- a/meta-citadel/recipes-desktop/gdm/gdm.inc +++ b/meta-citadel/recipes-desktop/gdm/gdm.inc @@ -6,7 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" inherit gnomebase useradd gettext pkgconfig autotools gobject-introspection systemd -SRC_URI += "file://gdm.conf" +SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ + file://gdm.conf \ + file://0001-replace-absolute-path-with-staging-path.patch \ + " DEPENDS = "libxcb libxinerama libxau libxdmcp intltool-native glib-2.0 accountsservice libpam libcheck libcanberra gtk+3 libx11 libxi systemd libxext glib-2.0-native dconf-native plymouth"