Skip to contentSkip to conversation

systemd: avoid using system-auth

PATCH New Chen Qi 1 participant 2 messages Nov 5, 2014

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover systemd: avoid using system-auth

The following changes since commit d7a277b35bcc67050046c76fb70412101679a545:

docbook-xsl-stylesheets: add perl to RDEPENDS (2014-11-04 10:20:34 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/system-user
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/system-user

Chen Qi (1):
systemd: avoid using system-auth

 ...0001-systemd-user-avoid-using-system-auth.patch | 27 ++++++++++++++++++++++
 meta/recipes-core/systemd/systemd_216.bb           |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-core/systemd/systemd/0001-systemd-user-avoid-using-system-auth.patch
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 systemd: avoid using system-auth

Patch systemd-user pam configuartion file to avoid using system-auth file. Instead, we use common-* files.

---
 ...0001-systemd-user-avoid-using-system-auth.patch | 27 ++++++++++++++++++++++
 meta/recipes-core/systemd/systemd_216.bb           |  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 meta/recipes-core/systemd/systemd/0001-systemd-user-avoid-using-system-auth.patch
meta/recipes-core/systemd/systemd/0001-systemd-user-avoid-using-system-auth.patch new file +27 -0
new file mode 100644
index 0000000..97701f7
@@ -0,0 +1,27 @@
+Upstream-Status: Inappropriate [oe specific]
+
+Subject: systemd-user: avoid using system-auth
+
+In OE, we don't provide system-auth, instead, we use common-* files.
+So modify systemd-user file to use common-* files.
+
+Signed-off-by: Chen Qi <[email protected]>
+---
+ src/login/systemd-user | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/login/systemd-user b/src/login/systemd-user
+index 8112d74..99635af 100644
+--- a/src/login/systemd-user
++++ b/src/login/systemd-user
+@@ -2,5 +2,5 @@
+ #
+ # Used by systemd --user instances.
+ 
+-account  include system-auth
+-session  include system-auth
++account  include common-account
++session  include common-session
+-- 
+1.9.1
+
meta/recipes-core/systemd/systemd_216.bb +1 -0
index 27a5d92..ac35ba6 100644
@@ -33,6 +33,7 @@ SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol=
            file://0001-add-support-for-executing-scripts-under-etc-rcS.d.patch \
            file://0001-missing.h-add-fake-__NR_memfd_create-for-MIPS.patch \
            file://0001-Make-root-s-home-directory-configurable.patch \
+           file://0001-systemd-user-avoid-using-system-auth.patch \
            file://touchscreen.rules \
            file://00-create-volatile.conf \
            file://init \
Signature · 1 line
1.9.1