aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2014-10-15 17:43:10 +0300
committerHolger Behrens <holger.behrens@windriver.com>2014-10-17 17:29:15 +0200
commitf8578f281dd7dad35fa1facedb5c48872d535fd8 (patch)
tree9e281011a3a3508dc14753b6c5c35e5391f121d7
parent288054f2a36ada346105df3626b81e364a6a384d (diff)
downloadmeta-ivi-f8578f281dd7dad35fa1facedb5c48872d535fd8.tar.gz
meta-ivi-f8578f281dd7dad35fa1facedb5c48872d535fd8.tar.bz2
meta-ivi-f8578f281dd7dad35fa1facedb5c48872d535fd8.zip
systemd: Change system-auth to common-* in systemd-user
For systemd --user, we use the debian style common-* in systemd-user instead of the fedora style system-auth Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
-rw-r--r--meta-ivi-demo/recipes-core/systemd/systemd/systemd_common_auth_instead_of_system_auth.patch17
-rw-r--r--meta-ivi-demo/recipes-core/systemd/systemd_%.bbappend3
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-ivi-demo/recipes-core/systemd/systemd/systemd_common_auth_instead_of_system_auth.patch b/meta-ivi-demo/recipes-core/systemd/systemd/systemd_common_auth_instead_of_system_auth.patch
new file mode 100644
index 0000000..7914888
--- /dev/null
+++ b/meta-ivi-demo/recipes-core/systemd/systemd/systemd_common_auth_instead_of_system_auth.patch
@@ -0,0 +1,17 @@
+Index: git/src/login/systemd-user
+===================================================================
+--- git.orig/src/login/systemd-user 2014-10-12 13:12:04.824996066 +0300
++++ git/src/login/systemd-user 2014-10-15 15:08:29.853213268 +0300
+@@ -2,7 +2,10 @@
+
+ # Used by systemd when launching systemd user instances.
+
+-account include system-auth
+-session include system-auth
++#account include system-auth
++account include common-account
++#session include system-auth
++session include common-session
++session optional pam_systemd.so
+ auth required pam_deny.so
+ password required pam_deny.so
diff --git a/meta-ivi-demo/recipes-core/systemd/systemd_%.bbappend b/meta-ivi-demo/recipes-core/systemd/systemd_%.bbappend
new file mode 100644
index 0000000..4add030
--- /dev/null
+++ b/meta-ivi-demo/recipes-core/systemd/systemd_%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = "file://systemd_common_auth_instead_of_system_auth.patch"