[systemd upgrade] Add pamconsole-tmp.conf from RSA
authorMaciej Wereski <m.wereski@partner.samsung.com>
Tue, 6 Aug 2013 11:56:31 +0000 (13:56 +0200)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Thu, 21 Nov 2013 19:28:12 +0000 (11:28 -0800)
Change-Id: I4a80b0a472711d20d42d4b24f1a6d382d4df166a
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
packaging/pamconsole-tmp.conf [new file with mode: 0644]
packaging/systemd.spec

diff --git a/packaging/pamconsole-tmp.conf b/packaging/pamconsole-tmp.conf
new file mode 100644 (file)
index 0000000..e57aa60
--- /dev/null
@@ -0,0 +1 @@
+d /var/run/console 0755 root root -
index 3104941..72f54f9 100644 (file)
@@ -7,6 +7,7 @@ Summary:        A System and Service Manager
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Group:          Base/Startup
 Source0:        http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
+Source1:        pamconsole-tmp.conf
 Source1001:    systemd.manifest
 BuildRequires:  gperf
 BuildRequires:  hwdata
@@ -192,6 +193,8 @@ make %{?_smp_mflags}
 # Fix the dangling /var/lock -> /run/lock symlink
 install -Dm644 tmpfiles.d/legacy.conf %{buildroot}%{_prefix}/lib/tmpfiles.d/legacy.conf
 
+install -m644 %{SOURCE1} %{buildroot}%{_libdir}/tmpfiles.d/
+
 rm -rf %{buildroot}/%{_prefix}/lib/systemd/user/default.target
 
 
@@ -343,6 +346,7 @@ fi
 %{_prefix}/lib/tmpfiles.d/x11.conf
 %{_prefix}/lib/tmpfiles.d/tmp.conf
 %{_prefix}/lib/tmpfiles.d/legacy.conf
+%{_prefix}/lib/tmpfiles.d/pamconsole-tmp.conf
 %{_sbindir}/init
 %{_sbindir}/reboot
 %{_sbindir}/halt