Move sshd.socket unit file link to basic.target.wants
authorWilliam Douglas <william.douglas@intel.com>
Mon, 9 Jul 2012 21:11:10 +0000 (14:11 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Mon, 9 Jul 2012 21:16:17 +0000 (14:16 -0700)
Since we want sshd available in the early stages of booting we need
to have the socket created earlier than multi-user.taget.

Change-Id: I7d2f484c2751d94bdfdf90c45f59a3c1d3195f2a
Signed-off-by: William Douglas <william.douglas@intel.com>
packaging/openssh.changes
packaging/openssh.spec

index 88e439c..d92f5d6 100644 (file)
@@ -1,3 +1,6 @@
+* Mon Jul 09 2012 William Douglas <william.douglas@intel.com> 20120626.1@8996d03
+- Move sshd.socket unit file link to basic.target.wants
+
 * Mon Jul 02 2012 Anas Nashif <anas.nashif@intel.com> 20120626.1@6949823
 - add privillage seperation directory files
 
index a5007a6..964f8a6 100644 (file)
@@ -127,8 +127,8 @@ install -D -m 0644 %{SOURCE4} %{buildroot}/%{_libdir}/systemd/system/sshd.servic
 install -D -m 0644 %{SOURCE5} %{buildroot}/%{_libdir}/systemd/system/sshd@.service
 install -D -m 0644 %{SOURCE6} %{buildroot}/%{_libdir}/systemd/system/sshd.socket
 install -D -m 0644 %{SOURCE7} %{buildroot}/%{_libdir}/systemd/system/sshd-keygen.service
-mkdir -p %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants
-ln -s ../sshd.socket %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/sshd.socket
+mkdir -p %{buildroot}/%{_libdir}/systemd/system/basic.target.wants
+ln -s ../sshd.socket %{buildroot}/%{_libdir}/systemd/system/basic.target.wants/sshd.socket
 install -D -m 0755 %{SOURCE8} %{buildroot}%{_sbindir}/sshd-keygen
 mkdir -p %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants
 ln -s ../sshd-keygen.service %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/sshd-keygen.service
@@ -200,7 +200,7 @@ fi
 %{_libdir}/systemd/system/sshd.socket
 %{_libdir}/systemd/system/sshd@.service
 %{_libdir}/systemd/system/sshd-keygen.service
-%{_libdir}/systemd/system/multi-user.target.wants/sshd.socket
+%{_libdir}/systemd/system/basic.target.wants/sshd.socket
 %{_libdir}/systemd/system/multi-user.target.wants/sshd-keygen.service
 %{_sbindir}/sshd-keygen
 %{_sysconfdir}/pam.d/sshd